MediaWiki:Monobook.css : Différence entre versions
Un article de WikiSimland 3.0.
Ligne 1: | Ligne 1: | ||
− | /* | + | /* <pre><nowiki> */ |
− | + | /* edit this file to customize the monobook skin for the entire site */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#fundraising { | #fundraising { | ||
text-align: center; | text-align: center; | ||
border: 1px solid gray; | border: 1px solid gray; | ||
padding: 5px; | padding: 5px; | ||
− | + | margin-top: 5px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#content { | #content { | ||
− | background: # | + | background: #ffffff; /* white */ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
.ns-0 * #content { | .ns-0 * #content { | ||
− | background: | + | background: #ffffff; |
} | } | ||
#mytabs li { | #mytabs li { | ||
− | background: # | + | background: #f4f4f4; |
} | } | ||
.ns-0 * #mytabs li { | .ns-0 * #mytabs li { | ||
− | background: | + | background: #f4f4f4; |
} | } | ||
#mytabs li a { | #mytabs li a { | ||
− | background-color: # | + | background-color: #f4f4f4; |
} | } | ||
.ns-0 * #mytabs li a { | .ns-0 * #mytabs li a { | ||
− | background-color: | + | background-color: #f4f4f4; |
} | } | ||
− | + | /* For p-cactions (the top "tabs") it works only because my .js moves them into the | |
− | background | + | "ns-0" wrapper anyway. */ |
+ | #p-cactions li { | ||
+ | background: #f4f4f4; | ||
} | } | ||
− | .ns-0 * #p-cactions li | + | .ns-0 * #p-cactions li { |
− | background | + | background: #ffffff; |
} | } | ||
− | + | #p-cactions li a { | |
− | background-color: | + | background-color: #ffffff; |
} | } | ||
− | .ns-0 * # | + | .ns-0 * #p-cactions li a { |
− | + | background-color: #ffffff; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* Display "From | + | /* Display "From Meta..." */ |
#siteSub { | #siteSub { | ||
display: inline; | display: inline; | ||
− | font-size: | + | font-size: 120%; |
font-weight: normal; | font-weight: normal; | ||
} | } | ||
− | + | /* Do not print certain classes that shouldn't appear on paper */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
@media print { | @media print { | ||
− | |||
− | |||
.editlink, .noprint, .metadata, .dablink { display: none } | .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;} | ||
− | + | /* </nowiki></pre> */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </nowiki></pre>*/ | + |
Version actuelle en date du 20 juin 2007 à 05:02
/* <pre><nowiki> */ /* 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;} /* </nowiki></pre> */