ソースを参照

If user sets a hyperlink modified metadata, make its style consistent with the rest of the theme

Talha Mansoor 11 年 前
コミット
2f9a67811b
共有2 個のファイルを変更した12 個の追加2 個の削除を含む
  1. 11 1
      static/css/style.css
  2. 1 1
      templates/article.html

+ 11 - 1
static/css/style.css

@@ -366,5 +366,15 @@ img {
 }
 }
 
 
 .table-of-content .toc {
 .table-of-content .toc {
-font-size: 0.7em;
+    font-size: 0.7em;
+}
+.last_updated a {
+     color: black;
+     border-bottom: 0.5px dashed darkblue;
+}
+.last_updated a:hover {
+     text-shadow: none;
+     text-decoration: none;
+     border-bottom: medium none;
+     color: rgb(0, 85, 128);
 }
 }

+ 1 - 1
templates/article.html

@@ -77,7 +77,7 @@
             {% endif %}
             {% endif %}
             {% if article.modified %} 
             {% if article.modified %} 
             <h4>Last Updated</h4>
             <h4>Last Updated</h4>
-            {{ article.modified }}
+            <div class="last_updated">{{ article.modified }}</div>
             {% endif %}
             {% endif %}
             {% if article.category %}
             {% if article.category %}
             <h4>Category</h4>
             <h4>Category</h4>