MediaWiki:Monobook.css
From Cometwiki
(Difference between revisions)
(new) |
(fix) |
||
(4 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | /* | + | /* CSS placed here will affect users of the Monobook skin */ |
- | /* | + | /* <pre><nowiki> */ |
- | + | .portlet h5 { | |
- | + | background-color: #e0e3e6; | |
- | + | border: thin solid silver; | |
- | + | ||
- | + | ||
} | } | ||
- | + | .allpagesredirect a { background: url(http://uncyclopedia.org/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | body { | |
- | + | ||
- | + | ||
- | + | ||
- | body { | + | |
font-size: 10px; | font-size: 10px; | ||
font-family: Verdana; | font-family: Verdana; | ||
- | background: #f9f9f9 url("http:// | + | background: #f9f9f9 url("http://images.wikia.com/mk/images/9/90/Altback.png"); |
background-attachment: fixed; | background-attachment: fixed; | ||
- | } | + | } |
- | #p-personal | + | p-personal a.new { color: #f00; } |
- | color: | + | p-personal a.new:visited { color:#c00; } |
- | background: | + | p { margin: 0.9em 0em 1em 0em; } |
- | } | + | |
+ | h1, h2, h3, h4, h5, h6 { | ||
+ | color: black; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | |||
+ | pre { border: 1px dashed #06f; } | ||
+ | |||
+ | bodyContent h1, | ||
+ | bodyContent h2, | ||
+ | bodyContent h3, | ||
+ | bodyContent h4, | ||
+ | bodyContent h5 { | ||
+ | margin-bottom:0.6em; | ||
+ | } | ||
+ | |||
+ | #siteNotice { | ||
+ | padding: 0.3em; | ||
+ | margin: 10px; | ||
+ | border-top: 2px solid #ccc; | ||
+ | border-bottom: 2px solid #ccc; | ||
+ | background: #fff; | ||
+ | } | ||
+ | |||
+ | navbox { | ||
+ | /*border:1px solid #2f6fab;*/ | ||
+ | border: 1px solid #aaaaaa; | ||
+ | background-color:#f9f9f9; | ||
+ | padding: 5px; | ||
+ | font-size: 95%; | ||
+ | margin-left: 15px; | ||
+ | margin-bottom: 15px; | ||
+ | } | ||
- | #p-personal li a:hover { | + | bodyContent a.extiw:active { color: #06f; } |
- | background-color: | + | bodyContent a.external { color: #06f; } |
- | + | p-personal li a { color: #06f; } | |
+ | p-personal li a:hover { | ||
+ | background-color: none; | ||
text-decoration: underline; | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | p-cactions li a { color: #00c; } | ||
+ | p-cactions .new a { color:#c00; } | ||
+ | preftoc a:active { color: #00c; } | ||
+ | |||
+ | input.searchButton { | ||
+ | padding: 0 0.4em !important; | ||
+ | cursor: pointer; | ||
+ | background-color: White; | ||
+ | border: 1px solid #2f6fab; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | #searchGoButton { | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | #searchInput { | ||
+ | border: 1px solid #2f6fab; | ||
+ | } | ||
+ | |||
+ | input[type="radio"], input[type="checkbox"] { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | /*Gives the personal zone a nice area*/ | ||
+ | #p-personal > div > ul { | ||
+ | background: #FFFFFF; | ||
+ | border-left: 1px solid #aaa; | ||
+ | border-bottom: 1px solid #aaa; | ||
+ | width: auto; | ||
+ | display: inline; | ||
+ | position: absolute; | ||
+ | right: -7px; | ||
+ | padding-left: 0px; | ||
+ | padding-bottom: 1px; | ||
} | } | ||
- | /* | + | /*Gives adbars a styled area.*/ |
- | + | #column-google div, | |
- | + | #column-google iframe | |
- | + | { | |
- | + | background: #F9FFFF; | |
+ | border: 1px solid #aaa; | ||
+ | border-right: 0px; | ||
+ | padding: 5px 0px 5px 5px; | ||
} | } | ||
- | + | .infobox-yellow, #toc { | |
- | # | + | border: 1px solid #e0a000; |
- | + | margin-top: 2px; | |
- | + | background-image: url(/images/4/40/Gradient1.png) !important; | |
- | + | background-repeat: repeat-y; | |
- | + | background-color: #fff; | |
- | + | color: black; | |
- | + | } | |
- | /* | + | |
- | + | /* </nowiki> */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ul { | |
- | + | list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png'); | |
- | + | } | |
- | + | ul li:hover { | |
- | + | list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png'); | |
} | } | ||
- | + | .portlet ul { | |
- | + | list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png'); | |
- | + | } | |
+ | .portlet ul li:hover { | ||
+ | list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png'); | ||
} | } | ||
- | /* | + | /* Classes for collapsible portlets, customize as needed */ |
+ | h5.portletCollapsible { | ||
+ | display:block; | ||
+ | padding:0; | ||
+ | height:auto; | ||
+ | } | ||
+ | .portletCollapsible a { | ||
+ | padding:1px 1px .2em 15px; | ||
+ | display:block; | ||
+ | text-decoration:none; | ||
+ | color:black; | ||
+ | } | ||
+ | .portletClosed { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_d.png") no-repeat; } | ||
+ | .portletOpened { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_u.png") no-repeat; }</pre> |
Current revision as of 16:34, 21 November 2007
/* CSS placed here will affect users of the Monobook skin */ /* <pre><nowiki> */ .portlet h5 { background-color: #e0e3e6; border: thin solid silver; } .allpagesredirect a { background: url(http://uncyclopedia.org/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; } body { font-size: 10px; font-family: Verdana; background: #f9f9f9 url("http://images.wikia.com/mk/images/9/90/Altback.png"); background-attachment: fixed; } p-personal a.new { color: #f00; } p-personal a.new:visited { color:#c00; } p { margin: 0.9em 0em 1em 0em; } h1, h2, h3, h4, h5, h6 { color: black; margin: 0px; } pre { border: 1px dashed #06f; } bodyContent h1, bodyContent h2, bodyContent h3, bodyContent h4, bodyContent h5 { margin-bottom:0.6em; } #siteNotice { padding: 0.3em; margin: 10px; border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; background: #fff; } navbox { /*border:1px solid #2f6fab;*/ border: 1px solid #aaaaaa; background-color:#f9f9f9; padding: 5px; font-size: 95%; margin-left: 15px; margin-bottom: 15px; } bodyContent a.extiw:active { color: #06f; } bodyContent a.external { color: #06f; } p-personal li a { color: #06f; } p-personal li a:hover { background-color: none; text-decoration: underline; } p-cactions li a { color: #00c; } p-cactions .new a { color:#c00; } preftoc a:active { color: #00c; } input.searchButton { padding: 0 0.4em !important; cursor: pointer; background-color: White; border: 1px solid #2f6fab; font-weight: normal; } #searchGoButton { font-weight: normal; } #searchInput { border: 1px solid #2f6fab; } input[type="radio"], input[type="checkbox"] { border: none; } /*Gives the personal zone a nice area*/ #p-personal > div > ul { background: #FFFFFF; border-left: 1px solid #aaa; border-bottom: 1px solid #aaa; width: auto; display: inline; position: absolute; right: -7px; padding-left: 0px; padding-bottom: 1px; } /*Gives adbars a styled area.*/ #column-google div, #column-google iframe { background: #F9FFFF; border: 1px solid #aaa; border-right: 0px; padding: 5px 0px 5px 5px; } .infobox-yellow, #toc { border: 1px solid #e0a000; margin-top: 2px; background-image: url(/images/4/40/Gradient1.png) !important; background-repeat: repeat-y; background-color: #fff; color: black; } /* </nowiki> */ ul { list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png'); } ul li:hover { list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png'); } .portlet ul { list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png'); } .portlet ul li:hover { list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png'); } /* Classes for collapsible portlets, customize as needed */ h5.portletCollapsible { display:block; padding:0; height:auto; } .portletCollapsible a { padding:1px 1px .2em 15px; display:block; text-decoration:none; color:black; } .portletClosed { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_d.png") no-repeat; } .portletOpened { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_u.png") no-repeat; }</pre>