.

MediaWiki:Monobook.css: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
(Big test)
m (Reverted edits by Silver Knight (Silver Knight); changed back to last version by Red marquis)
 
Line 1: Line 1:
'''Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari:''' hold ''Shift'' while clicking ''Reload'', or press either ''Ctrl-F5'' or ''Ctrl-R'' (''Command-R'' on a Macintosh); '''Konqueror:''' click ''Reload'' or press ''F5''; '''Opera:''' clear the cache in ''Tools → Preferences''; '''Internet Explorer:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''.
'''Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari:''' hold ''Shift'' while clicking ''Reload'', or press either ''Ctrl-F5'' or ''Ctrl-R'' (''Command-R'' on a Macintosh); '''Konqueror:''' click ''Reload'' or press ''F5''; '''Opera:''' clear the cache in ''Tools → Preferences''; '''Internet Explorer:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''.
   
   
/* Background image */
/** <pre><nowiki> */
body {
/***** BACKGROUND COLORS FOR CONTENT ACTIONS *****/
background: #399BC0 url(http://www.shoutwiki.com/w/images/en.auto/1/1f/Background.jpg);
/***** taken from Common.css into Monobook.css due to monobook-specific stuff *****/
}
/* Colour of pseudo NS Special (light grey) */
.ns--2 #p-cactions li, .ns--2 #p-cactions li a { background: #f4f4f4; }
/* Colour of NS Project + Project_talk (light sky blue) */
.ns-4 #p-cactions li, .ns-4 #p-cactions li a { background: #f8fcff; }
.ns-5 #p-cactions li, .ns-5 #p-cactions li a { background: #f8fcff; }
/* Colour of NS MediaWiki + MediaWiki_talk (light grey) */
.ns-8 #p-cactions li, .ns-8 #p-cactions li a { background: #f4f4f4; }


#content {
.ns-9 #p-cactions li, .ns-9 #p-cactions li a { background: #f4f4f4; }
background: #C0C0C0;
border: 1px solid Black;
/*border: 1px solid #73abe6 !important;*/
border-right: none !important;
color: #000000;
line-height: 1.5em;
padding: 0 1em 1.5em 1em;
position: relative;
z-index: 2;
-moz-border-radius: 9px;
}


#column-one {
/* Colour of NS Manual + Manual_talk (light bluish violet) */
padding-top: 145px;
}
.ns-100 #p-cactions li, .ns-100 #p-cactions li a { background: #f3f3ff; }
.ns-101 #p-cactions li, .ns-101 #p-cactions li a { background: #f3f3ff; }


#column-content {
/** </nowiki></pre> */
float: right;
margin: 0 0 0.6em -12.2em;
padding: 0;
width: 100%;
color: #C0C0C0;
}
 
#p-logo {
top: 0em;
}
 
/* Link colors */
a {
background: transparent none repeat scroll 0 0;
color: #002BB8;
text-decoration: none;
}
 
a:active {
color: #000000;
}
 
/* Titles */
h1, h2, h3, h4, h5, h6 {
color: black;
}
 
/* tabs */
#p-cactions li {
border-collapse: separate;
border-bottom: 1px solid #aaa;
padding-bottom: 0.4em;
}
 
#p-cactions li.selected {
border-collapse: collapse;
border-color: #000000;
border-bottom: none;
font-weight: bold;
padding: 0 0 0.2em;
padding-bottom: 0.5em;
}
 
#p-cactions li.selected a {
background-color: #C0C0C0;
padding: 0 1em 0.2em !important;
z-index: 3;
color: #000000
}
 
#p-cactions .new a {
color: #BA0000;
}
 
#p-cactions li a {
text-transform: lowercase;
}
 
#p-cactions li a {
background-color: #DCDCDC;
border: medium none;
color: #000000;
margin: 0;
padding: 0 0.8em 0.3em;
position: relative;
text-decoration: none;
z-index: 0;
}
 
/* toolbox */
.portlet {
border: none;
margin: 0 0 .5em;
padding: 0;
float: none;
width: 11.6em;
overflow: hidden;
}
 
.portlet h4 {
font-size: 95%;
font-weight: bold;
white-space: nowrap;
}
 
.portlet h5 {
background: transparent;
padding: 0 1em 0 .5em;
display: inline;
height: 1em;
text-transform: uppercase;
font-size: 91%;
font-weight: bold;
white-space: nowrap;
}
 
.portlet h6 {
background: transparent;
border: 1px solid #C0C0C0;
border-style: solid solid none solid;
padding: 0 1em 0 1em;
text-transform: uppercase;
display: block;
font-size: 1em;
height: 1.2em;
font-weight: normal;
white-space: nowrap;
}
 
.pBody {
font-size: 95%;
background:transparent;
color: #C0C0C0;
border-collapse: collapse;
border: 1px solid #AAAAAA;
padding: 0 .8em .3em .5em;
}
 
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
margin: 0;
padding: 0;
}
 
.portlet li {
padding: 0;
margin: 0;
}
 
.generated-sidebar .pBody, #p-search .pBody, #p-tb .pBody, #p-lang .pBody {
background: -moz-linear-gradient(top, Gainsboro, Silver);
/* IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr=#DCDCDC, endColorStr=#C0C0C0, GradientType=0);
/* IE8+ */
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr=#DCDCDC, endColorStr=#C0C0C0, GradientType=0)";
}
 
/* footer */
#footer {
background-color: #C0C0C0;
border-bottom: 1px solid #E1EDA6;
border-top: 1px solid #E1EDA6;
font-size: 90%;
margin: 0.6em 0 1em;
padding: 0.4em 0 1.2em;
text-align: center;
}
 
.icon div {
display: inline !important;
}
 
/* Tables (i.e. sitenotice, Special:SpecialPages etc.) */
table {
background-color: transparent;
}
 
/* new message box */
div.notice, div.usermessage {
margin: 1.0em auto 0.5em auto;
padding: 5px;
text-align: center;
border-width: 2px;
border-color: yellow;
background: #DCDCDC;
color: #000000;
line-height: 120%;
}
 
/* Thumb and gallery colors */
.thumb {
background: transparent !important;
border-color: transparent !important;
}
 
.gallery {
background: #C0C0C0 !important;
border: 1px solid yellow !important;
}
 
.gallery td {
vertical-align: top;
padding: 0 !important;
background: none !important;
border: none !important;
}
 
.gallery .thumb {
border-color: #C0C0C0 !important;
margin: 0 !important;
background: #C0C0C0 !important;
}
 
.gallerybox {
margin: 2px;
padding: 0 3px;
background: none !important;
}
 
/* Capital letter on tabs */
#ca-edit a {
text-transform: none !important;
font-weight: bold !important;
}
 
#p-cactions li a {
text-transform: none !important;
}

Latest revision as of 08:21, 23 December 2010

'''Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari:''' hold ''Shift'' while clicking ''Reload'', or press either ''Ctrl-F5'' or ''Ctrl-R'' (''Command-R'' on a Macintosh); '''Konqueror:''' click ''Reload'' or press ''F5''; '''Opera:''' clear the cache in ''Tools → Preferences''; '''Internet Explorer:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''.
 
 /** <pre><nowiki> */
 /***** BACKGROUND COLORS FOR CONTENT ACTIONS *****/
 /***** taken from Common.css into Monobook.css due to monobook-specific stuff *****/
 
 /* Colour of pseudo NS Special (light grey) */
 
 .ns--2 #p-cactions li, .ns--2 #p-cactions li a { background: #f4f4f4; }
 
 /* Colour of NS Project + Project_talk (light sky blue) */
 
 .ns-4 #p-cactions li, .ns-4 #p-cactions li a { background: #f8fcff; }
 
 .ns-5 #p-cactions li, .ns-5 #p-cactions li a { background: #f8fcff; }
 
 /* Colour of NS MediaWiki + MediaWiki_talk (light grey) */
 
 .ns-8 #p-cactions li, .ns-8 #p-cactions li a { background: #f4f4f4; }

 .ns-9 #p-cactions li, .ns-9 #p-cactions li a { background: #f4f4f4; }

 /* Colour of NS Manual + Manual_talk (light bluish violet) */
 
 .ns-100 #p-cactions li, .ns-100 #p-cactions li a { background: #f3f3ff; }
 
 .ns-101 #p-cactions li, .ns-101 #p-cactions li a { background: #f3f3ff; }

 /** </nowiki></pre> */