Logo Dico Logo FMSH Logo CNAM Logo Inalco

MediaWiki:Common.css

De Wiktionnaire-SHS
Aller à :navigation, rechercher

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Couleurs */
:root {
  --shadow: #eeeeee;
  --background: #ffffff;
  --pagetools: #000000;
  --pagetools-new: #ab0000;
  --header-message: #36363666;
}

label.checkboxLabel {
    display: block;
}

span.checkboxesSpan {
    width: 550px;
}

/* Loader */
div#mw-indicator-smw-entity-examiner {
    position: absolute;
}

#pfForm select, #pfForm input[type="checkbox"] {
    min-width: 15px !important;
}

/* Tableaux */
table.wikitable,
table.wikitable-AR,
table.wikitable-FR,
table.wikitable-EN {
    width: 100%;
    border: 5px solid #999;
    border-color: white;
    margin: 0;
}

table.wikitable tr,
table.wikitable-AR tr,
table.wikitable-FR tr,
table.wikitable-EN tr {
    border: 5px solid white;
}

table.wikitable th,
table.wikitable-AR th,
table.wikitable-FR th,
table.wikitable-EN th {
    width: 20%;
    color: #036635;
    padding-left: 1px;
    text-align: left;
    font-weight: normal;
    margin-left: 1px;
    vertical-align: top;
    border: 5px solid white;
    border-color: white;
    background: #EFF0FF;
}

table.wikitable td,
table.wikitable-AR td,
table.wikitable-FR td,
table.wikitable-EN td {
    width: 80%;
    border-left: 5px solid white;
    color: #333;
    padding-left: 1px;
    text-align: left;
    font-weight: normal;
    margin-left: 1px;
    vertical-align: top;
    border: 5px solid white;
    background: #E1E6FA;
}

/* AR */
body.cat-SHS-AR .mw-parser-output {
    direction: rtl;
}
.wikitable-AR {
    text-align: right;
}
.formAR textarea[name*="[Définition]"] {
    direction: rtl;
}

/* Sur les pages comme https://dev.france-maghreb.msh-paris.fr/index.php?title=%D8%AD%D9%83%D9%8A&action=formedit sur Mac (rapporté par Hammou Fadili), les 3-4 premiers caractères du libellé sont sous la case à cocher, mais le problème n’est pas reproductible chez Sébastien ou Nicolas. La règle suivante est grossière et impacte tout le monde même ceux qui n’ont pas ce problème d’affichage. À améliorer éventuellement. // Wiki Valley / Sébastien / 2023-06-12 */
.checkboxLabel.Texte-AR > t {
    margin-left: 10px;
}