MediaWiki:Common.css: Difference between revisions

From M365Docs
No edit summary
No edit summary
Line 58: Line 58:


/* Colonne de gauche (Wiki tools) */
/* Colonne de gauche (Wiki tools) */
.user-anon #p-wikitools          { display: none; }  /* Cadre Wiki tools */
.user-anon #p-tb { display: none; }  /* Cadre Wiki tools */
 
/* Menu de droite (Interne) */
.user-anon #p-Interne { display: none; }

Revision as of 10:30, 24 September 2026

/* CSS placed here will be applied to all skins */

.mw-prefixindex-list {
    column-count: 1 !important;
    columns: auto !important;
}

/* Sommaire flottant à droite du contenu */
#toc, .toc {
    float: right;
    clear: right;
    margin: 0 0 1em 1.5em;
    max-width: 320px;
}
@media (max-width: 900px) {
    #toc, .toc {
        float: none;
        position: static;
        max-width: none;
        margin: 0 0 1em 0;
    }
}

/* Masquer les onglets Page / Discussion */
#p-associated-pages {
    display: none;
}

/* Masquer l'étoile de suivi */
#ca-watch,
#ca-unwatch {
    display: none;
}

#p-Admin { display: none; }


/* Cadre Arborescence */
#p-arborescence ul ul {
    margin-left: 1em;
}
#p-arborescence .arbo-courant > a {
    font-weight: bold;
    color: inherit;
}


/* ===== Visiteurs non connectés ===== */
/* Colonne de droite (More) */
.user-anon #ca-viewsource         { display: none; }  /* View source */
.user-anon #ca-history            { display: none; }  /* History */
.user-anon #t-whatlinkshere       { display: none; }  /* What links here */
.user-anon #t-recentchangeslinked { display: none; }  /* Related changes */
/* .user-anon #t-print            { display: none; } */ /* Printable version : visible */
.user-anon #t-permalink           { display: none; }  /* Permanent link */
.user-anon #t-info                { display: none; }  /* Page information */
.user-anon #t-pagelog { display: none; }  /* Page logs */

/* Colonne de gauche (Wiki tools) */
.user-anon #p-tb { display: none; }  /* Cadre Wiki tools */

/* Menu de droite (Interne) */
.user-anon #p-Interne { display: none; }