MediaWiki:Common.css: Difference between revisions

From ScoutWiki, For Everyone, Everywhere involved with Scouting and Guiding...
Jump to navigation Jump to search
No edit summary
No edit summary
Line 177: Line 177:
   
   
.if_univers {background-image:url("images/tpl/infobox_bas_univers.png");}
.if_univers {background-image:url("images/tpl/infobox_bas_univers.png");}
/********* Liens portails *********/
/*** Styles généraux ***/
.lp_bg {width:100%; height:45px; position:relative; clear:both; background-repeat:repeat-x;}
.lp_g {width:100%; height:45px; background:url("images/tpl/lp_g.png") left no-repeat;}
.lp_d {width:100%; height:45px; background:right no-repeat;}
.lp_degr {position:absolute; top:10px; height:26px; line-height:26px; left:23px; padding-left:20px; min-width:300px; background-repeat:repeat-y; text-align:center;font-size:90%; width:90%;}
.lp_degr b {font-size:130%;}
.lp_lnk {position:absolute; top: 8px; left:8px;}
/* Lien sur l'image : allégeons le html */
.lp_lnk div.imln1 {width:30px; height:30px;}
.lp_lnk div.imln2 {font-size:30px; line-height:30px; letter-spacing:30px;}
/*** Styles par domaine ***/
/* Techniques */
.lpb_technics {background-image:url("images/tpl/lp_bg_techniques.png");}
.lpd_technics {background-image:url("images/tpl/lp_d_techniques.png");}
.degr_technics {background-image:url("images/tpl/degr_techniques.png");}
/* Activities */
.lpb_activities {background-image:url("images/tpl/lp_bg_animation.png");}
.lpd_activities {background-image:url("images/tpl/lp_d_animation.png");}
.degr_activities {background-image:url("images/tpl/degr_animation.png");}
/* Scouting method */
.lpb_method {background-image:url("images/tpl/lp_bg_theorie.png");}
.lpd_method {background-image:url("images/tpl/lp_d_theorie.png");}
.degr_method {background-image:url("images/tpl/degr_theorie.png");}
/* Scouting in the world */
.lpb_world {background-image:url("images/tpl/lp_bg_monde.png");}
.lpd_world {background-image:url("images/tpl/lp_d_monde.png");}
.degr_world {background-image:url("images/tpl/degr_monde.png");}
/* History of scouting */
.lpb_history {background-image:url("images/tpl/lp_bg_histoire.png");}
.lpd_history {background-image:url("images/tpl/lp_d_histoire.png");}
.degr_history {background-image:url("images/tpl/degr_histoire.png");}
/* Univers */
.lpb_univers {background-image:url("images/tpl/lp_bg_univers.png");}
.lpd_univers {background-image:url("images/tpl/lp_d_univers.png");}
.degr_univers {background-image:url("images/tpl/degr_univers.png");}
//</source>

Revision as of 13:13, 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");}

/********* Liens portails *********/

/*** Styles généraux ***/

.lp_bg {width:100%; height:45px; position:relative; clear:both; background-repeat:repeat-x;}

.lp_g {width:100%; height:45px; background:url("images/tpl/lp_g.png") left no-repeat;}

.lp_d {width:100%; height:45px; background:right no-repeat;}

.lp_degr {position:absolute; top:10px; height:26px; line-height:26px; left:23px; padding-left:20px; min-width:300px; background-repeat:repeat-y; text-align:center;font-size:90%; width:90%;}

.lp_degr b {font-size:130%;}

.lp_lnk {position:absolute; top: 8px; left:8px;}

/* Lien sur l'image : allégeons le html */
.lp_lnk div.imln1 {width:30px; height:30px;}

.lp_lnk div.imln2 {font-size:30px; line-height:30px; letter-spacing:30px;}

/*** Styles par domaine ***/

/* Techniques */
.lpb_technics {background-image:url("images/tpl/lp_bg_techniques.png");}

.lpd_technics {background-image:url("images/tpl/lp_d_techniques.png");}

.degr_technics {background-image:url("images/tpl/degr_techniques.png");}

/* Activities */
.lpb_activities {background-image:url("images/tpl/lp_bg_animation.png");}

.lpd_activities {background-image:url("images/tpl/lp_d_animation.png");}

.degr_activities {background-image:url("images/tpl/degr_animation.png");}

/* Scouting method */
.lpb_method {background-image:url("images/tpl/lp_bg_theorie.png");}

.lpd_method {background-image:url("images/tpl/lp_d_theorie.png");}

.degr_method {background-image:url("images/tpl/degr_theorie.png");}

/* Scouting in the world */
.lpb_world {background-image:url("images/tpl/lp_bg_monde.png");}

.lpd_world {background-image:url("images/tpl/lp_d_monde.png");}

.degr_world {background-image:url("images/tpl/degr_monde.png");}

/* History of scouting */
.lpb_history {background-image:url("images/tpl/lp_bg_histoire.png");}

.lpd_history {background-image:url("images/tpl/lp_d_histoire.png");}

.degr_history {background-image:url("images/tpl/degr_histoire.png");}

/* Univers */
.lpb_univers {background-image:url("images/tpl/lp_bg_univers.png");}
 
.lpd_univers {background-image:url("images/tpl/lp_d_univers.png");}
 
.degr_univers {background-image:url("images/tpl/degr_univers.png");}

//</source>