MediaWiki:Monobook.css : Différence entre versions
Un article de WikiSimland 3.0.
(5 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1: | Ligne 1: | ||
− | + | /* <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 { | #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 */ | |
− | font- | + | h2 code {font-weight:bold;} |
− | + | ||
− | } | + | |
− | /* | + | /* </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> */