From c68474f810d4257a38c5fe144f2d5edd6347aef8 Mon Sep 17 00:00:00 2001 From: cgeek Date: Sat, 8 Apr 2017 16:15:00 +0200 Subject: [PATCH] =?UTF-8?q?Meilleur=20affichage=20petits=20=C3=A9crans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/css/custom.css | 34 ++++++++++++++++++- .../pelican-bootstrap3/templates/base.html | 9 +---- .../templates/includes/sidebar.html | 10 ++++++ 3 files changed, 44 insertions(+), 9 deletions(-) diff --git a/content/css/custom.css b/content/css/custom.css index 85789aa..26547eb 100644 --- a/content/css/custom.css +++ b/content/css/custom.css @@ -7,6 +7,10 @@ body { margin-top: 10px; } +#tipue_search_input { + width: 100%; +} + .search-query { border-radius: 4px !important; } @@ -160,4 +164,32 @@ img.credits { .dashed { border: 1px dashed gray; -} \ No newline at end of file +} + +@media (max-width:992px) { + + .navbar-header a { + /*padding-right: 0 !important;*/ + } + + .navbar-header img { + margin-right: 0 !important; + } + + #siteName { + display: none; + } + + .navbar-collapse li { + /*max-width: 100px;*/ + } + + .navbar-collapse li a { + margin-left: 0; + margin-right: 0; + } + + .nav.navbar-nav { + width: 90%; + } +} diff --git a/pelican-themes/pelican-bootstrap3/templates/base.html b/pelican-themes/pelican-bootstrap3/templates/base.html index 803c9d6..1dda4b9 100644 --- a/pelican-themes/pelican-bootstrap3/templates/base.html +++ b/pelican-themes/pelican-bootstrap3/templates/base.html @@ -115,7 +115,7 @@ {% endif %} {% if SITELOGO %} {% endif %} - {% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %} + {% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %}