From 89cd24a83320cc130962e0ae946a1b6628e13dfc Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 31 Jan 2019 09:20:13 +0100 Subject: fix gumby theme --- pelican-themes/gum/static/gumby.css | 2 +- pelican-themes/gum/static/style.css | 26 ++++++++++++++ pelican-themes/gum/templates/sidebar.html | 56 ++++++++++++------------------- 3 files changed, 48 insertions(+), 36 deletions(-) diff --git a/pelican-themes/gum/static/gumby.css b/pelican-themes/gum/static/gumby.css index 55b7b76..09eab09 100644 --- a/pelican-themes/gum/static/gumby.css +++ b/pelican-themes/gum/static/gumby.css @@ -5348,7 +5348,7 @@ form fieldset legend { font-weight: bold; line-height: 20px; text-align: center; - color: #fff; + color: #888888; } .badge a, .label a { color: #777; diff --git a/pelican-themes/gum/static/style.css b/pelican-themes/gum/static/style.css index 57442a9..8209020 100644 --- a/pelican-themes/gum/static/style.css +++ b/pelican-themes/gum/static/style.css @@ -206,3 +206,29 @@ a:focus { color: #34495E; } margin-left: auto; margin-right: auto; } + + + +/* tag-cloud */ +ul.tagcloud { + list-style: none; + padding: 0; +} + +ul.tagcloud li { + display: inline-block; +} + +li.tag-1 { + font-size: 150%; +} + +li.tag-2 { + font-size: 120%; +} + + +ul.tagcloud .list-group-item .badge { + background-color: grey; + color: white; +} diff --git a/pelican-themes/gum/templates/sidebar.html b/pelican-themes/gum/templates/sidebar.html index 25b22e4..288b1b2 100644 --- a/pelican-themes/gum/templates/sidebar.html +++ b/pelican-themes/gum/templates/sidebar.html @@ -1,42 +1,7 @@
-

Pages

-
    - {% for title, link in MENUITEMS %} -
  • {{ title }}
  • - {% endfor %} - {% if DISPLAY_PAGES_ON_MENU %} - {% for p in PAGES %} - {{ p.title }} - {% endfor %} - {% else %} - {% if DISPLAY_CATEGORIES_ON_MENU %} - {% for cat, null in categories %} - {{ cat }} - {% endfor %} - {% endif %} - {% endif %} -
-

Categories

-{% if categories %} -
    - {% for cat, null in categories %} -
  • {{ cat }}
  • - {% endfor %} -
-{% endif %} - - -

Tags

-{% if tags %} - -{% endif %} {% if SOCIAL %} @@ -50,4 +15,25 @@ {% endif %} +

Links

+ +
    +{% for title, link in LINKS %} +
  • {{ title }}
  • +{% endfor %} +
+

Tags

+ +
-- cgit v1.2.3