changeset 2860:233d63abbdaf

reorder modernized blog.css rules to match basic blog.css sequence no code changes, rules remain unnecessarily inconsistent
author RogerHaase <haaserd@gmail.com>
date Tue, 02 Dec 2014 14:21:32 -0700
parents 84a9a0cc1ab8
children 3c87acf1de18
files MoinMoin/themes/modernized/static/css/blog.css MoinMoin/themes/modernized/static/css/stylus/blog.styl
diffstat 2 files changed, 35 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/blog.css	Sun Nov 30 11:25:50 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/blog.css	Tue Dec 02 14:21:32 2014 -0700
@@ -1,17 +1,16 @@
-#moin-blog-header{margin:1em 0 -1em 0}
+#moin-blog-header{margin:1em 0 -1em 0;font-size:20px;padding-bottom:10px}
+#moin-blog-content{padding:0 2em 0 0;display:table-cell;width:80%}
 #moin-blog-body{display:table;width:100%}
-#moin-blog-content{padding:0 2em 0 0;display:table-cell;width:80%}
-#moin-blog-sidebar{display:table-cell;width:20%}
+#moin-blog-content h1 a{text-decoration:none;font-size:30px}
+.moin-blog-entry{border:2px solid #aed4fa;padding-left:10px;padding-right:10px;padding-bottom:10px;border-radius:10px;background-color:#eef1f6}
 .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}
 .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:","}
+.moin-blog-entry h1{border-bottom:none;margin-top:.1em}
+#moin-blog-sidebar{display:table-cell;width:20%}
 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-top: 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}
 .moin-noblogentry-message{padding-top:20px}
+.moin-blog-entry-bottominfo{font-size:.8em;color:#737373}
--- a/MoinMoin/themes/modernized/static/css/stylus/blog.styl	Sun Nov 30 11:25:50 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/blog.styl	Tue Dec 02 14:21:32 2014 -0700
@@ -5,19 +5,29 @@
 
 #moin-blog-header
     margin 1em 0 -1em 0
-
-#moin-blog-body
-    display table
-    width 100%
+    font-size 20px
+    padding-bottom 10px
 
 #moin-blog-content
     padding 0 2em 0 0
     display table-cell
     width 80%
 
-#moin-blog-sidebar
-    display table-cell
-    width 20%
+#moin-blog-body
+    display table
+    width 100%
+
+#moin-blog-content h1 a
+    text-decoration none
+    font-size 30px
+
+.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-icon
     font-size 1.6em
@@ -26,10 +36,6 @@
     font-size 0.8em
     color footer_color
 
-.moin-blog-entry-bottominfo
-    font-size 0.8em
-    color footer_color
-
 .moin-blog-entry-modify
     font-size 0.8em
     margin 0
@@ -44,30 +50,23 @@
         &:after
             content ","
 
-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
+// following rules are not in basic blog.css
 
 .moin-blog-entry h1
     border-bottom none
     margin-top 0.10em
 
-#moin-blog-header
-    margin 1em 0 -1em 0
-    font-size 20px
-    padding-bottom 10px
+#moin-blog-sidebar
+    display table-cell
+    width 20%
 
-#moin-blog-content h1 a
-    text-decoration none
-    font-size 30px
+ul.moin-blog-entry-tags li:last-child
+    &:after
+        content ""
 
 .moin-noblogentry-message
     padding-top 20px
+
+.moin-blog-entry-bottominfo
+    font-size 0.8em
+    color footer_color