Bladeren bron

Improves typography of list of articles for each tag

Talha Mansoor 11 jaren geleden
bovenliggende
commit
da4027333e
2 gewijzigde bestanden met toevoegingen van 7 en 2 verwijderingen
  1. 6 1
      static/css/style.css
  2. 1 1
      templates/tags.html

+ 6 - 1
static/css/style.css

@@ -53,7 +53,12 @@ td.code {
 }
 
 h2.tag-title {
-    font-family:'Trebuchet MS',Trebuchet,'Lucida Sans Unicode','Lucida Grande','Lucida Sans',Arial,sans-serif
+    font-family:'Trebuchet MS',Trebuchet,'Lucida Sans Unicode','Lucida Grande','Lucida Sans',Arial,sans-serif;
+}
+
+ul.articles-in-tag li {
+    font-family:'Trebuchet MS',Trebuchet,'Lucida Sans Unicode','Lucida Grande','Lucida Sans',Arial,sans-serif;
+    font-size:1.1em;
 }
 
 /* Article */

+ 1 - 1
templates/tags.html

@@ -73,7 +73,7 @@ All Tags - {{ super() }}
     <div class="span8 offset2">
         {% for tag, articles in tags %}
         <h2 id="{{ tag|replace(' ', '-')|e }}-ref" class="tag-title">{{ tag }}</h2>
-        <ul>
+        <ul class="articles-in-tag">
             {% for article in articles %} 
             <li><a href="{{ article.url }}">{{ article.title }}</a></li>
             {% endfor %}