Browse Source

Makes article justified and have max width

Talha Mansoor 11 years ago
parent
commit
0bc7ba37ca
2 changed files with 6 additions and 1 deletions
  1. 5 0
      static/css/style.css
  2. 1 1
      templates/article.html

+ 5 - 0
static/css/style.css

@@ -23,3 +23,8 @@
     vertical-align: super;
     font-size: 0.8em;
 }
+
+.article-content {
+    text-align:justify;
+    max-width:35em;
+}

+ 1 - 1
templates/article.html

@@ -22,7 +22,7 @@
 <div class="row-fluid">
     <div class="span3" id="toc_sidebar">
     </div>
-    <div class="span7">
+    <div class="span7 article-content">
         {{ article.content }}
         <div class="row-fluid">
             <div class="span12">