Difference between revisions of "MediaWiki:Monobook.css"
From PublicWiki
(Cut and paste from http://meta.wikimedia.org/wiki/MediaWiki:Common.css) |
(Cut and paste from http://meta.wikimedia.org/wiki/MediaWiki:Monobook.css) |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Monobook skin */ | /* CSS placed here will affect users of the Monobook skin */ | ||
− | * | + | /* |
− | + | */ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* edit this file to customize the monobook skin for the entire site */ | ||
+ | #fundraising { | ||
+ | text-align: center; | ||
+ | border: 1px solid gray; | ||
+ | padding: 5px; | ||
+ | margin-top: 5px; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | background: #ffffff; /* white */ | ||
+ | } | ||
− | + | .ns-0 * #content { | |
− | + | background: #ffffff; | |
− | + | } | |
− | |||
+ | #mytabs li { | ||
+ | background: #f4f4f4; | ||
+ | } | ||
− | + | .ns-0 * #mytabs li { | |
− | + | background: #f4f4f4; | |
− | + | } | |
− | |||
− | |||
+ | #mytabs li a { | ||
+ | background-color: #f4f4f4; | ||
+ | } | ||
− | + | .ns-0 * #mytabs li a { | |
− | + | background-color: #f4f4f4; | |
− | + | } | |
− | |||
− | . | + | /* For p-cactions (the top "tabs") it works only because my .js moves them into the |
+ | "ns-0" wrapper anyway. */ | ||
+ | #p-cactions li { | ||
+ | background: #f4f4f4; | ||
+ | } | ||
+ | .ns-0 * #p-cactions li { | ||
+ | background: #ffffff; | ||
+ | } | ||
− | + | #p-cactions li a { | |
− | + | background-color: #ffffff; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .ns-0 * #p-cactions li a { | |
− | + | background-color: #ffffff; | |
− | + | } | |
− | |||
− | |||
− | + | /* Display "From Meta..." */ | |
− | + | #siteSub { | |
− | + | display: inline; | |
− | + | font-size: 120%; | |
− | + | font-weight: normal; | |
+ | } | ||
− | + | /* Do not print certain classes that shouldn't appear on paper */ | |
− | |||
− | |||
− | |||
− | |||
+ | @media print { | ||
+ | .editlink, .noprint, .metadata, .dablink { display: none } | ||
+ | } | ||
− | /* | + | /* Style [[Meta:Language select]] widget */ |
− | + | .lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;} | |
− | + | .lang_info a {font-weight:bold;font-family:Arial, | |
− | + | sans-serif;font-size:8pt;} | |
− | + | .lang_info input {font-size:8pt;} | |
− | + | .lang_info input.ls_select {font-weight:bold;} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* Disable grey background when code is used in a header */ | |
+ | h2 code, h3 code, h4 code, h5 code, h6 code {background:none;} | ||
+ | /* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */ | ||
+ | h2 code {font-weight:bold;} | ||
− | + | /* | |
− | |||
− | |||
− | |||
− | + | */ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 05:20, 10 May 2007
/* CSS placed here will affect users of the Monobook skin */ /* */ /* edit this file to customize the monobook skin for the entire site */ #fundraising { text-align: center; border: 1px solid gray; padding: 5px; margin-top: 5px; } #content { background: #ffffff; /* white */ } .ns-0 * #content { background: #ffffff; } #mytabs li { background: #f4f4f4; } .ns-0 * #mytabs li { background: #f4f4f4; } #mytabs li a { background-color: #f4f4f4; } .ns-0 * #mytabs li a { background-color: #f4f4f4; } /* For p-cactions (the top "tabs") it works only because my .js moves them into the "ns-0" wrapper anyway. */ #p-cactions li { background: #f4f4f4; } .ns-0 * #p-cactions li { background: #ffffff; } #p-cactions li a { background-color: #ffffff; } .ns-0 * #p-cactions li a { background-color: #ffffff; } /* Display "From Meta..." */ #siteSub { display: inline; font-size: 120%; font-weight: normal; } /* Do not print certain classes that shouldn't appear on paper */ @media print { .editlink, .noprint, .metadata, .dablink { display: none } } /* Style [[Meta:Language select]] widget */ .lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;} .lang_info a {font-weight:bold;font-family:Arial, sans-serif;font-size:8pt;} .lang_info input {font-size:8pt;} .lang_info input.ls_select {font-weight:bold;} /* Disable grey background when code is used in a header */ h2 code, h3 code, h4 code, h5 code, h6 code {background:none;} /* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */ h2 code {font-weight:bold;} /* */