MediaWiki:Common.css
Jump to navigation
Jump to search
Note : après avoir enregistré tes préférences, tu devras forcer son rechargement complet en ignorant le contenu actuel du cache de ton explorateur pour voir les changements : Mozilla / Firefox / Konqueror / Safari : maintiens la touche Majuscule (Shift) en cliquant le bouton Actualiser (Reload,) ou presse Maj-Ctrl-R (Maj-Cmd-R sur Apple Mac) ; Internet Explorer / Opera : maintiens la touche Ctrl en cliquant le bouton Actualiser ou presse Ctrl-F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* ===================================================== */
/* RÉPARTITION GÉNÉRALE – SKIN WIKIMINI */
/* ===================================================== */
/* Conteneur principal */
.mw-body.container {
width: 770px;
max-width: 770px;
margin: 0 auto;
padding: 0 !important;
}
/* Ligne principale (contenu + sidebar) */
#fluid-row {
margin-left: 0;
margin-right: 0;
}
/* ======================= */
/* CONTENU PRINCIPAL */
/* ======================= */
#fluid-content {
width: calc(770px - 260px);
padding: 10px;
box-sizing: border-box;
}
/* Supprimer les paddings internes hérités */
#content,
#bodyContent,
#mw-content-text,
.mw-parser-output {
padding: 0;
}
/* ======================= */
/* COLONNE DE DROITE */
/* ======================= */
#bodyTools.fluid-sidebar {
width: 260px;
padding: 0;
box-sizing: border-box;
}
/* Neutraliser Bootstrap */
#fluid-content.col-md-7,
#bodyTools.col-md-5 {
float: left;
}
/* ======================= */
/* FOOTER */
/* ======================= */
#footer {
padding: 0;
margin: 0 auto;
width: 770px;
}
/* ======================= */
/* ÉVITER LE SCROLL HORIZONTAL */
/* ======================= */
body {
overflow-x: hidden;
}
/* Couleur de fond verte pour Editsimilar. */
#editsimilar_links {background-color: #DDFFDD !important;color: #000000 !important;}
/* DIFFS */
/* Mise en évidence des diffs par du gras et de la couleur. */
table.diff {
padding:.5em;
}
table.diff td {
vertical-align:top;
}
td.diff-addedline {
background:#D8E4F6;
}
td.diff-addedline .diffchange {
background:#B0C0F0;
color:#001040;
font-weight:bold;
}
td.diff-deletedline {
background:#E4F6D8;
}
td.diff-deletedline .diffchange {
background:#B0E897;
color:#104000;
font-weight:bold;
}
td.diff-context {
background:#FEFEFE;
}
/* Couleur de fond transparente pour les diffs */
table.diff, td.diff-otitle, td.diff-ntitle, td.diff-context {
background-color: transparent;
}
/* -- A AJOUTER DANS LE SKIN (MW 1,25, 2015) -------------------- */
/* Visual Editor: Hide sumary and options in Save dialog */
.ve-ui-mwSaveDialog-summaryLabel,
.ve-ui-mwSaveDialog-summary,
.ve-ui-mwSaveDialog-options {
display: none;
}
/* LQT: Hide edit signature */
.lqt-signature-edit-button,
.lqt-signature-preview,
.lqt-signature-edit {
display:none;
}
/* LQT: Hide header links */
.lqt_header_commands {
display: none;
}
/* This will hide copywarning2 message when VisualEditor is not being used */
#editpage-copywarn {
display: none;
}
/* Autres ajustements à apporter dans le skin */
/* le suivant devrait plutôt être résolu en espaçant les box gris (ils sont serrés) */
#fluid-sidebar .dailyPic {
margin-top: 20px;
margin-bottom: 20px;
}
/* Temporary fix: Hide wiki code edit link on main namespace for VE compatible devices: */
html.client-js.ve-available body.ns-0 li.ca-edit {
display: none !important;
}
/* Temporary fix: Show wiki code edit link when VE is activated (edit mode): */
html.client-js.ve-available.ve-activated body.ns-0 li.ca-edit {
display: list-item !important;
}
Ce que tu peux faire
Outils

Outils personnels