Difference between revisions of "MediaWiki:Conserv.css"
Jump to navigation
Jump to search
CPWebmaster (talk | contribs) (fixed IE bug with search box) |
|||
| (29 intermediate revisions by 3 users 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; | ||
| Line 11: | Line 14: | ||
} | } | ||
.usermessage a, .usermessage a:visited {color:#D7B435;} | .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 */ | /* Colors of links */ | ||
a { color: #003399; } | a { color: #003399; } | ||
| Line 34: | Line 31: | ||
#bodyContent a.external { color: #0044CC; } | #bodyContent a.external { color: #0044CC; } | ||
| − | #p-navigation | + | #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;} | ||
| − | #content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {background-color: # | + | #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 div.thumb {border-color: #EBF1FA;} | ||
| − | + | ||
| + | #content, #footer { | ||
-moz-border-radius-topleft: 4px; | -moz-border-radius-topleft: 4px; | ||
-moz-border-radius-bottomleft: 4px; | -moz-border-radius-bottomleft: 4px; | ||
| − | } | + | } |
| − | + | ||
| − | + | div.pBody { | |
-moz-border-radius-topright: 4px; | -moz-border-radius-topright: 4px; | ||
-moz-border-radius-bottomright: 4px; | -moz-border-radius-bottomright: 4px; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | ||
/* suppress the person icon by your username */ | /* suppress the person icon by your username */ | ||
li#pt-userpage { background: none } | li#pt-userpage { background: none } | ||
| − | + | ||
| − | + | ||
/* Avoid offpage text */ | /* Avoid offpage text */ | ||
| − | + | ||
/* Eliminate yellow colour everywhere in borders */ | /* Eliminate yellow colour everywhere in borders */ | ||
#p-cactions li.selected { | #p-cactions li.selected { | ||
| Line 71: | Line 75: | ||
margin: 0.6em 0em 1em 155px; | margin: 0.6em 0em 1em 155px; | ||
} | } | ||
| − | + | ||
#nav { | #nav { | ||
float: left; | float: left; | ||
width: 750px; | width: 750px; | ||
| − | margin: | + | margin-bottom: 1em; |
padding: 0; | padding: 0; | ||
list-style: none; | list-style: none; | ||
| Line 81: | Line 85: | ||
border-top: 1px solid #64A6F3; | border-top: 1px solid #64A6F3; | ||
border-bottom: 3px solid #134783; | border-bottom: 3px solid #134783; | ||
| − | + | background: #235C9D url(../img/nav-bg-blue.gif) repeat-x top left; | |
} | } | ||
#nav li { | #nav li { | ||
| Line 88: | Line 92: | ||
padding: 0 1px 0 0; | padding: 0 1px 0 0; | ||
list-style: none; | list-style: none; | ||
| − | + | background: url(../img/nav-li-bg-blu.gif) no-repeat top right; | |
} | } | ||
#nav a { | #nav a { | ||
| Line 106: | Line 110: | ||
li#t-home a { | li#t-home a { | ||
margin-left: 25px; | margin-left: 25px; | ||
| − | + | background: url(../img/nav-li-bg-blu.gif) no-repeat top left; | |
} | } | ||
| − | + | ||
/* Nice borders for (almost) all boxes */ | /* Nice borders for (almost) all boxes */ | ||
input[type="radio"], | input[type="radio"], | ||
| Line 116: | Line 120: | ||
} | } | ||
/* make round corners for the rest */ | /* 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 */ | /* 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;} | #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 | ** the page-related actions- page/talk, edit etc | ||
*/ | */ | ||
#p-cactions { | #p-cactions { | ||
| − | + | ||
position:absolute; | position:absolute; | ||
top: 1.3em; | top: 1.3em; | ||
| Line 189: | Line 165: | ||
padding: 0 0 0.2em 0; | padding: 0 0 0.2em 0; | ||
} | } | ||
| − | + | ||
| − | #p-cactions li#ca-nstab-main {background | + | #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 { | #p-cactions li a { | ||
background-color: none; | background-color: none; | ||
| Line 214: | Line 190: | ||
padding-left: 0.4em; | padding-left: 0.4em; | ||
padding-right: 0.4em; | padding-right: 0.4em; | ||
| + | |||
| + | #footer {width:75%;} | ||
| + | .printfooter {width:75%;} | ||
} | } | ||
| − | </pre> | + | /*</nowiki></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>*/