MediaWiki:Netophonix.css : Différence entre versions

De NetoWiki
m (On prie)
(Méthode très brutale c/c depuis wikipédia)
Ligne 63 : Ligne 63 :
 
}
 
}
  
table.tableaubordure td {
+
 
  border: 1px solid #CCC;
+
 
 +
 
 +
table.wikitable { /* monobookocentré debut */
 +
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;
 +
} /* monobookocentré fin */
 +
 +
/* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche
 +
  sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none"
 +
  dans l'en-tête du tableau. */
 +
table.gauche, table.left {
 +
float:left;
 +
margin:0 1em 1em 0;
 +
}
 +
 +
table.droite, table.right {
 +
float:right;
 +
margin:0 0 1em 1em;
 +
}
 +
 +
table.centre, table.center {
 +
margin:1em auto;
 +
}
 +
 +
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */
 +
 +
table.wikitable[align=center] {margin:1em auto;}
 +
 +
/* 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 du 26 juillet 2010 à 19:03

/* 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: 50%;
}


/* Différencier légèrement les pages de redirection des vrais liens dans Special:AllPages */
div.allpagesredirect {
  font-style: italic;
  color: #c5c589;
}




table.wikitable { /* monobookocentré debut */
 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;
} /* monobookocentré fin */
 
/* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche
   sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none"
   dans l'en-tête du tableau. */
table.gauche, table.left {
 float:left;
 margin:0 1em 1em 0;
}
 
table.droite, table.right {
 float:right;
 margin:0 0 1em 1em;
}
 
table.centre, table.center {
 margin:1em auto;
}
 
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */
 
table.wikitable[align=center] {margin:1em auto;}
 
/* 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;
}