MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(test) |
No edit summary |
||
Line 1: | Line 1: | ||
//<source lang="css"> | |||
/** Le CSS placé ici sera appliqué à toutes les apparences. **/ | |||
/** | /* Lien sur image */ | ||
.imln1 {position:relative; z-index:2; overflow:hidden; vertical-align:middle;} | |||
.imln2 {position:absolute; overflow:hidden;} | |||
. | |||
} | |||
. | .imln2 span {text-decoration:none;} | ||
} | |||
/* WIKITABLE */ | |||
. | /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */ | ||
/* Tableaux selon la charte graphique. Ils sont centrés par défaut. */ | |||
table.wikitable { | table.wikitable { | ||
margin-top:1em; | margin-top:1em; | ||
Line 124: | Line 21: | ||
border-collapse:collapse; | border-collapse:collapse; | ||
} | } | ||
table.wikitable th, table.wikitable td { | table.wikitable th, table.wikitable td { | ||
border:1px #AAA solid; | border:1px #AAA solid; | ||
padding:.3em; | padding:.3em; | ||
} | } | ||
table.wikitable th, .wikitable_header { | table.wikitable th, .wikitable_header { | ||
background:#F2F2F2; | background:#F2F2F2; | ||
text-align:center; | text-align:center; | ||
} | } | ||
table.wikitable caption { | table.wikitable caption { | ||
margin-left:inherit; | margin-left:inherit; | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } | ||
/* | |||
/* Menu en haut des pages (en dur dans le skin) */ | |||
#domaines { | |||
position:absolute; | |||
top:-20px; | |||
right:5px; | |||
} | } | ||
#domaines a img { | |||
padding:0px; | |||
margin:0px; | |||
border:0px; | |||
} | } | ||
/* Bandeau de la page d'accueil */ | |||
#friseAccueil { | |||
position:relative; | |||
background-image:url("images/3/3a/Frise_1.jpg"); | |||
background-repeat:repeat-x; | |||
width:100%; | |||
height:120px; | |||
color:#ffffff; | |||
padding-bottom:10px; | |||
} | } | ||
#friseAccueil p { | |||
position:absolute; | |||
bottom:2px; | |||
left:2em; | |||
font-size:105%; | |||
letter-spacing: 0.1em; | |||
} | } | ||
/* Catégories cachées */ | |||
#mw-hidden-catlinks {display:none;} | |||
/* Affiche en italique les redirects dans les catégories */ | |||
.redirect-in-category {font-style:italic;} | |||
.i_bg {width:280px; min-height:275px; float:right; margin-left:5px; margin-bottom:1em; background-repeat:repeat-y;} | .i_bg {width:280px; min-height:275px; float:right; margin-left:5px; margin-bottom:1em; background-repeat:repeat-y;} | ||
Line 269: | Line 177: | ||
.if_univers {background-image:url("images/tpl/infobox_bas_univers.png");} | .if_univers {background-image:url("images/tpl/infobox_bas_univers.png");} | ||
Revision as of 13:09, 2 April 2010
//<source lang="css"> /** Le CSS placé ici sera appliqué à toutes les apparences. **/ /* Lien sur image */ .imln1 {position:relative; z-index:2; overflow:hidden; vertical-align:middle;} .imln2 {position:absolute; overflow:hidden;} .imln2 span {text-decoration:none;} /* WIKITABLE */ /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */ /* Tableaux selon la charte graphique. Ils sont centrés par défaut. */ table.wikitable { margin-top:1em; margin-bottom:1em; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td { border:1px #AAA solid; padding:.3em; } table.wikitable th, .wikitable_header { background:#F2F2F2; text-align:center; } table.wikitable caption { margin-left:inherit; margin-right:inherit; } /* Menu en haut des pages (en dur dans le skin) */ #domaines { position:absolute; top:-20px; right:5px; } #domaines a img { padding:0px; margin:0px; border:0px; } /* Bandeau de la page d'accueil */ #friseAccueil { position:relative; background-image:url("images/3/3a/Frise_1.jpg"); background-repeat:repeat-x; width:100%; height:120px; color:#ffffff; padding-bottom:10px; } #friseAccueil p { position:absolute; bottom:2px; left:2em; font-size:105%; letter-spacing: 0.1em; } /* Catégories cachées */ #mw-hidden-catlinks {display:none;} /* Affiche en italique les redirects dans les catégories */ .redirect-in-category {font-style:italic;} .i_bg {width:280px; min-height:275px; float:right; margin-left:5px; margin-bottom:1em; background-repeat:repeat-y;} .infobox {width:280px; background-repeat:no-repeat;} .infobox .i_in {min-height:250px; padding:15px; margin-bottom:-15px; font-size:90%; text-align:center;} .infobox div.title {font-size:110%; font-weight:bold; padding:2px; margin:0 0 10px 0;} .infobox div.subtitle {font-weight:bold; padding:0; margin:0;} .infobox hr {height:2px; border:0; clear:both;} .infobox table {width:100%; background-color:transparent;} .infobox table th {text-align:left; vertical-align:top;} .infobox table td {text-align:left; vertical-align:middle;} .i_footer {width:280px; height:25px; background-repeat:no-repeat;} /*** Classes for special colors of the domains ***/ /* Technic */ .i_technics {background-image:url("images/tpl/infobox_haut_techniques.png");} .i_technics div.title {border-bottom:2px solid #f7dfb9;} .i_technics div.subtitle {background-color:#e1be66;} .i_technics hr {color:#e1be66; background-color:#e1be66;} .ibg_technics {background-image:url("images/tpl/infobox_bg_techniques.png");} .if_technics {background-image:url("images/tpl/infobox_bas_techniques.png");} /* Activities */ .i_activities {background-image:url("images/tpl/infobox_haut_animation.png");} .i_activities div.title {border-bottom:2px solid #f0ff80;} .i_activities div.subtitle {background-color:#ffdf80;} .i_activities hr {color:#ffdf80; background-color:#ffdf80;} .ibg_activities {background-image:url("images/tpl/infobox_bg_animation.png");} .if_activities {background-image:url("images/tpl/infobox_bas_animation.png");} /* Scout method */ .i_method {background-image:url("images/tpl/infobox_haut_theorie.png");} .i_method div.title {border-bottom:2px solid #ffd6d6;} .i_method div.subtitle {background-color:#ffb6b6;} .i_method hr {color:#ffb6b6; background-color:#ffb6b6;} .ibg_method {background-image:url("images/tpl/infobox_bg_theorie.png");} .if_method {background-image:url("images/tpl/infobox_bas_theorie.png");} /* Scouting in the world */ .i_world {background-image:url("images/tpl/infobox_haut_monde.png");} .i_world div.title {border-bottom:2px solid #dcf2e4;} .i_world div.subtitle {background-color:#98e6b2;} .i_world hr {color:#98e6b2; background-color:#98e6b2;} .ibg_world {background-image:url("images/tpl/infobox_bg_monde.png");} .if_world {background-image:url("images/tpl/infobox_bas_monde.png");} /* History of scouting */ .i_history {background-image:url("images/tpl/infobox_haut_histoire.png");} .i_history div.title {border-bottom:2px solid #cafdb5;} .i_history div.subtitle {background-color:#add67a;} .i_history hr {color:#add67a; background-color:#add67a;} .ibg_history {background-image:url("images/tpl/infobox_bg_histoire.png");} .if_history {background-image:url("images/tpl/infobox_bas_histoire.png");} /* Univers */ .i_univers {background-image:url("images/tpl/infobox_haut_univers.png");} .i_univers div.title {border-bottom:2px solid #e1cffb;} .i_univers div.subtite {background-color:#d0adff;} .i_univers hr {color:#d0adff; background-color:#d0adff;} .ibg_univers {background-image:url("images/tpl/infobox_bg_univers.png");} .if_univers {background-image:url("images/tpl/infobox_bas_univers.png");}