From bbea906ac46b7ee33ce27e021a54dfc64093775a Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 3 Oct 2015 19:27:43 +0300 Subject: [PATCH] Adapted theme to my taste. --- static/css/screen.css | 13 ++++++++----- templates/article_stub.html | 22 ---------------------- templates/base.html | 6 ++++-- 3 files changed, 12 insertions(+), 29 deletions(-) diff --git a/static/css/screen.css b/static/css/screen.css index 09676ac..a17a4da 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -56,9 +56,11 @@ body { color: #444; } #header, #wrapper, #controls ul { - width: 750px; + /*width: 1000px; margin: 0 0 0 185px; - padding: 0 20px; + padding: 0 20px;*/ + width: 75%; + margin: auto; } a { @@ -99,13 +101,14 @@ blockquote { color: #DDD; float: left; clear: both; - width: 160px; + /*width: 160px;*/ + width: 100px; font-size: 1.5em; line-height: 1em; - margin: 0 20px 1em 0; + margin: 0 0 1em 0; } .post { - margin: 0 0 4.5em 180px; + margin: 0 0 4.5em 100px; } .post.archives { margin-bottom: 1.5em; diff --git a/templates/article_stub.html b/templates/article_stub.html index 518c57b..dd11d9c 100644 --- a/templates/article_stub.html +++ b/templates/article_stub.html @@ -12,27 +12,5 @@ {{ article.content }} - <div class="clear"></div> - <div class="info"> - {% if article.pinned -%} - <a href="{{ SITEURL }}/{{ article.url }}">posted {{ article.date.strftime("%B %d, %I:%M %Y") }}</a> - {%- else -%} - <a href="{{ SITEURL }}/{{ article.url }}">posted at {{ article.date.strftime("%I:%M %Y") }}</a> - {%- if article.category.name != "Uncategorized" -%} - · <a href="{{ SITEURL }}/{{ article.category.url }}" rel="tag">{{ article.category }}</a> - {%- endif %} - {% if article.tags %} - - <div class="tags">{% for t in article.tags %} - - <a href="{{ SITEURL }}/{{ t.url }}" {%- if tag and tag.name == t.name %} class="selected"{% endif -%}>{{ t }}</a> - {%- endfor %} - - </div> - {%- endif %} - {% endif %} - - </div> - <div class="clear"></div> </div> diff --git a/templates/base.html b/templates/base.html index 3f7726f..4e60f08 100644 --- a/templates/base.html +++ b/templates/base.html @@ -53,9 +53,11 @@ <div class="clear"></div> <div id="footer"> <p> - Mockingbird theme by <a href="http://nevanscott.com/">Nevan Scott</a> - · + <!--Mockingbird theme by <a href="http://nevanscott.com/">Nevan Scott</a> + ·--> <a class="atom" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">Feed</a> + · + <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br /> </div> </div> <div class="clear"></div> -- GitLab