« MediaWiki:Common.css » : différence entre les versions
Jump to navigation
Jump to search
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ |
/* 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. */ |
/* Couleur de fond verte pour Editsimilar. */ |
||
Dernière version du 16 décembre 2025 à 13:45
/* 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