summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-28 15:01:11 +0200
committermakefu <github@syntax-fehler.de>2017-09-28 15:01:11 +0200
commit412f49bc8742b1995c16601173acb62414b509ee (patch)
treef24338dcce8dadcd990b73aa932a99d1a57812c7
parentdfd08db53909d39cd6bb1610a292cd967e53efe0 (diff)
add gum theme
-rw-r--r--pelican-themes/gum/static/gumby.css15
-rw-r--r--pelican-themes/gum/static/style.css7
-rw-r--r--pelican-themes/gum/templates/base.html4
-rwxr-xr-x[-rw-r--r--]pelican-themes/gum/templates/piwik.html0
4 files changed, 11 insertions, 15 deletions
diff --git a/pelican-themes/gum/static/gumby.css b/pelican-themes/gum/static/gumby.css
index 65e74ec..55b7b76 100644
--- a/pelican-themes/gum/static/gumby.css
+++ b/pelican-themes/gum/static/gumby.css
@@ -254,7 +254,8 @@ ul, ol {
}
ul {
- list-style: none outside;
+ list-style: disc inside;
+ margin-left: 30px;
}
ol {
@@ -262,18 +263,6 @@ ol {
margin-left: 30px;
}
-ul.square, ul.circle, ul.disc {
- margin-left: 25px;
-}
-ul.square {
- list-style: square outside;
-}
-ul.circle {
- list-style: circle outside;
-}
-ul.disc {
- list-style: disc outside;
-}
ul ul {
margin: 4px 0 5px 25px;
}
diff --git a/pelican-themes/gum/static/style.css b/pelican-themes/gum/static/style.css
index 32d2fec..57442a9 100644
--- a/pelican-themes/gum/static/style.css
+++ b/pelican-themes/gum/static/style.css
@@ -199,3 +199,10 @@ a:focus { color: #34495E; }
@media only screen and (max-width: 600px) {
#banner h1 a {font-size:22px!important; line-height:24px;}
}
+
+/* fix centered images */
+.align-center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
diff --git a/pelican-themes/gum/templates/base.html b/pelican-themes/gum/templates/base.html
index bc0fa93..af0f3d8 100644
--- a/pelican-themes/gum/templates/base.html
+++ b/pelican-themes/gum/templates/base.html
@@ -68,14 +68,14 @@
<div class="row">
<header id="banner" class="body">
- <h1><a href="{{ SITEURL }}">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
+ <h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
</header><!-- /#banner -->
<div id="navigation" class="navbar row">
<a href="#" gumby-trigger="#navigation &gt; ul" class="toggle"><i class="icon-menu"></i></a>
<ul class="columns">
- <li><a href="{{ SITEURL }}">Home</a></li>
+ <li><a href="{{ SITEURL }}/">Home</a></li>
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
diff --git a/pelican-themes/gum/templates/piwik.html b/pelican-themes/gum/templates/piwik.html
index ff459af..ff459af 100644..100755
--- a/pelican-themes/gum/templates/piwik.html
+++ b/pelican-themes/gum/templates/piwik.html