aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Haas <jasonrhaas@gmail.com>2015-09-06 16:55:13 -0400
committerJason Haas <jasonrhaas@gmail.com>2015-09-06 16:55:13 -0400
commit5090df09e8f43b2cdce98fa17bb1636fccbd4f89 (patch)
tree81e7d04bfe89da48322c4ee1ed7561dd8cff8e43
parent9af3ed6c771fdc77cd0b861bce04b8d88ae25bc7 (diff)
downloadpelican-themes-5090df09e8f43b2cdce98fa17bb1636fccbd4f89.tar.gz
css and template changes to resolve issue #152
- Change the default ul type to be disc, add margin - Create a new ul class "blank" to use for the navbar - Changes are designed to stay in lockstep with how the http://www.gumbyframework.com/docs/#!/introduction website looks
-rw-r--r--gum/static/style.css14
-rw-r--r--gum/templates/sidebar.html6
2 files changed, 17 insertions, 3 deletions
diff --git a/gum/static/style.css b/gum/static/style.css
index 32d2fec..b618422 100644
--- a/gum/static/style.css
+++ b/gum/static/style.css
@@ -188,6 +188,20 @@ a:focus { color: #34495E; }
.label:hover,
.label:focus {color:#eee; }
+ul, ol {
+ margin-bottom: 0.273em;
+ margin-left: 1.5em;
+}
+
+ul {
+ list-style: disc outside;
+}
+
+ul.blank {
+ list-style: none outside;
+ margin-left: 0;
+}
+
/* Footer
--------------------------------------------------------- */
.bg { background:#eee; margin-top:35px; padding-top:25px; border-top:5px solid #3498DB; }
diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html
index 25b22e4..d0df6b0 100644
--- a/gum/templates/sidebar.html
+++ b/gum/templates/sidebar.html
@@ -21,7 +21,7 @@
<h4>Categories</h4>
{% if categories %}
-<ul>
+<ul class="blank">
{% for cat, null in categories %}
<li><a href="{{ SITEURL }}/{{ cat.url|e }}">{{ cat }}</a></li>
{% endfor %}
@@ -31,7 +31,7 @@
<h4>Tags</h4>
{% if tags %}
- <ul>
+ <ul class="blank">
{% for tag in tag_cloud %}
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0|e }}</a></li>
{% endfor %}
@@ -42,7 +42,7 @@
{% if SOCIAL %}
<nav class="widget">
<h4>Social</h4>
- <ul>
+ <ul class="blank">
{% for name, url in SOCIAL %}
<li><a href="{{ url|e }}">{{ name }}</a></li>
{% endfor %}