MediaWiki:Monobook.css
From Geofic
(Difference between revisions)
(test) |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* | /* | ||
- | + | <pre> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
*/ | */ | ||
- | + | body | |
- | / | + | { |
- | / | + | background-image: url(http://www.google.com/images/firefox/grgrad.gif); |
- | / | + | background-repeat: repeat-x; |
- | + | background-position: top left | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | /*TOC layout*/ |
- | + | #toc, | |
+ | .toc { | ||
+ | background-color: #F9F9F9; | ||
+ | border: 1px solid #AAAAAA; | ||
+ | padding: 5px; | ||
+ | font-size: 95%; | ||
} | } | ||
- | + | #toc h2, | |
- | + | .toc h2 { | |
+ | display: inline; | ||
+ | border: none; | ||
+ | padding: 0; | ||
+ | font-size: 100%; | ||
+ | font-weight: bold; | ||
} | } | ||
- | # | + | #toc #toctitle, |
- | + | .toc #toctitle, | |
+ | #toc .toctitle, | ||
+ | .toc .toctitle { | ||
+ | text-align: center; | ||
+ | background-color: transparent; | ||
} | } | ||
- | . | + | #toc ul, |
- | + | .toc ul { | |
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | margin-left: 0; | ||
+ | padding-left: 0; | ||
+ | text-align: left; | ||
} | } | ||
- | # | + | #toc ul ul, |
- | + | .toc ul ul { | |
+ | margin: 0 0 0 1em; | ||
} | } | ||
- | + | #toc .toctoggle, | |
- | + | .toc .toctoggle { | |
+ | font-size: 100%; | ||
} | } | ||
- | + | li.toclevel-1 { | |
- | + | border-top: 1px solid #AAAAAA; | |
} | } | ||
- | . | + | .toc a, |
- | + | #toc a { | |
+ | text-decoration:none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | legend { | |
- | + | background-color: #F9F9F9; | |
- | + | border: 1px solid #AAAAAA; | |
- | + | color: #F9F9F9; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | + | ||
} | } | ||
- | + | fieldset { background-color: #F9F9F9; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | # | + | #preftoc li { |
- | + | background-color: transparent; | |
- | + | border: 0px; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #preftoc li a { color: #AAAAAA; } | |
- | # | + | |
- | + | #preftoc li.selected { | |
- | + | border: 1px; | |
- | + | background-color: #F9F9F9; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | ol ol { list-style-type: lower-latin; } | ||
- | + | ol ol ol { list-style-type: lower-roman; } | |
- | + | li#pt-userpage { | |
- | + | background: url("/graphics/user.gif") top left no-repeat !important; | |
- | + | background-repeat: no-repeat; | |
+ | background-color: transparent !important; | ||
+ | padding-left: 20px; | ||
+ | text-transform: none; | ||
} | } | ||
- | + | /* Bold 'edit this page' link to encourage newcomers */ | |
- | + | #ca-edit a { font-weight: bold !important; } | |
- | + | ||
- | + | ||
- | } | + | |
- | # | + | /* rounded corners - Mozilla/Firefox only */ |
- | + | .pBody { | |
- | + | padding: 0.1em 0.1em; | |
- | } | + | -moz-border-radius-topright: 0.5em; |
+ | -moz-border-radius-bottomright: 0.5em; | ||
+ | } | ||
+ | #p-cactions ul li, #p-cactions ul li a { | ||
+ | -moz-border-radius-topright: 0.5em; | ||
+ | -moz-border-radius-topleft: 0.5em; | ||
+ | } | ||
+ | #content { | ||
+ | -moz-border-radius-topleft: 0.5em; | ||
+ | -moz-border-radius-topright: 0.5em; | ||
+ | -moz-border-radius-bottomleft: 0.5em; | ||
+ | -moz-border-radius-bottomright: 0.5em; | ||
+ | } | ||
- | + | /* buttons and input boxes */ | |
- | + | input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; } | |
- | + | input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | /* Add small Blank-themed background image to bottom right of categories bar */ | |
- | + | #catlinks { | |
- | + | background-image: url(http://editthis.info/blankclubencyclopedia/images/blankclubencyclopedia/d/d5/Category_pic.png); | |
- | + | background-repeat: no-repeat; | |
+ | background-position: right; | ||
} | } | ||
- | p. | + | p.catlinks { |
- | + | border: 1px outset #282828; | |
+ | margin: 2px; | ||
+ | padding: 5px; | ||
} | } | ||
- | /* | + | /* |
- | + | </pre> | |
- | / | + | */ |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Revision as of 07:58, 5 April 2007
/* <pre> */ body { background-image: url(http://www.google.com/images/firefox/grgrad.gif); background-repeat: repeat-x; background-position: top left } /*TOC layout*/ #toc, .toc { background-color: #F9F9F9; border: 1px solid #AAAAAA; padding: 5px; font-size: 95%; } #toc h2, .toc h2 { display: inline; border: none; padding: 0; font-size: 100%; font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; background-color: transparent; } #toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0; padding-left: 0; text-align: left; } #toc ul ul, .toc ul ul { margin: 0 0 0 1em; } #toc .toctoggle, .toc .toctoggle { font-size: 100%; } li.toclevel-1 { border-top: 1px solid #AAAAAA; } .toc a, #toc a { text-decoration:none; } legend { background-color: #F9F9F9; border: 1px solid #AAAAAA; color: #F9F9F9; } fieldset { background-color: #F9F9F9; } #preftoc li { background-color: transparent; border: 0px; } #preftoc li a { color: #AAAAAA; } #preftoc li.selected { border: 1px; background-color: #F9F9F9; } ol ol { list-style-type: lower-latin; } ol ol ol { list-style-type: lower-roman; } li#pt-userpage { background: url("/graphics/user.gif") top left no-repeat !important; background-repeat: no-repeat; background-color: transparent !important; padding-left: 20px; text-transform: none; } /* Bold 'edit this page' link to encourage newcomers */ #ca-edit a { font-weight: bold !important; } /* rounded corners - Mozilla/Firefox only */ .pBody { padding: 0.1em 0.1em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomright: 0.5em; } #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; } #content { -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomleft: 0.5em; -moz-border-radius-bottomright: 0.5em; } /* buttons and input boxes */ input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; } input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; } /* Add small Blank-themed background image to bottom right of categories bar */ #catlinks { background-image: url(http://editthis.info/blankclubencyclopedia/images/blankclubencyclopedia/d/d5/Category_pic.png); background-repeat: no-repeat; background-position: right; } p.catlinks { border: 1px outset #282828; margin: 2px; padding: 5px; } /* </pre> */