changeset 1566:6074ac720389

Restored the original look of modernized theme
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 26 Jul 2012 00:54:34 +0530
parents 3365752f496a
children 9ea053399252
files MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 2 files changed, 346 insertions(+), 347 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/common.css	Tue Jul 24 05:07:30 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Thu Jul 26 00:54:34 2012 +0530
@@ -397,7 +397,7 @@
 .moin-flash-info{background-image:url("../img/smileys/icon-info.png")}
 .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}
-@media screenprojection{body{background-color:#f3f7fd}
+body{background-color:#f3f7fd}
 #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}
@@ -468,7 +468,7 @@
 a.moin-permalink{color:#95a09f}
 a:hover.moin-permalink{color:#c1cfcd}
 h1:hover .moin-permalink,h2:hover .moin-permalink,h3:hover .moin-permalink,h4:hover .moin-permalink,h5:hover .moin-permalink,h6:hover .moin-permalink{display:inline;text-decoration:none}
-}@media print{html{font-family:serif;font-size:12pt;width:100%}
+@media print{html{font-family:serif;font-size:12pt;width:100%}
 body,#moin-page,#moin-page,#moin-content-data{margin:0;padding:0}
 a,a:visited,a.moin-nonexistent{color:#000;text-decoration:none}
 a.moin-interwiki:before{content:attr(title) ":"}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Tue Jul 24 05:07:30 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Jul 26 00:54:34 2012 +0530
@@ -969,384 +969,383 @@
     background-image url(../img/smileys/icon-error.png)
     background-color #f1dadc
 
-@media screenprojection
-    body
-        background-color #F3F7FD
-
-    #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:visited
-        text-decoration none
-        color #04A
-
-    a:visited:hover
-        text-decoration none
-        color red
-
-    a:hover,
-a:active
-        text-decoration underline
-        color green
-
-    a.moin-nonexistent:link
-        color #666
-
-    a.moin-nonexistent:hover
-        color black
-        text-decoration underline
-
-    #moin-header
-        margin 0px
-        padding 0px
-        background url(../img/white-clouds.jpg)
-        line-height 1.12em
-
-    #moin-searchform
-        margin 8px .5em
-        padding 0
-        font-size 0.82em
-        float right
-        text-align right
-
-    #moin-searchform input
-        font-size 100%
-        vertical-align middle
-        background-color #F3F7FD
-        border 1px solid #A4B9DF
-
-    #moin-searchform #moin-search-submit
-        text-indent -9000%
-        margin-left -24px
-        width 20px
-        height 16px
-        background url(../img/moin-search.png) center center no-repeat
-        background-size 16px 16px
-        border none
-        overflow hidden
-        vertical-align middle
-        cursor pointer
-
-    #moin-searchform #moin-search-query
-        padding-right 20px
-
-    #moin-searchform div
-        margin 0
-
-    #moin-long-searchform
-        padding 0
-        font-size 0.82em
-        text-align left
-
-    #moin-long-searchform div
-        margin 0
-
-    #moin-search-query
-        width 50%
-
-    #moin-logo
-        float left
-        margin 5px 10px
-        padding 0
-        font-size 1.4em
-        line-height 1em
-        font-weight bold
-
-    #moin-logo img
-        vertical-align middle
-
-    #moin-logo a
-        color black
-        text-decoration none
-
-    #moin-username
-        display block
-        margin 0px 12px 4px 12px
-        padding 0
-        font-size 0.82em
-
-    #moin-username input:hover
-        color red
-
-    #moin-locationline
-        padding 0
-        font-size 100%
-        font-weight normal
-        margin 0.25em 12px 5px 12px
-
-    #moin-pagelocation
-        font-size 1.5em
-        letter-spacing 0.05em
-
-    #moin-pagetrail
-        margin 0 0.88em 0.25em 12px
-        padding 0
-        font-size 0.88em
-
-    #moin-navibar
-        clear both
-        display block
-        margin 0
-        padding 0 10px
-        font-size 0.82em
+body
+    background-color #F3F7FD
 
-    #moin-navibar li
-        float left
-        display inline
-        margin 0 2px
-        padding 2px 5px
-        border 1px solid #A4B9DF
-        border-bottom none
-        white-space nowrap
-        font-size .88em
-
-    #moin-navibar li.wikilink
-        background #F3F7FD
-
-    #moin-navibar li.userlink
-        background #C4D9FF
-
-    #moin-navibar a,
-#moin-navibar a:visited
-        color black
-        text-decoration none
-
-    #moin-navibar li:hover
-        background #A4B9DF
-
-    #moin-pageline
-        clear both
-        margin 0
-        padding 0
-        width 100%
-        height 4px
-        border-bottom 1px solid #4D7DA9
-        border-top 1px solid #4D7DA9
-        background #81BBF2
-
-    .moin-itemviews
-        clear both
-        display block
-        margin 0
-        padding 2px 8px
-        background #C4D9FF
-        font-size 0.8em
-        border-bottom 1px solid #4D7DA9
-        border-top 1px solid #4D7DA9
-        margin-top -1px
-
-    .moin-itemviews li
-        display inline-block
-        padding 0
-        margin 4px 6px
-        line-height 1em
-
-    .moin-itemviews a,
-.moin-itemviews a:visited
-        color #0044B3
-
-    .moin-itemviews a:hover
-        text-decoration underline
-
-    .moin-itemviews form,
-.moin-itemviews form div
-        display inline
-        margin 0
-
-    .moin-itemviews select
-        font-size 100%
-        vertical-align middle
+#moin-page
+    margin 0
+    padding 0
+    display table
+    width 100%
+    table-layout fixed
 
-    .moin-subitem-navigation
-        padding 2px 4px
-        background #C4D9FF
-        margin 0
-        vertical-align top
-        font-size 0.8em
-        width 14em
-        overflow hidden
-        display table-cell
-        word-wrap break-word
-
-    .moin-subitem-navigation .list-header
-        margin 2px 0
-        padding 0
-        font-size 1.1em
-
-    .moin-subitem-navigation .sep
-        font-size 1.2em
-        margin-left 0px
-
-    .moin-subitem-navigation ul
-        display block
-        margin 0
-        padding 0 4px
-
-    .moin-subitem-navigation li
-        padding 0.5em 2px
-        line-height 1em
-        list-style none
-
-    .moin-subitem-navigation li:hover
-        background #4D7DA9
-
-    .moin-subitem-navigation a
-        color #0044B3
-
-    .moin-subitem-navigation a:hover
-        text-decoration underline
+#moin-content
+    background #FFF
+    overflow hidden
+    box-shadow 1px 1px 33px -11px inset
+    padding 8px 25px
+    display table-cell
 
-    .moin-subitem-navigation li ul
-        border-left 1px dotted gray
-        display none
+a:link
+    color #47F
+    text-decoration none
 
-    .moin-subitem-navigation .expander
-        background url(../img/moin-expand.png) no-repeat center center
-        cursor pointer
-        height 16px
-        overflow hidden
-        vertical-align middle
-        width 16px
-        border hidden
-        text-indent -9000%
+a:visited
+    text-decoration none
+    color #04A
 
-    .link-action,
+a:visited:hover
+    text-decoration none
+    color red
+
+a:hover,
+a:active
+    text-decoration underline
+    color green
+
+a.moin-nonexistent:link
+    color #666
+
+a.moin-nonexistent:hover
+    color black
+    text-decoration underline
+
+#moin-header
+    margin 0px
+    padding 0px
+    background url(../img/white-clouds.jpg)
+    line-height 1.12em
+
+#moin-searchform
+    margin 8px .5em
+    padding 0
+    font-size 0.82em
+    float right
+    text-align right
+
+#moin-searchform input
+    font-size 100%
+    vertical-align middle
+    background-color #F3F7FD
+    border 1px solid #A4B9DF
+
+#moin-searchform #moin-search-submit
+    text-indent -9000%
+    margin-left -24px
+    width 20px
+    height 16px
+    background url(../img/moin-search.png) center center no-repeat
+    background-size 16px 16px
+    border none
+    overflow hidden
+    vertical-align middle
+    cursor pointer
+
+#moin-searchform #moin-search-query
+    padding-right 20px
+
+#moin-searchform div
+    margin 0
+
+#moin-long-searchform
+    padding 0
+    font-size 0.82em
+    text-align left
+
+#moin-long-searchform div
+    margin 0
+
+#moin-search-query
+    width 50%
+
+#moin-logo
+    float left
+    margin 5px 10px
+    padding 0
+    font-size 1.4em
+    line-height 1em
+    font-weight bold
+
+#moin-logo img
+    vertical-align middle
+
+#moin-logo a
+    color black
+    text-decoration none
+
+#moin-username
+    display block
+    margin 0px 12px 4px 12px
+    padding 0
+    font-size 0.82em
+
+#moin-username input:hover
+    color red
+
+#moin-locationline
+    padding 0
+    font-size 100%
+    font-weight normal
+    margin 0.25em 12px 5px 12px
+
+#moin-pagelocation
+    font-size 1.5em
+    letter-spacing 0.05em
+
+#moin-pagetrail
+    margin 0 0.88em 0.25em 12px
+    padding 0
+    font-size 0.88em
+
+#moin-navibar
+    clear both
+    display block
+    margin 0
+    padding 0 10px
+    font-size 0.82em
+
+#moin-navibar li
+    float left
+    display inline
+    margin 0 2px
+    padding 2px 5px
+    border 1px solid #A4B9DF
+    border-bottom none
+    white-space nowrap
+    font-size .88em
+
+#moin-navibar li.wikilink
+    background #F3F7FD
+
+#moin-navibar li.userlink
+    background #C4D9FF
+
+#moin-navibar a,
+#moin-navibar a:visited
+    color black
+    text-decoration none
+
+#moin-navibar li:hover
+    background #A4B9DF
+
+#moin-pageline
+    clear both
+    margin 0
+    padding 0
+    width 100%
+    height 4px
+    border-bottom 1px solid #4D7DA9
+    border-top 1px solid #4D7DA9
+    background #81BBF2
+
+.moin-itemviews
+    clear both
+    display block
+    margin 0
+    padding 2px 8px
+    background #C4D9FF
+    font-size 0.8em
+    border-bottom 1px solid #4D7DA9
+    border-top 1px solid #4D7DA9
+    margin-top -1px
+
+.moin-itemviews li
+    display inline-block
+    padding 0
+    margin 4px 6px
+    line-height 1em
+
+.moin-itemviews a,
+.moin-itemviews a:visited
+    color #0044B3
+
+.moin-itemviews a:hover
+    text-decoration underline
+
+.moin-itemviews form,
+.moin-itemviews form div
+    display inline
+    margin 0
+
+.moin-itemviews select
+    font-size 100%
+    vertical-align middle
+
+.moin-subitem-navigation
+    padding 2px 4px
+    background #C4D9FF
+    margin 0
+    vertical-align top
+    font-size 0.8em
+    width 14em
+    overflow hidden
+    display table-cell
+    word-wrap break-word
+
+.moin-subitem-navigation .list-header
+    margin 2px 0
+    padding 0
+    font-size 1.1em
+
+.moin-subitem-navigation .sep
+    font-size 1.2em
+    margin-left 0px
+
+.moin-subitem-navigation ul
+    display block
+    margin 0
+    padding 0 4px
+
+.moin-subitem-navigation li
+    padding 0.5em 2px
+    line-height 1em
+    list-style none
+
+.moin-subitem-navigation li:hover
+    background #4D7DA9
+
+.moin-subitem-navigation a
+    color #0044B3
+
+.moin-subitem-navigation a:hover
+    text-decoration underline
+
+.moin-subitem-navigation li ul
+    border-left 1px dotted gray
+    display none
+
+.moin-subitem-navigation .expander
+    background url(../img/moin-expand.png) no-repeat center center
+    cursor pointer
+    height 16px
+    overflow hidden
+    vertical-align middle
+    width 16px
+    border hidden
+    text-indent -9000%
+
+.link-action,
 .transclude-action
-        border hidden
-        text-indent -9000%
-        padding 0
-        margin 0 -2px
-        vertical-align middle
-        height 16px
-        width 16px
-        overflow hidden
-        cursor pointer
+    border hidden
+    text-indent -9000%
+    padding 0
+    margin 0 -2px
+    vertical-align middle
+    height 16px
+    width 16px
+    overflow hidden
+    cursor pointer
 
-    .moin-subitem-navigation .link-action
-        background url(../img/moin-link.png) no-repeat center center
-
-    .moin-subitem-navigation .transclude-action
-        background url(../img/moin-transclusion.png) no-repeat center center
+.moin-subitem-navigation .link-action
+    background url(../img/moin-link.png) no-repeat center center
 
-    #moin-footer
-        clear both
-        margin 0 0
+.moin-subitem-navigation .transclude-action
+    background url(../img/moin-transclusion.png) no-repeat center center
 
-    #moin-footer hr
-        margin 0
-        background-color #ccc
+#moin-footer
+    clear both
+    margin 0 0
 
-    #moin-pageinfo,
+#moin-footer hr
+    margin 0
+    background-color #ccc
+
+#moin-pageinfo,
 #moin-wikilicense,
 #moin-credits,
 #moin-version,
 #moin-timings
-        margin 10px 20px
-        text-align left
-        font-size 0.7em
-        color #6C7680
-
-    #moin-timings li
-        display inline-block
-        margin 0 20px 0 0
-
-    #moin-credits span
-        display inline-block
-        margin 0 5px
+    margin 10px 20px
+    text-align left
+    font-size 0.7em
+    color #6C7680
 
-    #moin-creditlogos
-        float right
-        list-style none
-        margin 0 10px
-
-    #moin-creditlogos li
-        display inline-block
-        margin 10px 0 10px 10px
+#moin-timings li
+    display inline-block
+    margin 0 20px 0 0
 
-    .moin-item-wrapper
-        position relative
-        display inline-block
+#moin-credits span
+    display inline-block
+    margin 0 5px
 
-    .moin-item-wrapper > a:hover
-        color blue
-        text-decoration none
+#moin-creditlogos
+    float right
+    list-style none
+    margin 0 10px
 
-    a.moin-item-overlay-ul,
+#moin-creditlogos li
+    display inline-block
+    margin 10px 0 10px 10px
+
+.moin-item-wrapper
+    position relative
+    display inline-block
+
+.moin-item-wrapper > a:hover
+    color blue
+    text-decoration none
+
+a.moin-item-overlay-ul,
 a.moin-item-overlay-lr
-        display none
-        position absolute
-        color transparent
-        background-color transparent
-        font-size 120%
-        font-weight bold
-        margin 0
-        opacity .5
-        filter alpha
-        padding 1px
-        border-color blue
-        border-style double
+    display none
+    position absolute
+    color transparent
+    background-color transparent
+    font-size 120%
+    font-weight bold
+    margin 0
+    opacity .5
+    filter alpha
+    padding 1px
+    border-color blue
+    border-style double
 
-    .moin-item-overlay-ul
-        top -4px
-        left -4px
-        border-width 3px 0 0 3px
+.moin-item-overlay-ul
+    top -4px
+    left -4px
+    border-width 3px 0 0 3px
 
-    .moin-item-overlay-lr
-        bottom -4px
-        right -4px
-        border-width 0 3px 3px 0
+.moin-item-overlay-lr
+    bottom -4px
+    right -4px
+    border-width 0 3px 3px 0
 
-    .moin-item-overlay-ul:hover,
+.moin-item-overlay-ul:hover,
 .moin-item-overlay-lr:hover
-        opacity .8
-        filter alpha
-        background-color #C4D9FF
-        color blue
-
-    div.moin-item-wrapper,
- div.moin-item-wrapper > div,
- div.moin-item-wrapper > div > p:first-child,
- div.moin-item-wrapper > div > p:last-child
-        margin 0px
+    opacity .8
+    filter alpha
+    background-color #C4D9FF
+    color blue
 
-    div.moin-item-wrapper > div >  p:first-child ~ p:last-child
-        margin-top 1em
+div.moin-item-wrapper,
+div.moin-item-wrapper > div,
+div.moin-item-wrapper > div > p:first-child,
+div.moin-item-wrapper > div > p:last-child
+    margin 0px
 
-    .moin-permalink
-        display none
-        cursor pointer
-        font-size 80%
-        margin-left 3px
+div.moin-item-wrapper > div >  p:first-child ~ p:last-child
+    margin-top 1em
 
-    a.moin-permalink
-        color #95A09F
+.moin-permalink
+    display none
+    cursor pointer
+    font-size 80%
+    margin-left 3px
 
-    a:hover.moin-permalink
-        color #C1CFCD
+a.moin-permalink
+    color #95A09F
 
-    h1:hover .moin-permalink,
+a:hover.moin-permalink
+    color #C1CFCD
+
+h1:hover .moin-permalink,
 h2:hover .moin-permalink,
 h3:hover .moin-permalink,
 h4:hover .moin-permalink,
 h5:hover .moin-permalink,
 h6:hover .moin-permalink
-        display inline
-        text-decoration none
+    display inline
+    text-decoration none
 
 @media print
     html