changeset 2694:c66d1f0a05ba

Improved UI of Blog items in modernized theme
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Thu, 07 Aug 2014 18:43:20 +0530
parents 759817e9bc28
children 3bc9fd6d054e
files MoinMoin/themes/modernized/static/css/blog.css MoinMoin/themes/modernized/static/css/stylus/blog.styl
diffstat 2 files changed, 26 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/blog.css	Thu Aug 07 13:19:16 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/blog.css	Thu Aug 07 18:43:20 2014 +0530
@@ -4,9 +4,13 @@
 #moin-blog-sidebar{display:table-cell;width:20%}
 .moin-blog-icon{font-size:1.6em}
 .moin-blog-entry-info{font-size:.8em;color:#737373}
-.moin-blog-entry-bottominfo{font-size:.8em;color:#737373;padding:0 1em;border:1px solid #4e7da9}
+.moin-blog-entry-bottominfo{font-size:.8em;color:#737373;padding:0 1em;}
 .moin-blog-entry-modify{font-size:.8em;margin:0;float:right}
 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-blog-entry{border:2px solid #dfdfdf;padding-left:10px;padding-right:10px;padding-bottom:10px;border-radius:10px;background-color:#eef1f6}
+.moin-blog-entry h1{border-bottom:none;margin: 0.10em}
+#moin-blog-header{margin:1em 0 -1em 0;font-size:20px;padding-bottom:10px}
+#moin-blog-content h1 a{text-decoration:none;font-size: 30px}
--- a/MoinMoin/themes/modernized/static/css/stylus/blog.styl	Thu Aug 07 13:19:16 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/blog.styl	Thu Aug 07 18:43:20 2014 +0530
@@ -30,7 +30,6 @@
     font-size 0.8em
     color footer_color
     padding 0em 1em
-    border border_style
 
 .moin-blog-entry-modify
     font-size 0.8em
@@ -49,3 +48,24 @@
 ul.moin-blog-entry-tags li:last-child
     &:after
         content ""
+
+.moin-blog-entry
+    border 2px solid base_color
+    padding-left 10px
+    padding-right 10px
+    padding-bottom 10px
+    border-radius 10px
+    background-color table_bg_color
+
+.moin-blog-entry h1
+    border-bottom none
+    margin 0.10em
+
+#moin-blog-header
+    margin 1em 0 -1em 0
+    font-size 20px
+    padding-bottom 10px
+
+#moin-blog-content h1 a
+    text-decoration none
+    font-size 30px