changeset 1697:9c96d66ae73d

Foobar theme blog styling added
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 16 Aug 2012 21:01:08 +0530
parents 0538829f868e
children ed73f94cee2d
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 2 files changed, 44 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 16 20:52:40 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 16 21:01:08 2012 +0530
@@ -230,6 +230,15 @@
 #moin-create-table tbody tr th{text-align:center;background:#808080;margin:2px}
 #moin-create-table tbody tr td{text-align:center;background:#f4f4f4;}
 #moin-create-table tbody tr td a{color:#1e90ff}
+#moin-blog-header{margin:1em 0 -1em 0}
+#moin-blog-content{padding:0 2em 0 0;display:table-cell}
+#moin-blog-sidebar{width:15em;display:table-cell}
+.moin-blog-entry-info{font-size:.8em;color:#616161}
+.moin-blog-entry-bottominfo{font-size:.8em;color:#616161;padding:0 1em;border:1px solid #ccc}
+ul.moin-blog-entry-tags{list-style:none;display:inline;margin:0;}
+ul.moin-blog-entry-tags li{display:inline;}
+ul.moin-blog-entry-tags li:after{content:","}
+ul.moin-blog-entry-tags li:last-child:after{content:""}
 .moin-clr{clear:both}
 .moin-index-message{width:50%;margin:1em auto;text-align:center;display:none;}
 .moin-index-message span{padding:4px;background-color:#007cef;color:#fff;border:1px solid #ccc;border-radius:5px}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 16 20:52:40 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 16 21:01:08 2012 +0530
@@ -315,6 +315,41 @@
                 a
                     color link_color
 
+// blog page
+#moin-blog-header
+    margin 1em 0 -1em 0
+
+#moin-blog-content
+    padding 0 2em 0 0
+    display table-cell
+
+#moin-blog-sidebar
+    width 15em
+    display table-cell
+
+.moin-blog-entry-info
+    font-size 0.8em
+    color footer_color
+
+.moin-blog-entry-bottominfo
+    font-size 0.8em
+    color footer_color
+    padding 0em 1em
+    border border_style
+
+ul.moin-blog-entry-tags
+    list-style none
+    display inline
+    margin 0
+    li
+        display inline
+        &:after
+            content ","
+
+ul.moin-blog-entry-tags li:last-child
+    &:after
+        content ""
+                    
 // index page
 .moin-clr
     clear both