changeset 1567:9ea053399252

Modernized theme main-wrapper added
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 26 Jul 2012 13:16:57 +0530
parents 6074ac720389
children 61c4d69b1062
files MoinMoin/templates/layout.html MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 3 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/layout.html	Thu Jul 26 00:54:34 2012 +0530
+++ b/MoinMoin/templates/layout.html	Thu Jul 26 13:16:57 2012 +0530
@@ -12,8 +12,11 @@
 {% set credits = snippets.credits() %}
 
 
+
 {% block layout %}
 
+<div id="moin-main-wrapper">
+
 {{ before_header }}
 
 <div id="moin-header">
@@ -174,4 +177,7 @@
 
 {{ after_footer }}
 
+</div>
+
 {% endblock %}
+
--- a/MoinMoin/themes/modernized/static/css/common.css	Thu Jul 26 00:54:34 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Thu Jul 26 13:16:57 2012 +0530
@@ -398,6 +398,7 @@
 .moin-flash-warning{background-image:url("../img/smileys/alert.png");background-color:#f1f3dc}
 .moin-flash-error{background-image:url("../img/smileys/icon-error.png");background-color:#f1dadc}
 body{background-color:#f3f7fd}
+#moin-main-wrapper{width:76%;min-width:700px;margin-left:auto;margin-right:auto;margin-top:0}
 #moin-page{margin:0;padding:0;display:table;width:100%;table-layout:fixed}
 #moin-content{background:#fff;overflow:hidden;box-shadow:1px 1px 33px -11px inset;padding:8px 25px;display:table-cell}
 a:link{color:#47f;text-decoration:none}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Jul 26 00:54:34 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Jul 26 13:16:57 2012 +0530
@@ -972,6 +972,13 @@
 body
     background-color #F3F7FD
 
+#moin-main-wrapper
+    width 76%
+    min-width 700px
+    margin-left auto
+    margin-right auto
+    margin-top 0px
+
 #moin-page
     margin 0
     padding 0