MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: #fff !important; | color: #fff !important; | ||
box-shadow: none !important; | |||
text-decoration: none !important; | |||
} | } | ||
/* Spezielle MediaWiki-Trennlinien entfernen */ | |||
.mw-headline, .firstHeading, .mw-title { | |||
border: none !important; | |||
box-shadow: none !important; | |||
text-decoration: none !important; | |||
} | |||
/* Pseudo-Elemente, die Linien erzeugen könnten, entfernen */ | |||
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after { | |||
content: "" !important; | |||
display: none !important; | |||
} | |||
/* Entfernt alle möglichen Linien in MediaWiki */ | |||
hr, .mw-content-ltr hr, .mw-parser-output hr { | |||
display: none !important; | |||
border: none !important; | |||
height: 0 !important; | |||
} | |||
/* Kopfzeile und Navigation */ | /* Kopfzeile und Navigation */ | ||
| Line 48: | Line 71: | ||
} | } | ||
/* Tabellen | /* Tabellen, Boxen, Panels ohne Ränder */ | ||
table { | table, th, td, .mw-body-content, .vector-menu-content, .vector-menu-tabs { | ||
border: none !important; | |||
box-shadow: none !important; | |||
background-color: #000 !important; | |||
} | } | ||
/* Dropdown-Menüs */ | /* Dropdown-Menüs */ | ||
Revision as of 15:27, 11 March 2025
/* Gesamte Seite schwarz machen */
body {
background-color: #000 !important;
color: #fff !important;
border: none !important;
}
/* Inhaltsbereich (Artikel) */
.mw-body {
background-color: #000 !important;
color: #fff !important;
border: 0px solid #444 !important;
}
/* Überschriften weiß machen */
h1, h2, h3, h4, h5, h6 {
color: #fff !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Spezielle MediaWiki-Trennlinien entfernen */
.mw-headline, .firstHeading, .mw-title {
border: none !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Pseudo-Elemente, die Linien erzeugen könnten, entfernen */
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
content: "" !important;
display: none !important;
}
/* Entfernt alle möglichen Linien in MediaWiki */
hr, .mw-content-ltr hr, .mw-parser-output hr {
display: none !important;
border: none !important;
height: 0 !important;
}
/* Kopfzeile und Navigation */
#mw-head,
#p-personal,
#mw-panel {
background-color: #000 !important;
color: #fff !important;
}
/* Menüleisten und Boxen */
.vector-menu-content,
.vector-menu-content ul {
background-color: #000 !important;
color: #fff !important;
}
/* Eingabefelder, Suchbox */
input, textarea {
background-color: #222 !important;
color: #fff !important;
border: 0px solid #444 !important;
}
/* Links */
a {
color: #4aa5ff !important;
}
a:visited {
color: #9c77ff !important;
}
/* Tabellen, Boxen, Panels ohne Ränder */
table, th, td, .mw-body-content, .vector-menu-content, .vector-menu-tabs {
border: none !important;
box-shadow: none !important;
background-color: #000 !important;
}
/* Dropdown-Menüs */
.vector-dropdown {
background-color: #000 !important;
color: #fff !important;
}
/* Footer (unten) */
#footer {
background-color: #000 !important;
color: #fff !important;
}
/* Hauptnavigation oben */
#mw-head,
#p-personal,
#left-navigation,
#right-navigation {
background-color: #000 !important; /* Schwarzer Hintergrund */
color: #fff !important; /* Weiße Schrift */
}
/* Tabs ("Read", "Discussion", etc.) */
#p-views .vector-menu-content ul {
background-color: #000 !important;
}
/* Einzelne Tabs */
#p-views li {
background-color: #000 !important;
border: 0px solid #444 !important; /* Optional: Dunkle Ränder */
}
/* Falls noch weiß auftaucht, versuche dies für spezifische Skins */
.vector-menu-tabs li,
.vector-menu-tabs a {
background-color: #000 !important;
color: #fff !important;
}
/* Dropdown-Menüs (z. B. "Mehr") */
.vector-dropdown {
background-color: #000 !important;
}
/* Suchleiste */
#p-search input {
background-color: #222 !important;
color: #fff !important;
border: 1px solid #444 !important;
}
/* ALLE Trennlinien entfernen */
hr,
.mw-body hr,
.vector-menu-content ul,
.vector-menu-content li,
.vector-menu-tabs li,
.vector-menu-tabs a,
table, th, td,
.mw-panel,
.vector-dropdown,
#footer {
border: none !important;
box-shadow: none !important;
}
/* Tabellen ohne Linien */
table, th, td {
border: none !important;
background-color: #000 !important;
}