Difference between revisions of "MediaWiki:Conserv.css"

From Conservapedia
Jump to: navigation, search
m
(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-color: #cc1c1c;
+
    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;
+
}
+
 
+
/* Page titles */
+
 
h1.firstHeading {
 
h1.firstHeading {
background-color: #06399f;
+
background: #0043A7 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top;
 
color: #FEFEFE;
 
color: #FEFEFE;
padding: 5px;
 
 
border: 1px solid #696B2E;
 
border: 1px solid #696B2E;
text-align: center;
+
text-indent: .5em;
margin-top: 5px;
+
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;
+
}
+
  
/* Titles of left-side menu */
+
#p-navigation h5, #p-tb h5 {
#p-navigation h5, #p-search 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;}
color: #06399f;
+
 
padding: 0 0 1px 1em;
+
#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;
 
}
 
}
 
+
/* Background of tab-links, pages, etc. */
+
 
#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: #EBF1FA;
+
background-color: #ffffff; }
}
+
#content div.thumb {border-color: #EBF1FA;}
  
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
+
#p-cactions ul li, #p-cactions ul li a { 
+
#content, #footer {
-moz-border-radius-topleft: 1em;
+
  -moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 1em;
+
  -moz-border-radius-bottomleft: 4px;
}
+
#content {  
+
-moz-border-radius-topleft: 1em;  
+
-moz-border-radius-bottomleft: 1em;
+
 
}
 
}
 +
 
div.pBody {
 
div.pBody {
-moz-border-radius-topright: 1em;
+
  -moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 1em;
+
  -moz-border-radius-bottomright: 4px;
 
}
 
}
/* same following the css3 draft specs, any browsers supporting this? */
+
#p-cactions ul li, #p-cactions ul li a {
+
/* suppress the person icon by your username */
border-radius-topleft: 1em;
+
li#pt-userpage { background: none }
border-radius-topright: 1em;
+
 +
 +
/* Avoid offpage text */
 +
 +
/* Eliminate yellow colour everywhere in borders */
 +
#p-cactions li.selected {
 +
    border-color: #aaa;
 
}
 
}
#content {  
+
/* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow colour */
border-radius-topleft: 1em;
+
#footer {
border-radius-bottomleft: 1em;
+
    border-top: 1px solid #aaa;
 +
    border-bottom: 1px solid #aaa;
 +
    border-left: 1px solid #aaa;
 +
    margin: 0.6em 0em 1em 155px;
 
}
 
}
div.pBody {
+
border-radius-topright: 1em;
+
#nav {
border-radius-bottomright: 1em;
+
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;
 
}
 
}
  
table.diff {
+
/* this is the ul contained in the portlet */
background: #EBF1FA;
+
#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%;
 
}
 
}
td.diff-otitle {
+
#p-cactions .hiddenStructure { display: none; }
background: #EBF1FA;
+
#p-cactions ul {
 +
    list-style: none;
 
}
 
}
td.diff-ntitle {
+
#p-cactions li {
background: #EBF1FA;
+
    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 {
div.thumb {
+
    border-color: #aaa;
background-color: #EBF1FA;
+
background:#DCDCDC;
 +
    padding: 0 0 0.2em 0;
 
}
 
}
 
+
div.thumb div {
+
#p-cactions li#ca-nstab-main {background: #CCCCCC url('http://www.micahclemens.com/wikipedia/grey.png') repeat-x scroll left top;}
background-color: #EBF1FA;
+
#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; }
div.tright {
+
#p-cactions .new a { color: #b22222; }
background-color: #EBF1FA;
+
#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%;}
  
div.tleft {
 
background-color: #EBF1FA;
 
 
}
 
}
 
+
/*</nowiki></pre>*/
div.floatright, table.floatright { background-color: #EBF1FA; }
+
 
+
div.floatleft, table.floatleft { background-color: #EBF1FA; }
+
 
+
form { background-color: #EBF1FA; }
+
 
+
</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>*/