MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus MediaWiki 1.27.4
| Zeile 7: | Zeile 7: | ||
font-style: italic; /* Italicize paragraphs for Draft namespace */ | font-style: italic; /* Italicize paragraphs for Draft namespace */ | ||
} | } | ||
| − | /* Hide sidebar | + | /* Hide the entire sidebar for anonymous users */ |
.mw-anonuser #mw-panel { | .mw-anonuser #mw-panel { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | /* Alternatively, hide just the navigation menu */ | ||
| + | .mw-anonuser #p-navigation { | ||
display: none; | display: none; | ||
} | } | ||
Version vom 2. April 2025, 13:01 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Example for namespace 3000 */
.ns-3000 h1 {
color: blue; /* Change heading color for Draft namespace */
}
.ns-3000 p {
font-style: italic; /* Italicize paragraphs for Draft namespace */
}
/* Hide the entire sidebar for anonymous users */
.mw-anonuser #mw-panel {
display: none;
}
/* Alternatively, hide just the navigation menu */
.mw-anonuser #p-navigation {
display: none;
}