Difference between revisions of "MediaWiki:Conserv.css"
From Conservapedia
CPWebmaster (Talk | contribs) m |
CPWebmaster (Talk | contribs) (fixed IE bug with search box) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <pre> | + | /* <pre><nowiki> |
+ | */ | ||
+ | |||
+ | |||
/* new message notification (a red background with white text/links */ | /* new message notification (a red background with white text/links */ | ||
.usermessage { | .usermessage { | ||
− | background | + | background: #C50024 url('http://www.conservapedia.com/.host/red.png') repeat-x scroll left top; |
− | border: 1px solid #222222; | + | border: 1px solid #222222; |
− | color: #FFFFFF; | + | color: #FFFFFF; |
− | font-weight: bold; | + | font-weight: bold; |
− | margin: 2em 0em 1em 0em; | + | margin: 2em 0em 1em 0em; |
− | padding: 0.5em 1em 0.5em 1em; | + | padding: 0.5em 1em 0.5em 1em; |
− | vertical-align: middle; | + | vertical-align: middle; |
− | } | + | } |
− | .usermessage a, .usermessage a:visited { | + | .usermessage a, .usermessage a:visited {color:#D7B435;} |
− | color:#D7B435; | + | |
− | } | + | |
− | + | ||
− | + | ||
h1.firstHeading { | h1.firstHeading { | ||
− | background | + | background: #0043A7 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top; |
color: #FEFEFE; | color: #FEFEFE; | ||
− | |||
border: 1px solid #696B2E; | border: 1px solid #696B2E; | ||
− | text- | + | text-indent: .5em; |
− | margin-top: | + | margin-top: 10px; |
} | } | ||
− | + | ||
/* Colors of links */ | /* Colors of links */ | ||
− | a { | + | a { color: #003399; } |
− | color: #003399; | + | a:visited { color: #8800CC; } |
− | } | + | a:active, a.new { color: #CC1100; } |
− | a:visited { | + | a.interwiki, a.external { color: #0044CC; } |
− | color: #8800CC; | + | a.stub { color: #CC8100; } |
− | } | + | #bodyContent a.external { color: #0044CC; } |
− | a:active, a.new { | + | |
− | color: #CC1100; | + | |
− | } | + | |
− | a.interwiki, a.external { | + | |
− | color: #0044CC; | + | |
− | } | + | |
− | a.stub { | + | |
− | color: #CC8100; | + | |
− | } | + | |
− | #bodyContent a.external { | + | |
− | color: #0044CC; | + | |
− | } | + | |
− | + | #p-navigation h5, #p-tb h5 { | |
− | #p-navigation | + | border:1px solid #232323;background:#3934B4 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top;color:#FFFFFF;padding:1px 10em 1px 1em;margin:0 3px 0.5em 0;font-size:125%;text-align:left;} |
− | color: # | + | |
− | padding: 0 0 1px | + | #p-search h5 { |
+ | border: 1px solid #232323; | ||
+ | background: #3934B4 url('http://www.conservapedia.com/.host/red.png') repeat-x scroll left top; | ||
+ | color: #FFFFFF; | ||
margin: 0 3px 0.5em 0; | margin: 0 3px 0.5em 0; | ||
font-size: 125%; | font-size: 125%; | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | + | ||
− | + | ||
#content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { | #content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { | ||
− | background-color: # | + | background-color: #ffffff; } |
− | } | + | #content div.thumb {border-color: #EBF1FA;} |
− | + | ||
− | # | + | #content, #footer { |
− | + | -moz-border-radius-topleft: 4px; | |
− | + | -moz-border-radius-bottomleft: 4px; | |
− | + | ||
− | + | ||
− | -moz-border-radius-topleft: | + | |
− | -moz-border-radius-bottomleft: | + | |
} | } | ||
+ | |||
div.pBody { | div.pBody { | ||
− | -moz-border-radius-topright: | + | -moz-border-radius-topright: 4px; |
− | -moz-border-radius-bottomright: | + | -moz-border-radius-bottomright: 4px; |
} | } | ||
− | /* | + | |
− | # | + | /* suppress the person icon by your username */ |
− | border- | + | li#pt-userpage { background: none } |
− | + | ||
+ | |||
+ | /* Avoid offpage text */ | ||
+ | |||
+ | /* Eliminate yellow colour everywhere in borders */ | ||
+ | #p-cactions li.selected { | ||
+ | border-color: #aaa; | ||
} | } | ||
− | + | /* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow colour */ | |
− | border- | + | #footer { |
− | border- | + | border-top: 1px solid #aaa; |
+ | border-bottom: 1px solid #aaa; | ||
+ | border-left: 1px solid #aaa; | ||
+ | margin: 0.6em 0em 1em 155px; | ||
} | } | ||
− | + | ||
− | border- | + | #nav { |
− | border- | + | float: left; |
+ | width: 750px; | ||
+ | margin-bottom: 1em; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | font-size: 82%; | ||
+ | border-top: 1px solid #64A6F3; | ||
+ | border-bottom: 3px solid #134783; | ||
+ | background: #235C9D url(../img/nav-bg-blue.gif) repeat-x top left; | ||
+ | } | ||
+ | #nav li { | ||
+ | float: left; | ||
+ | margin: 0; | ||
+ | padding: 0 1px 0 0; | ||
+ | list-style: none; | ||
+ | background: url(../img/nav-li-bg-blu.gif) no-repeat top right; | ||
+ | } | ||
+ | #nav a { | ||
+ | float: left; | ||
+ | padding: 7px 13px; | ||
+ | text-decoration: none; | ||
+ | border-bottom: none; | ||
+ | color: #fff; | ||
+ | } | ||
+ | #nav a:hover, #nav a.active { | ||
+ | color: #fff; | ||
+ | background: #235C9D; | ||
+ | } | ||
+ | #nav a.active { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | li#t-home a { | ||
+ | margin-left: 25px; | ||
+ | background: url(../img/nav-li-bg-blu.gif) no-repeat top left; | ||
+ | } | ||
+ | |||
+ | /* Nice borders for (almost) all boxes */ | ||
+ | input[type="radio"], | ||
+ | input[type="checkbox"] { border:none; } | ||
+ | input[type="text"], input[type="submit"], textarea { | ||
+ | border: 1px solid #aaa !important; | ||
+ | } | ||
+ | /* make round corners for the rest */ | ||
+ | input[type="text"], input[type="submit"], textarea, pre, #toc { | ||
+ | -moz-border-radius: 2px; | ||
} | } | ||
− | + | /* this is the ul contained in the portlet */ | |
− | background: | + | #p-tb ul, #p-tb li, #p-tb li a, #p-navigation ul, #p-navigation li, #p-navigation li a, #p-personal ul, #p-personal li, #p-personal li a {color: #003399;} |
+ | |||
+ | |||
+ | /* | ||
+ | ** the page-related actions- page/talk, edit etc | ||
+ | */ | ||
+ | #p-cactions { | ||
+ | |||
+ | position:absolute; | ||
+ | top: 1.3em; | ||
+ | left: 11.5em; | ||
+ | margin: 0; | ||
+ | white-space:nowrap; | ||
+ | width: 76%; | ||
+ | line-height: 1.1em; | ||
+ | overflow: visible; | ||
+ | background: none; | ||
+ | border-collapse: collapse; | ||
+ | padding-left: 1em; | ||
+ | list-style: none; | ||
+ | font-size: 95%; | ||
} | } | ||
− | + | #p-cactions .hiddenStructure { display: none; } | |
− | + | #p-cactions ul { | |
+ | list-style: none; | ||
} | } | ||
− | + | #p-cactions li { | |
− | + | display: inline; | |
+ | border: 1px solid #aaaaaa; | ||
+ | border-bottom: none; | ||
+ | padding: 0 0 0.1em 0; | ||
+ | margin: 0 0.3em 0 0; | ||
+ | overflow: visible; | ||
+ | background: none; | ||
} | } | ||
− | + | #p-cactions li.selected { | |
− | + | border-color: #aaa; | |
− | + | background:#DCDCDC; | |
+ | padding: 0 0 0.2em 0; | ||
} | } | ||
− | + | ||
− | + | #p-cactions li#ca-nstab-main {background: #CCCCCC url('http://www.micahclemens.com/wikipedia/grey.png') repeat-x scroll left top;} | |
− | background-color: # | + | #p-cactions li a { |
+ | background-color: none; | ||
+ | color: #000000; | ||
+ | border: none; | ||
+ | padding: 0 0.8em 0.3em 0.8em; | ||
+ | text-decoration: none; | ||
+ | text-transform: lowercase; | ||
+ | position: relative; | ||
+ | z-index: 0; | ||
+ | margin: 0; | ||
} | } | ||
− | + | #p-cactions .selected a { z-index: 3; } | |
− | + | #p-cactions .new a { color: #b22222; } | |
− | + | #p-cactions li a:hover { | |
+ | z-index: 3; | ||
+ | text-decoration: none; | ||
} | } | ||
+ | #p-cactions h5 { display: none; } | ||
+ | #p-cactions li.istalk { margin-right: 0; } | ||
+ | #p-cactions li.istalk a { padding-right: 0.5em; } | ||
+ | #p-cactions #ca-addsection a { | ||
+ | padding-left: 0.4em; | ||
+ | padding-right: 0.4em; | ||
+ | |||
+ | #footer {width:75%;} | ||
+ | .printfooter {width:75%;} | ||
− | |||
− | |||
} | } | ||
− | + | /*</nowiki></pre>*/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </pre> | + |
Latest revision as of 04:40, January 17, 2008
/* <pre><nowiki> */ /* new message notification (a red background with white text/links */ .usermessage { background: #C50024 url('http://www.conservapedia.com/.host/red.png') repeat-x scroll left top; border: 1px solid #222222; color: #FFFFFF; font-weight: bold; margin: 2em 0em 1em 0em; padding: 0.5em 1em 0.5em 1em; vertical-align: middle; } .usermessage a, .usermessage a:visited {color:#D7B435;} h1.firstHeading { background: #0043A7 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top; color: #FEFEFE; border: 1px solid #696B2E; text-indent: .5em; margin-top: 10px; } /* Colors of links */ a { color: #003399; } a:visited { color: #8800CC; } a:active, a.new { color: #CC1100; } a.interwiki, a.external { color: #0044CC; } a.stub { color: #CC8100; } #bodyContent a.external { color: #0044CC; } #p-navigation h5, #p-tb h5 { border:1px solid #232323;background:#3934B4 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top;color:#FFFFFF;padding:1px 10em 1px 1em;margin:0 3px 0.5em 0;font-size:125%;text-align:left;} #p-search h5 { border: 1px solid #232323; background: #3934B4 url('http://www.conservapedia.com/.host/red.png') repeat-x scroll left top; color: #FFFFFF; margin: 0 3px 0.5em 0; font-size: 125%; text-align: left; } #content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { background-color: #ffffff; } #content div.thumb {border-color: #EBF1FA;} #content, #footer { -moz-border-radius-topleft: 4px; -moz-border-radius-bottomleft: 4px; } div.pBody { -moz-border-radius-topright: 4px; -moz-border-radius-bottomright: 4px; } /* suppress the person icon by your username */ li#pt-userpage { background: none } /* Avoid offpage text */ /* Eliminate yellow colour everywhere in borders */ #p-cactions li.selected { border-color: #aaa; } /* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow colour */ #footer { border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa; margin: 0.6em 0em 1em 155px; } #nav { float: left; width: 750px; margin-bottom: 1em; padding: 0; list-style: none; font-size: 82%; border-top: 1px solid #64A6F3; border-bottom: 3px solid #134783; background: #235C9D url(../img/nav-bg-blue.gif) repeat-x top left; } #nav li { float: left; margin: 0; padding: 0 1px 0 0; list-style: none; background: url(../img/nav-li-bg-blu.gif) no-repeat top right; } #nav a { float: left; padding: 7px 13px; text-decoration: none; border-bottom: none; color: #fff; } #nav a:hover, #nav a.active { color: #fff; background: #235C9D; } #nav a.active { font-weight: bold; } li#t-home a { margin-left: 25px; background: url(../img/nav-li-bg-blu.gif) no-repeat top left; } /* Nice borders for (almost) all boxes */ input[type="radio"], input[type="checkbox"] { border:none; } input[type="text"], input[type="submit"], textarea { border: 1px solid #aaa !important; } /* make round corners for the rest */ input[type="text"], input[type="submit"], textarea, pre, #toc { -moz-border-radius: 2px; } /* this is the ul contained in the portlet */ #p-tb ul, #p-tb li, #p-tb li a, #p-navigation ul, #p-navigation li, #p-navigation li a, #p-personal ul, #p-personal li, #p-personal li a {color: #003399;} /* ** the page-related actions- page/talk, edit etc */ #p-cactions { position:absolute; top: 1.3em; left: 11.5em; margin: 0; white-space:nowrap; width: 76%; line-height: 1.1em; overflow: visible; background: none; border-collapse: collapse; padding-left: 1em; list-style: none; font-size: 95%; } #p-cactions .hiddenStructure { display: none; } #p-cactions ul { list-style: none; } #p-cactions li { display: inline; border: 1px solid #aaaaaa; border-bottom: none; padding: 0 0 0.1em 0; margin: 0 0.3em 0 0; overflow: visible; background: none; } #p-cactions li.selected { border-color: #aaa; background:#DCDCDC; padding: 0 0 0.2em 0; } #p-cactions li#ca-nstab-main {background: #CCCCCC url('http://www.micahclemens.com/wikipedia/grey.png') repeat-x scroll left top;} #p-cactions li a { background-color: none; color: #000000; border: none; padding: 0 0.8em 0.3em 0.8em; text-decoration: none; text-transform: lowercase; position: relative; z-index: 0; margin: 0; } #p-cactions .selected a { z-index: 3; } #p-cactions .new a { color: #b22222; } #p-cactions li a:hover { z-index: 3; text-decoration: none; } #p-cactions h5 { display: none; } #p-cactions li.istalk { margin-right: 0; } #p-cactions li.istalk a { padding-right: 0.5em; } #p-cactions #ca-addsection a { padding-left: 0.4em; padding-right: 0.4em; #footer {width:75%;} .printfooter {width:75%;} } /*</nowiki></pre>*/