MediaWiki:Common.css: Difference between revisions
From M365Docs
No edit summary |
No edit summary |
||
| Line 74: | Line 74: | ||
.mw-parser-output blockquote p { | .mw-parser-output blockquote p { | ||
margin: 0; | margin: 0; | ||
} | |||
/* Couleurs des bandeaux */ | |||
.mw-parser-output blockquote.bandeau-info { | |||
background: #eaf3ff; | |||
border-left-color: #36c; | |||
} | |||
.mw-parser-output blockquote.bandeau-warning { | |||
background: #fef6e7; | |||
border-left-color: #fc3; | |||
} | |||
.mw-parser-output blockquote.bandeau-tip { | |||
background: #eaf6ea; | |||
border-left-color: #14866d; | |||
} | |||
.mw-parser-output blockquote.bandeau-danger { | |||
background: #fee7e6; | |||
border-left-color: #d33; | |||
} | } | ||
Revision as of 07:22, 25 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; }
/* Citations Markdown affichées comme des bandeaux */
.mw-parser-output blockquote {
background: #fef6e7;
border-left: 4px solid #fc3;
border-radius: 4px;
padding: 0.75em 1em;
margin: 1em 0;
}
.mw-parser-output blockquote p {
margin: 0;
}
/* Couleurs des bandeaux */
.mw-parser-output blockquote.bandeau-info {
background: #eaf3ff;
border-left-color: #36c;
}
.mw-parser-output blockquote.bandeau-warning {
background: #fef6e7;
border-left-color: #fc3;
}
.mw-parser-output blockquote.bandeau-tip {
background: #eaf6ea;
border-left-color: #14866d;
}
.mw-parser-output blockquote.bandeau-danger {
background: #fee7e6;
border-left-color: #d33;
}