Explorar el Código

Changes font family of tags heading

Talha Mansoor hace 11 años
padre
commit
aaabf31fbc
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 4 0
      static/css/style.css
  2. 1 1
      templates/tags.html

+ 4 - 0
static/css/style.css

@@ -52,6 +52,10 @@ td.code {
     float:none;
 }
 
+h2.tag-title {
+    font-family:'Trebuchet MS',Trebuchet,'Lucida Sans Unicode','Lucida Grande','Lucida Sans',Arial,sans-serif
+}
+
 /* Article */
 .article-content {
     text-align:justify;

+ 1 - 1
templates/tags.html

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