Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« MediaWiki:Common.css » : différence entre les versions

Page de l’interface de MediaWiki
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
m Retrait du code obsolète > utilisation du CSS vector-2022
 
(41 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
  /* Le CSS placé ici sera appliqué à tous les habillages. */
  /* Le CSS placé ici sera appliqué à tous les habillages. */


body.page-Accueil .pagetitle.page-header { display: none; }
.mw-widget-dateInputWidget-calendar {position: inherit!important;}
body {  
 
background-color: #FCFDFD!important;  
.selflink {color: #468847;}
background-image: none!important;  
 
background-repeat: none;
.keyboard-key, .kbd {color:#0a7cc8; text-decoration: none;}
text-align: justify;
 
.coord {
    font-size: 12px;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: nowrap;
    border: 1px solid #EAEAEA;
    background-color:#D7EFEE!important;
  color:#468781!important;
}
}


.mw-widget-dateInputWidget-calendar {position: inherit!important;}


.selflink {color: #468847;}
code .red {
    color: #c7254e!important;
    background-color: #f9f2f4!important;
}
 


/* Couleurs des liens */
.coord a {
a {color:#0a7cc8; text-decoration: none;}
    background-color:#D7EFEE!important;
a:hover {color:#181D2E;text-decoration: none;}
  color:#468781!important;
a:active{color:#4E8DAF;}
a:visited {color:#0a7cc8;text-decoration: none;}
.new a , #p-personal .new a,#quickbar .new a, .new a:hover, .new a:visited {font-weight:italic!important;}
code, code a {  
background-color:#DFF0D8!important;
color: #468847!important;
}
}


Ligne 105 : Ligne 110 :
width: 300px !important;
width: 300px !important;
}
}
/* Wikitable 2
----------------------------------- */
table.wikitable2 th, table.wikitable2 td.hl1, table.wikitable2 th.hl1,
table.wiki-table2 th, table.wiki-table2 td.hl1, table.wikitable2 th.hl1 {
background: #f8f6eb;
padding: 0.35em 0.5em;
color: #000;
text-align: left;
}
/* Tableau de chronologie
----------------------------------- */
table.chronologie,
table.chrono {
margin: 1em -2px 1em -2px;
background: #fff;
border: 0;
border-collapse: separate;
empty-cells: show;
border-spacing: 1px;
border: 0;
}
table.chronologie th, table.chronologie td,
table.chrono th, table.chrono td {
border: 0;
border-bottom: 1px solid #D2D2D2;
padding: 0.35em 0.5em;
}
table.chronologie th, table.chronologie td.hl1, table.chronologie th.hl1,
table.chrono th, table.chrono td.hl1, table.chronologie th.hl1 {
background: #2D2D2D;
padding: 0.35em 0.5em;
color: #fff;
text-align: left;
position: relative;
}
table.chronologie td.hl2, table.chronologie th.hl2,
table.chrono td.hl2, table.chrono th.hl2 {
background: #fff;
color: #444;
text-align: center;
border: 1px solid #ccc;
border-top: 0;
}
table.chronologie td.hl3, table.chronologie th.hl3,
table.chrono td.hl3, table.chrono th.hl3 {
background: #ebf5f8;
color: #444;
text-align: center;
border: 1px solid #D2D2D2;
border-top: 0;
}
table.chronologie caption,
table.chrono caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.chronologie td,
table.chrono td {
vertical-align: top;
}
table.chronologie td:nth-child(even), table.chrono td:nth-child(even) {
background: #fbfbfb;
}
table.chronologie tr:hover td, table.chrono tr:hover td {
background: #f5fafc;
-webkit-transition: all .1s;
-moz-transition: all .1s;
-o-transition: all .1s;
transition: all .1s;
}
table.chronologie tr:hover td:nth-child(even), table.chrono tr:hover td:nth-child(even) {
background: #eaf3f7;
}
/* Code PRE TT (pour les commandes) */
code {
margin: 0 2px;
padding: 3px 5px;
white-space: nowrap;
border: 1px solid #EAEAEA;
background-color: #F8F6EB;
border-radius: 3px;
}
pre, code, tt {
font-size: 12px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
}
li { margin: 5px; }
   
   
/* Infobox
/* Infobox
Ligne 301 : Ligne 200 :
float: right!important;
float: right!important;
clear: right!important;
clear: right!important;
align:right!important:
 
/* haut droite bas gauche */
/* haut droite bas gauche */
margin: 0 0 .5em 1em!important;
margin: 0 0 .5em 1em!important;
Ligne 460 : Ligne 359 :
h2 {
h2 {
font-family: 'Helvetica', Arial, sans-serif;
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.5em;
font-size: 1.8em;
font-weight: bold;
font-weight: bold;
margin: 1.6em 0 1em 0;
margin: 1.6em 0 1em 0;
Ligne 469 : Ligne 368 :
h3 {
h3 {
font-family: 'Helvetica', Arial, sans-serif;
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.4em;
margin: 1.1em 0 0.4em 0;
margin: 1.1em 0 0.4em 0;
}
}
Ligne 520 : Ligne 420 :
   
   
.titre-annexe {font-size:14px;font-weight:bold;font-style:italic;margin-left:10px;}
.titre-annexe {font-size:14px;font-weight:bold;font-style:italic;margin-left:10px;}
/* G A L L E R Y */
li.gallerybox div.thumb {
border: 1px solid #B4BEC3;
background-color: #f5f5f5;
ul {
/* @embed */
list-style-image: none!important;
}
/* Palette de navigation */
table.navbox {
background: #F9F9F9;
border: 1px solid #AAA;
clear: both;
font-size: 90%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
table.navbox th {
background: #CCF;
padding-left: 1em;
padding-right: 1em;
}
table.navbox td.group {
background: #DDF;
vertical-align: middle;
width: 150px;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
table.navbox td.list {
text-align: left
}
table.navbox td.even {
background: #EEF
}
table.navbox td.banner {
background: #DDF;
vertical-align: middle;
padding-left: 1em;
padding-right: 1em;
}
/* Modèle de palettes groupées, [[Modèle:Palette]] */
div.navbox_group {
border: 1px solid #aaaaaa;
margin-top: 15px;
}
div.navbox_group table.navbox {
border: 0;
margin: 0;
}
/* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */
.navboxToggle,
.NavToggle {
font-size: 90%;
font-weight: normal;
float: right !important;
min-width: 6em;
}
/*ARTICLE DETAILLE */
div.article-detail {
border-color: #e7e7e7;
background-color: #fdfdfd;
display: block;
/* Pour le [[modèle: Article détaillé]] et autres */
margin: 0 0 .7em 2em;
font-size: 95%;
overflow: hidden;
border-style: solid;
border-width: 1px 0;
padding: 2px 0 1px 4px;
text-align: left;
}
/* List nolist */
#nolist li {
list-style-type:none;
}