From 08ba93e4416c6be85ea398c980fb77a81a8016ec Mon Sep 17 00:00:00 2001 From: Eric Carlson Date: Sat, 8 Apr 2017 07:52:48 -0400 Subject: Updated pelican-bootstrap3 to be compatible with the collapsible input cells feature of the liquid tags ipython notebook plugin (#467) --- pelican-bootstrap3/templates/base.html | 4 ++++ .../templates/includes/liquid_tags_nb_footer.html | 14 ++++++++++++++ .../templates/includes/liquid_tags_nb_header.html | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 pelican-bootstrap3/templates/includes/liquid_tags_nb_footer.html (limited to 'pelican-bootstrap3') diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index eecc53f..020300e 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -210,6 +210,10 @@ {% include 'includes/ga.html' %} {% include 'includes/piwik.html' %} +{% if 'liquid_tags.notebook' in PLUGINS %} + {% include 'includes/liquid_tags_nb_footer.html' %} +{% endif %} + {% block scripts %}{% endblock %} diff --git a/pelican-bootstrap3/templates/includes/liquid_tags_nb_footer.html b/pelican-bootstrap3/templates/includes/liquid_tags_nb_footer.html new file mode 100644 index 0000000..f5f8007 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/liquid_tags_nb_footer.html @@ -0,0 +1,14 @@ + diff --git a/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html b/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html index c9e9c59..5dc6d1c 100644 --- a/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html +++ b/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html @@ -133,6 +133,14 @@ div.text_cell_render { } img.anim_icon{padding:0; border:0; vertical-align:middle; -webkit-box-shadow:none; -box-shadow:none} + +div.collapseheader { + width=100%; + padding: 2px; + cursor: pointer; + font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; +} + -- cgit