Browse Source

Adds style rules for archives template

Talha Mansoor 11 years ago
parent
commit
54aa99e675
2 changed files with 21 additions and 1 deletions
  1. 20 0
      static/css/style.css
  2. 1 1
      templates/archives.html

+ 20 - 0
static/css/style.css

@@ -196,3 +196,23 @@ h2 a:hover {
 a {
     color:rgb(56, 117, 215);
 }
+
+/* archives */
+ul.list-all-articles {
+    list-style:none;
+    margin:0px;
+}
+
+ul.list-all-articles li {
+    border-bottom:1px dotted black;
+    padding:0.3em 0em;
+    font-size:1.1em;
+    font-family: 'Trebuchet MS',Trebuchet,'Lucida Sans Unicode','Lucida Grande','Lucida Sans',Arial,sans-serif;
+}
+
+ul.list-all-articles li time {
+    float:right;
+    color:#AAAAAA;
+    font-family:"PT Sans","Helvetica Neue",Arial,sans-serif;
+    font-size: 0.9em;
+}

+ 1 - 1
templates/archives.html

@@ -14,7 +14,7 @@ All Posts - {{ super() }}
     <div class="span8 offset2">
         <ul class="list-all-articles">
             {% for article in dates %}
-            <li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
+            <li><a href="/{{ article.url }}">{{ article.title }}</a>
             <time datetime="{{ article.date }}">{{ article.locale_date }}</time>
             </li>
             {% endfor %}