MediaWiki:Netophonix.css : Différence entre versions

De NetoWiki
(Méthode très brutale c/c depuis wikipédia)
m (marge intermédaire)
 
(17 révisions intermédiaires par 3 utilisateurs non affichées)
Ligne 53 : Ligne 53 :
 
sup.reference {
 
sup.reference {
 
   font-size: 75%;
 
   font-size: 75%;
   vertical-align: 50%;
+
   vertical-align: middle;
 
}
 
}
  
Ligne 63 : Ligne 63 :
 
}
 
}
  
 +
/* 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;
 +
}
  
table.wikitable { /* monobookocentré debut */
+
.tableaubordure {
margin-top:1em;
+
  margin: auto;
margin-bottom:1em;
+
  width: 95%;
background:#F9F9F9;
+
  border-collapse: collapse;
border:1px #AAA solid;
+
  box-shadow:2px 2px 6px rgba(0, 0, 0, 1);
border-collapse:collapse;
 
 
}
 
}
+
 
table.wikitable th, table.wikitable td {
+
.gbd-haut td {
border:1px #AAA solid;
+
  border-top-width: 3px;
padding:.3em;
+
}
 +
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;  
 
}
 
}
+
 
table.wikitable th, .wikitable_header {
+
/* Ombre et couleurs des blocs */
background:#F2F2F2;
+
.bloc {
text-align:center;
+
  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);
 
}
 
}
+
 
table.wikitable caption {
+
.bandeau {
margin-left:inherit;
+
  text-align: left;
margin-right:inherit;
+
  margin: 8px 10% 12px;
} /* monobookocentré fin */
+
  padding:5px;
+
  border-style: solid;
/* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche
+
  border-width: 1px 1px 1px 10px;
  sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none"
+
  border-color: #152812;
  dans l'en-tête du tableau. */
+
  background-color: #1C421C;
table.gauche, table.left {
+
  padding: 5px 10px;
float:left;
 
margin:0 1em 1em 0;
 
 
}
 
}
+
 
table.droite, table.right {
+
.mini-bandeau {
float:right;
+
  width:70%;
margin:0 0 1em 1em;
+
  margin: 7px auto 7px 0px;
}
+
  padding:1px 7px;
+
  background:#1C421C;
table.centre, table.center {
+
  border:solid #152812;
margin:1em auto;
+
  border-width:1px 1px 1px 0;
}
+
  text-align:left;
+
  font-size:95%;
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */
+
  -moz-border-radius: 0 7px 7px 0;
+
  -webkit-border-radius: 0 7px 7px 0;
table.wikitable[align=center] {margin:1em auto;}
+
  border-radius: 0 7px 7px 0;
 
/* SPORTTABLE */
 
 
/* Tableau préformaté permettant lignes blanches et lignes grises. Syntaxe : class="sporttable"
 
  Exemple sur [[Équipe d'Angleterre de rugby à XV#Statistiques sur les matchs|cet article]]. */
 
table.sporttable { /* monobookocentré debut */
 
margin:1em 1em 1em 0;
 
background:#F9F9F9;
 
border:1px #AAA solid;
 
border-collapse:collapse;
 
}
 
 
table.sporttable th, table.sporttable td {
 
border:1px #AAA solid;
 
padding:.2em;
 
}
 
 
table.sporttable th {
 
font-weight:bold;
 
} /* monobookocentré fin */
 
 
table.sporttable caption {
 
margin-left:inherit;
 
margin-right:inherit;
 
 
}
 
}

Version actuelle datée du 15 décembre 2011 à 00: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;
}