Difference between revisions of "MediaWiki:Conserv.css"

From Conservapedia
Jump to navigation Jump to search
m
(fixed IE bug with search box)
 
(26 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-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;
Line 11: Line 14:
 
}
 
}
 
.usermessage a, .usermessage a:visited {color:#D7B435;}
 
.usermessage a, .usermessage a:visited {color:#D7B435;}
−
 
+
−
#p-logo {  
+
h1.firstHeading {
−
    background: url('') no-repeat;
+
background: #0043A7 url('http://www.conservapedia.com/.host/new_message_blue.png') repeat-x scroll left top;
−
    display: none
+
color: #FEFEFE;
−
    position:absolute;  /*needed to use z-index */
+
border: 1px solid #696B2E;
−
    top: 8;
+
text-indent: .5em;
−
    left: 100;
+
margin-top: 10px;
−
    right: 65;
 
−
    height: 0;
 
−
    width: 0;
 
−
    padding: 0 0 150px 150px;
 
−
    overflow: hidden;
 
 
}
 
}
−
h1.firstHeading {background-color: #06399f; color:#FEFEFE;padding 3px;border:1px solid #696B2E;text-align: center; margin-top: 0.5em;padding-bottom:0.4em;}
+
−
 
 
 
/* 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 h5, #p-search h5, #p-tb h5 {color:#06399f;padding:1px 10em 1px 1em;margin:0 3px 0.5em 0;font-size:125%;text-align:left;}
+
#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: #EBF1FA;}
+
#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 {
+
 +
#content, #footer {
 
   -moz-border-radius-topleft: 4px;
 
   -moz-border-radius-topleft: 4px;
 
   -moz-border-radius-bottomleft: 4px;
 
   -moz-border-radius-bottomleft: 4px;
−
}*/
+
}
−
 
+
−
/*div.pBody {
+
div.pBody {
 
   -moz-border-radius-topright: 4px;
 
   -moz-border-radius-topright: 4px;
 
   -moz-border-radius-bottomright: 4px;
 
   -moz-border-radius-bottomright: 4px;
−
}*/
 
−
 
−
/* Dotted borders on pre look ugly, replace with a solid one */
 
−
#bodyContent pre {
 
−
    border: 1px solid #aaa;
 
 
}
 
}
−
 
+
 
/* 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: 0;
+
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-color: #1447ad;
+
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-color: #fff;
+
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-color: #1447ad;
+
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 {*/
+
input[type="text"], input[type="submit"], textarea, pre, #toc {
−
/*  -moz-border-radius: 5px;*/
+
  -moz-border-radius: 2px;
−
/*}*/
 
−
 
 
−
#footer {display:none;}
 
−
.printfooter {display:none;}
 
−
 
 
−
 
 
−
/*
 
−
** Diff rendering
 
−
*/
 
−
table.diff { background:white; }
 
−
td.diff-otitle { background:#ffffff; }
 
−
td.diff-ntitle { background:#ffffff; }
 
−
td.diff-addedline {
 
−
    background: #C5CC00;
 
−
    color: #333333;
 
−
    font-size: 95%;
 
−
}
 
−
td.diff-deletedline {
 
−
    background: #CC1100;
 
−
    color: #FFFFFF;
 
−
    font-size: 95%;
 
−
}
 
−
td.diff-context {
 
−
    background:#CCCCCC
 
−
    color: #708090;
 
−
    font-size: 95%;
 
 
}
 
}
−
span.diffchange { color: #00008b; }
 
−
 
  
 
/* 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-color:#d4d2d2;}
+
#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 215: Line 191:
 
     padding-right: 0.4em;
 
     padding-right: 0.4em;
  
−
}
+
#footer {width:75%;}
−
 
+
.printfooter {width:75%;}
−
 
 
−
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
 
−
#p-cactions ul li, #p-cactions ul li a {
 
−
  -moz-border-radius-topleft: 1em;
 
−
  -moz-border-radius-topright: 1em;
 
−
}
 
−
#content {
 
−
  -moz-border-radius-topleft: 1em;
 
−
  -moz-border-radius-bottomleft: 1em;
 
−
}
 
−
div.pBody {
 
−
  -moz-border-radius-topright: 1em;
 
−
  -moz-border-radius-bottomright: 1em;
 
−
}
 
  
−
/* same following the css3 draft specs, any browsers supporting this? */
 
−
#p-cactions ul li, #p-cactions ul li a { 
 
−
  border-radius-topleft: 1em;
 
−
  border-radius-topright: 1em;
 
−
}
 
−
#content {
 
−
  border-radius-topleft: 1em;
 
−
  border-radius-bottomleft: 1em;
 
−
}
 
−
div.pBody {
 
−
  border-radius-topright: 1em;
 
−
  border-radius-bottomright: 1em;
 
 
}
 
}
−
</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>*/