MediaWiki:Netophonix.css : Différence entre versions
De NetoWiki
m J'en ai bavé, mais je crois que je tiens un bon affichage pour les citations. |
m marge intermédaire |
||
| (32 versions intermédiaires par 3 utilisateurs non affichées) | |||
| Ligne 25 : | Ligne 25 : | ||
font-weight: bold; | font-weight: bold; | ||
margin: 4px 5px 4px 0px; | margin: 4px 5px 4px 0px; | ||
} | |||
/* Ce qui suit provient du CSS Common.css de Wikipédia. | |||
* ARTICLE DÉTAILLÉ */ | |||
.detail, .details { | |||
margin:0 0 .7em 2em; | |||
border:solid #D2D9D5; | |||
border-width:1px 0; | |||
text-align:left; | |||
font-size:95%; | |||
background:#476250; | |||
padding:1px 4px; | |||
display:table; | |||
} /* monobookocentré */ | |||
.detail > span { | |||
display:table-row; | |||
} /* monobookocentré */ | |||
.detail > span > span { | |||
display:table-cell; | |||
padding-left:4px; | |||
width:100%; | |||
} /* monobookocentré */ | |||
/* Pour que les références soient centrées */ | |||
sup.reference { | |||
font-size: 75%; | |||
vertical-align: middle; | |||
} | |||
/* Différencier légèrement les pages de redirection des vrais liens dans Special:AllPages */ | |||
div.allpagesredirect { | |||
font-style: italic; | |||
color: #c5c589; | |||
} | |||
/* Pour permettre de faire des tableaux de taille différente, pour Johnny */ | |||
.tableaubordure, .tableaubordure td, .tableaubordure th { | |||
border: 1px solid #346527; | |||
border-collapse: collapse; | |||
padding: 5px; | |||
text-align:center; | |||
vertical-align:middle; | |||
} | |||
.tableaubordure th { | |||
background-color: #152212; | |||
color: #ecffe8; | |||
font-weight:bold; | |||
margin:1px; | |||
text-shadow:2px 2px 4px black; | |||
} | |||
.tableaubordure td { | |||
border: 1px solid #256c12; | |||
background-color:#124105; | |||
} | |||
.tableaubordure { | |||
margin: auto; | |||
width: 95%; | |||
border-collapse: collapse; | |||
box-shadow:2px 2px 6px rgba(0, 0, 0, 1); | |||
} | |||
.gbd-haut td { | |||
border-top-width: 3px; | |||
} | |||
td.gbd-gauche, th.gbd-gauche { | |||
border-left-width: 3px; | |||
} | |||
td.gbd-droite, th.gbd-droite { | |||
border-right-width: 3px; | |||
} | |||
.gbd-bas td { | |||
border-bottom-width: 3px; | |||
} | |||
/* Ombre et couleurs des blocs */ | |||
.bloc { | |||
border: 1px solid #152812; | |||
background-color: #203F19; | |||
margin: 1%; | |||
padding: 3px 6px 3px 6px; | |||
-moz-border-radius: 5px 5px; | |||
-webkit-border-radius: 5px 5px; | |||
border-radius: 5px 5px; | |||
-moz-box-shadow: 2px 2px 2px rgba(0,0,0, 0.5); | |||
-webkit-box-shadow: 2px 2px 2px rgba(0,0,0, 0.5); | |||
box-shadow: 2px 2px 2px rgba(0,0,0, 0.5); | |||
} | |||
.bandeau { | |||
text-align: left; | |||
margin: 8px 10% 12px; | |||
padding:5px; | |||
border-style: solid; | |||
border-width: 1px 1px 1px 10px; | |||
border-color: #152812; | |||
background-color: #1C421C; | |||
padding: 5px 10px; | |||
} | |||
.mini-bandeau { | |||
width:70%; | |||
margin: 7px auto 7px 0px; | |||
padding:1px 7px; | |||
background:#1C421C; | |||
border:solid #152812; | |||
border-width:1px 1px 1px 0; | |||
text-align:left; | |||
font-size:95%; | |||
-moz-border-radius: 0 7px 7px 0; | |||
-webkit-border-radius: 0 7px 7px 0; | |||
border-radius: 0 7px 7px 0; | |||
} | } | ||
Version actuelle datée du 14 décembre 2011 à 22:20
/* Le CSS placé ici affectera les utilisateurs du skin par défaut du Netowiki. */
div.citation {
padding-left:15px;
padding-right: 15px;
text-align: justify;
text-indent: 15px;
}
div.citation:first-line {
text-indent: 0px;
}
span.quotefin {
float: right;
font-family: "Times New Roman",Verdana,Tahoma,Arial,serif;
font-size: 4em;
font-weight: bold;
margin: -0.3em 0px 4px 5px;
}
span.quotedebut {
float: left;
font-family: "Times New Roman",Verdana,Tahoma,Arial,serif;
font-size: 5em;
font-weight: bold;
margin: 4px 5px 4px 0px;
}
/* Ce qui suit provient du CSS Common.css de Wikipédia.
* ARTICLE DÉTAILLÉ */
.detail, .details {
margin:0 0 .7em 2em;
border:solid #D2D9D5;
border-width:1px 0;
text-align:left;
font-size:95%;
background:#476250;
padding:1px 4px;
display:table;
} /* monobookocentré */
.detail > span {
display:table-row;
} /* monobookocentré */
.detail > span > span {
display:table-cell;
padding-left:4px;
width:100%;
} /* monobookocentré */
/* Pour que les références soient centrées */
sup.reference {
font-size: 75%;
vertical-align: middle;
}
/* Différencier légèrement les pages de redirection des vrais liens dans Special:AllPages */
div.allpagesredirect {
font-style: italic;
color: #c5c589;
}
/* Pour permettre de faire des tableaux de taille différente, pour Johnny */
.tableaubordure, .tableaubordure td, .tableaubordure th {
border: 1px solid #346527;
border-collapse: collapse;
padding: 5px;
text-align:center;
vertical-align:middle;
}
.tableaubordure th {
background-color: #152212;
color: #ecffe8;
font-weight:bold;
margin:1px;
text-shadow:2px 2px 4px black;
}
.tableaubordure td {
border: 1px solid #256c12;
background-color:#124105;
}
.tableaubordure {
margin: auto;
width: 95%;
border-collapse: collapse;
box-shadow:2px 2px 6px rgba(0, 0, 0, 1);
}
.gbd-haut td {
border-top-width: 3px;
}
td.gbd-gauche, th.gbd-gauche {
border-left-width: 3px;
}
td.gbd-droite, th.gbd-droite {
border-right-width: 3px;
}
.gbd-bas td {
border-bottom-width: 3px;
}
/* Ombre et couleurs des blocs */
.bloc {
border: 1px solid #152812;
background-color: #203F19;
margin: 1%;
padding: 3px 6px 3px 6px;
-moz-border-radius: 5px 5px;
-webkit-border-radius: 5px 5px;
border-radius: 5px 5px;
-moz-box-shadow: 2px 2px 2px rgba(0,0,0, 0.5);
-webkit-box-shadow: 2px 2px 2px rgba(0,0,0, 0.5);
box-shadow: 2px 2px 2px rgba(0,0,0, 0.5);
}
.bandeau {
text-align: left;
margin: 8px 10% 12px;
padding:5px;
border-style: solid;
border-width: 1px 1px 1px 10px;
border-color: #152812;
background-color: #1C421C;
padding: 5px 10px;
}
.mini-bandeau {
width:70%;
margin: 7px auto 7px 0px;
padding:1px 7px;
background:#1C421C;
border:solid #152812;
border-width:1px 1px 1px 0;
text-align:left;
font-size:95%;
-moz-border-radius: 0 7px 7px 0;
-webkit-border-radius: 0 7px 7px 0;
border-radius: 0 7px 7px 0;
}