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

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;
}

/* ==========================================================================
   TEST CORRECTIFS WIKIMAXI (Points 1 à 12)
   ========================================================================== */

/* 1 & 1b. Polices */
body, #content, .mw-body { font-size: 15px !important; }

/* 2. Largeur et Marges */
@media (min-width: 768px) {
    .mw-body.container { width: 960px !important; max-width: 960px !important; margin: 0 auto !important; }
    #fluid-content { width: calc(100% - 280px) !important; padding: 10px 20px !important; }
    .fluid-sidebar { width: 260px !important; }
}

/* 3. Images flottantes */
.mw-content-ltr .floatleft, .mw-content-ltr .tleft { float: left !important; margin: 0.5em 1.4em 0.8em 0 !important; }
.mw-content-ltr .floatright, .mw-content-ltr .tright { float: right !important; margin: 0.5em 0 0.8em 1.4em !important; }

/* 4. Recherche */
div#simpleSearch { height: 32px !important; }

/* 5. Puces vertes */
.mw-parser-output ul { list-style: none !important; margin-left: 1.5em !important; }
.mw-parser-output ul li::before { content: "■"; color: #8cc63f; font-size: 0.8em; display: inline-block; width: 1.2em; margin-left: -1.2em; }

/* 6. Sous-titre */
#siteSub { display: block !important; visibility: visible !important; }

/* 7. Bordures images */
.thumbinner { border: 1px solid #ccc !important; padding: 4px !important; background-color: #f9f9f9 !important; }

/* 8 & 9. Catégories */
#catlinks { border: none !important; background: none !important; padding: 15px 0 !important; margin-top: 25px !important; }
#catlinks ul { display: inline; margin: 0; padding: 0; list-style: none !important; }
#catlinks li { display: inline-block !important; background: #f1f1f1; border: 1px solid #ddd !important; border-radius: 15px !important; padding: 3px 12px !important; margin: 0 5px 5px 0 !important; font-size: 0.85em; border-left: 1px solid #ddd !important; }

/* 10. Icône utilisateur (Chemin absolu nécessaire ici) */
li#pt-userpage, li#pt-login { 
    background: url("/w/skins/Wikimini/resources/images/user.gif") no-repeat left center !important; 
    padding-left: 22px !important; 
}

/* 11 & 12. Nettoyage */
#footer-icons, #f-list li:last-child, #t-print, #t-permalink, #t-info, #t-recentchangeslinked, #t-specialpages, #t-whatlinkshere { 
    display: none !important; 
}
Wikiboo Outils personnels