Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« MediaWiki:Gadget-explorer.css » : différence entre les versions

Page de l’interface de MediaWiki
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 89 : Ligne 89 :
     width: 100%;
     width: 100%;
     box-shadow: inset 0 1px black, inset 0 5px black, inset 0 6px black;
     box-shadow: inset 0 1px black, inset 0 5px black, inset 0 6px black;
text-align: start;
}
}


Ligne 112 : Ligne 113 :
.explorer-chunk-content {
.explorer-chunk-content {
     margin-top: 1em;
     margin-top: 1em;
}
/* ---  Updates panes ---------------------------------------------------- */
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li > :not(bdi) {
    display: none;
}
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li {
    font-size: 0;
display: flex;
gap: 10px;
}
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li > bdi {
    font-size: 1rem;
}
.explorer-menu-item[data-chunk="updates"] h4 {
text-align: start;
font-size: 16px;
font-weight: normal;
}
}

Version du 28 mai 2026 à 03:04

/* MediaWiki:Gadget-explorer.css
 * Styles de base de l'explorateur — fonctionnels, non décoratifs.
 * À remplacer par le thème custom une fois la mécanique validée.
 */

/* --- Bouton déclencheur ------------------------------------------------- */

.explorer-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.5em 0.75em;
    font-size: 1.5em;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

.explorer-trigger:hover,
.explorer-trigger:focus {
    opacity: 0.8;
}

/* --- Panneau racine (overlay plein écran) ------------------------------ */

.explorer-root {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    overflow-y: auto;
    padding: 2em;
}

.explorer-root[data-state="closed"] {
    display: none;
}

.explorer-root[data-state="open"] {
    display: block;
}

/* --- Liste des rubriques ----------------------------------------------- */

.explorer-menu {
    max-width: 60em;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.explorer-menu-item {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(transparent 50%, white 75%, #ffffff42, #26242414 98%, white), radial-gradient(at center, #ffffff 0%, #ffffff 55%, #4f586e4a 100%) white;
    --content-margin: calc(calc(95% - calc(var(--width-layout) + var(--width-toc))) / 2);
    border-radius: 10px;
    font-weight: 500;
    color: #060f3e;
}

.explorer-menu-label {
    display: block;
    cursor: pointer;
    font-weight: normal;
    width: 100%;
    font-family: 'Spectral SC',serif;
    color: #b19456;
    font-size: 1.2rem;
    padding: 0.75rem;
}

.explorer-menu-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Pane détaillé d'une rubrique (caché par défaut) ------------------ */

.explorer-menu-pane {
    display: none;
    padding: 0.5em 1rem 1.5rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    box-shadow: inset 0 1px black, inset 0 5px black, inset 0 6px black;
	text-align: start;
}

.explorer-menu-item[data-active] > .explorer-menu-pane {
    display: block;
}

/* --- Fiche immersive --------------------------------------------------- */

.explorer-fiche {
    margin-bottom: 1.5em;
}

.explorer-fiche-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0.5em;
    display: none;
}

/* --- Conteneur du chunk ------------------------------------------------ */

.explorer-chunk-content {
    margin-top: 1em;
}

/* ---  Updates panes ---------------------------------------------------- */
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li > :not(bdi) {
    display: none;
}
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li {
    font-size: 0;
	display: flex;
	gap: 10px;
}
.explorer-menu-item[data-chunk="updates"] .explorer-menu-pane ul.mw-contributions-list > li > bdi {
    font-size: 1rem;
}
.explorer-menu-item[data-chunk="updates"] h4 {
	text-align: start;
	font-size: 16px;
	font-weight: normal;
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.