Inscris-toi pour écrire dans l'encyclopédie Wikimini!

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

Jump to navigation Jump to search
Aucun résumé des modifications
Aucun résumé des modifications
 
(16 versions intermédiaires par 4 utilisateurs 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. */
/* ===================================================== */
/* RÉPARTITION GÉNÉRALE – SKIN WIKIMINI */
/* ===================================================== */


/* Conteneur principal */
.collapseButtonTest {
.mw-body.container {
display: -moz-inline-box;
width: 770px;
display: inline-block;
max-width: 770px;
font-weight: normal;
margin: 0 auto;
min-width: 5em;
padding: 0 !important;
margin-left: 0.5em;
color: #0645ad;
white-space: nowrap;
padding: 0;
text-align: left;
}
}

/* Ligne principale (contenu + sidebar) */
.collapseButtonBalance {
#fluid-row {
display: -moz-inline-box;
margin-left: 0;
display: inline-block;
margin-right: 0;
width: 5em;
margin-right: 2.5em;
}
}

/* ======================= */
.collapseButtonContent {
/* CONTENU PRINCIPAL */
padding: 0 0.25em 0 0.25em;
/* ======================= */
border: 1px solid transparent;

text-decoration: none;
#fluid-content {
color: #0645ad;
width: calc(770px - 260px);
padding: 10px;
box-sizing: border-box;
}
}

/* Supprimer les paddings internes hérités */
a.collapseButtonContent:hover {
#content,
border: 1px solid;
#bodyContent,
border-color: white black black white;
#mw-content-text,
cursor: pointer;
.mw-parser-output {
cursor: hand;
padding: 0;
text-decoration: none;
color: #0645ad;
}
}

/* ======================= */
.collapseButtonHide {
/* COLONNE DE DROITE */
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/ArrowUpNavbox.svg/7px-ArrowUpNavbox.svg.png);
/* ======================= */

#bodyTools.fluid-sidebar {
width: 260px;
padding: 0;
box-sizing: border-box;
}
}

/* Neutraliser Bootstrap */
.collapseButtonShow {
#fluid-content.col-md-7,
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/ArrowDownNavbox.svg/7px-ArrowDownNavbox.svg.png);
#bodyTools.col-md-5 {
float: left;
}
}

/* ======================= */
.collapseButtonHideIE6 {
/* FOOTER */
background-image: url(http://upload.wikimedia.org/wikipedia/en/9/99/ArrowUpNavbox.gif);
/* ======================= */

#footer {
padding: 0;
margin: 0 auto;
width: 770px;
}
}

/* ======================= */
.collapseButtonShowIE6 {
/* ÉVITER LE SCROLL HORIZONTAL */
background-image: url(http://upload.wikimedia.org/wikipedia/en/7/7b/ArrowDownNavbox.gif);
/* ======================= */

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. */
.collapseButtonHide,
table.diff {
.collapseButtonShow,
padding:.5em;
.collapseButtonHideIE6,
}
.collapseButtonShowIE6 {
table.diff td {
color: #0645ad;
vertical-align:top;
padding-left: 0.7em;
}
background-repeat: no-repeat;
td.diff-addedline {
background-position: left center;
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 */
span.navbarEditLinks {
table.diff, td.diff-otitle, td.diff-ntitle, td.diff-context {
display: none;
background-color: transparent;
}
}


/* -- A AJOUTER DANS LE SKIN (MW 1,25, 2015) -------------------- */
/* Couleur de fond verte pour Editsimilar. */

#editsimilar_links {background-color: #DDFFDD !important;color: #000000 !important;}
/* 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;
}

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;
}
Wikiboo Outils personnels