소스 검색

Changes font family of tags heading

Talha Mansoor 11 년 전
부모
커밋
aaabf31fbc
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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>