MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 7: | Line 7: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Inhaltsbereich (Artikel) */ | /* Inhaltsbereich (Artikel) */ | ||
.mw-body { | .mw-body { | ||
| Line 16: | Line 15: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Überschriften weiß machen */ | /* Überschriften weiß machen */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
| Line 23: | Line 21: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Spezielle MediaWiki-Trennlinien entfernen */ | /* Spezielle MediaWiki-Trennlinien entfernen */ | ||
.mw-headline, .firstHeading, .mw-title { | .mw-headline, .firstHeading, .mw-title { | ||
| Line 30: | Line 27: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Pseudo-Elemente, die Linien erzeugen könnten, entfernen */ | /* Pseudo-Elemente, die Linien erzeugen könnten, entfernen */ | ||
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after { | h1::after, h2::after, h3::after, h4::after, h5::after, h6::after { | ||
| Line 38: | Line 34: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Entfernt alle möglichen Linien in MediaWiki */ | /* Entfernt alle möglichen Linien in MediaWiki */ | ||
hr, .mw-content-ltr hr, .mw-parser-output hr { | hr, .mw-content-ltr hr, .mw-parser-output hr { | ||
| Line 47: | Line 42: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Kopfzeile und Navigation */ | /* Kopfzeile und Navigation */ | ||
#mw-head, | #mw-head, | ||
| Line 58: | Line 51: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Menüleisten und Boxen */ | /* Menüleisten und Boxen */ | ||
.vector-menu-content, | .vector-menu-content, | ||
| Line 67: | Line 59: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Eingabefelder, Suchbox */ | /* Eingabefelder, Suchbox */ | ||
input, textarea { | input, textarea { | ||
| Line 76: | Line 67: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Links */ | /* Links */ | ||
a { | a { | ||
| Line 84: | Line 74: | ||
color: #9c77ff !important; | color: #9c77ff !important; | ||
} | } | ||
/* Tabellen, Boxen, Panels ohne Ränder */ | /* Tabellen, Boxen, Panels ohne Ränder */ | ||
table, th, td, .mw-body-content, .vector-menu-content, .vector-menu-tabs { | table, th, td, .mw-body-content, .vector-menu-content, .vector-menu-tabs { | ||
| Line 94: | Line 83: | ||
background: none !important; | background: none !important; | ||
} | } | ||
/* Dropdown-Menüs */ | /* Dropdown-Menüs */ | ||
.vector-dropdown { | .vector-dropdown { | ||
| Line 103: | Line 90: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Footer (unten) */ | /* Footer (unten) */ | ||
#footer, #footer li, #footer a { | #footer, #footer li, #footer a { | ||
| Line 109: | Line 95: | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
/* Hauptnavigation oben */ | /* Hauptnavigation oben */ | ||
#mw-head, | #mw-head, | ||
| Line 121: | Line 105: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Tabs ("Read", "Discussion", etc.) */ | /* Tabs ("Read", "Discussion", etc.) */ | ||
#p-views .vector-menu-content ul { | #p-views .vector-menu-content ul { | ||
| Line 128: | Line 111: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Einzelne Tabs */ | /* Einzelne Tabs */ | ||
#p-views li { | #p-views li { | ||
| Line 136: | Line 118: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Ensure "Main Page" and "Discussion" links match the sidebar links */ | /* Ensure "Main Page" and "Discussion" links match the sidebar links */ | ||
#p-views li a, | #p-views li a, | ||
#p-namespaces li a, | #p-namespaces li a, | ||
#p-variants li a { | #p-variants li a { | ||
color: #4aa5ff !important; /* Same blue as sidebar links */ | color: #4aa5ff !important; /* Same blue as sidebar links */ | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Hover effect */ | /* Hover effect */ | ||
#p-views li a:hover, | #p-views li a:hover, | ||
#p-namespaces li a:hover, | #p-namespaces li a:hover, | ||
#p-variants li a:hover { | #p-variants li a:hover { | ||
color: #9c77ff !important; /* Same as visited links */ | color: #9c77ff !important; /* Same as visited links */ | ||
} | } | ||
/* Make the top navigation links match the sidebar link colors */ | /* Make the top navigation links match the sidebar link colors */ | ||
#p-views a, | #p-views a, | ||
#p-views a:visited, | #p-views a:visited, | ||
#p-views a:active, | #p-views a:active, | ||
#p-views a:hover { | #p-views a:hover { | ||
color: #4aa5ff !important; /* Same blue as sidebar links */ | color: #4aa5ff !important; /* Same blue as sidebar links */ | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* If you want a hover effect */ | /* If you want a hover effect */ | ||
#p-views a:hover { | #p-views a:hover { | ||
color: #9c77ff !important; /* Same as visited links */ | color: #9c77ff !important; /* Same as visited links */ | ||
} | } | ||
/* Falls noch weiß auftaucht, versuche dies für spezifische Skins */ | /* Falls noch weiß auftaucht, versuche dies für spezifische Skins */ | ||
.vector-menu-tabs li, | .vector-menu-tabs li, | ||
| Line 178: | Line 153: | ||
background: none !important; | background: none !important; | ||
} | } | ||
/* Remove background gradients from menu tabs and headings */ | /* Remove background gradients from menu tabs and headings */ | ||
#mw-head .vector-menu-dropdown .vector-menu-heading, | |||
#mw-head .vector-menu-dropdown .vector-menu-heading, | |||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | ||
background-image: none !important; | background-image: none !important; | ||
background: none !important; | background: none !important; | ||
} | } | ||
/* Dropdown-Menüs (z. B. "Mehr") */ | /* Dropdown-Menüs (z. B. "Mehr") */ | ||
.vector-dropdown { | .vector-dropdown { | ||
background-color: #000 !important; | background-color: #000 !important; | ||
} | } | ||
/* Suchleiste */ | /* Suchleiste */ | ||
#p-search input { | #p-search input { | ||
| Line 199: | Line 169: | ||
border: 1px solid #444 !important; | border: 1px solid #444 !important; | ||
} | } | ||
/* ALLE Trennlinien entfernen */ | /* ALLE Trennlinien entfernen */ | ||
hr, | hr, | ||
.mw-body hr, | .mw-body hr, | ||
.vector-menu-content ul, | .vector-menu-content ul, | ||
.vector-menu-content li, | .vector-menu-content li, | ||
.vector-menu-tabs li, | .vector-menu-tabs li, | ||
.vector-menu-tabs a, | .vector-menu-tabs a, | ||
table, th, td, | table, th, td, | ||
.mw-panel, | .mw-panel, | ||
.vector-dropdown, | .vector-dropdown, | ||
#footer { | #footer { | ||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* Tabellen ohne Linien */ | /* Tabellen ohne Linien */ | ||
table, th, td { | table, th, td { | ||
| Line 220: | Line 188: | ||
background-color: #000 !important; | background-color: #000 !important; | ||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | ||
background-image: none !important; | background-image: none !important; | ||
background: none !important; | background: none !important; | ||
} | } | ||
/* Hide Tools box that Vector 2022 renders itself */ | /* Hide Tools box that Vector 2022 renders itself */ | ||
#p-tb { | #p-tb { | ||
display: none; | display: none; | ||
} | } | ||
/* Hide "Powered by MediaWiki" */ | /* Hide "Powered by MediaWiki" */ | ||
.mw-footer .poweredby { | .mw-footer .poweredby { | ||
display: none !important; | |||
} | |||
/* ============================================================ | |||
ADDED: bigger text | |||
============================================================ */ | |||
html { | |||
font-size: 18px !important; | |||
} | |||
body, | |||
.mw-body, | |||
.mw-body-content, | |||
p, li, td, th { | |||
font-size: 1.15rem !important; | |||
line-height: 1.5 !important; | |||
} | |||
#firstHeading, .firstHeading { | |||
font-size: 2.4rem !important; | |||
} | |||
h2 { | |||
font-size: 1.9rem !important; | |||
} | |||
h3 { | |||
font-size: 1.6rem !important; | |||
} | |||
h4 { | |||
font-size: 1.35rem !important; | |||
} | |||
.vector-legacy-sidebar a, | |||
.portlet a, | |||
.pBody a, | |||
#mw-panel a { | |||
font-size: 1.05rem !important; | |||
} | |||
/* ============================================================ | |||
ADDED: turn off dark mode toggle, Create account, Log in | |||
============================================================ */ | |||
#pt-darkmode, | |||
#pt-darkmode-sticky-header, | |||
#pt-createaccount, | |||
#pt-login { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 08:32, 20 July 2026
/* Gesamte Seite schwarz machen */
body {
background-color: #000 !important;
color: #fff !important;
border: none !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Inhaltsbereich (Artikel) */
.mw-body {
background-color: #000 !important;
color: #fff !important;
border: 0px solid #444 !important;
box-shadow: none !important;
text-decoration: none !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;
box-shadow: none !important;
text-decoration: 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;
box-shadow: none !important;
text-decoration: none !important;
}
/* Kopfzeile und Navigation */
#mw-head,
#p-personal,
#mw-panel {
background-color: #000 !important;
color: #fff !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Menüleisten und Boxen */
.vector-menu-content,
.vector-menu-content ul {
background-color: #000 !important;
color: #fff !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Eingabefelder, Suchbox */
input, textarea {
background-color: #222 !important;
color: #fff !important;
border: 0px solid #444 !important;
box-shadow: none !important;
text-decoration: none !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;
background-color: #000 !important;
box-shadow: none !important;
text-decoration: none !important;
background-image: none !important;
background: none !important;
}
/* Dropdown-Menüs */
.vector-dropdown {
background-color: #000 !important;
color: #fff !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Footer (unten) */
#footer, #footer li, #footer a {
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 */
box-shadow: none !important;
text-decoration: none !important;
}
/* Tabs ("Read", "Discussion", etc.) */
#p-views .vector-menu-content ul {
background-color: #000 !important;
box-shadow: none !important;
text-decoration: none !important;
}
/* Einzelne Tabs */
#p-views li {
background-color: #000 !important;
border: 0px solid #444 !important; /* Optional: Dunkle Ränder */
box-shadow: none !important;
text-decoration: none !important;
}
/* Ensure "Main Page" and "Discussion" links match the sidebar links */
#p-views li a,
#p-namespaces li a,
#p-variants li a {
color: #4aa5ff !important; /* Same blue as sidebar links */
text-decoration: none !important;
}
/* Hover effect */
#p-views li a:hover,
#p-namespaces li a:hover,
#p-variants li a:hover {
color: #9c77ff !important; /* Same as visited links */
}
/* Make the top navigation links match the sidebar link colors */
#p-views a,
#p-views a:visited,
#p-views a:active,
#p-views a:hover {
color: #4aa5ff !important; /* Same blue as sidebar links */
text-decoration: none !important;
}
/* If you want a hover effect */
#p-views a:hover {
color: #9c77ff !important; /* Same as visited links */
}
/* 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;
box-shadow: none !important;
text-decoration: none !important;
background-image: none !important;
background: none !important;
}
/* Remove background gradients from menu tabs and headings */
#mw-head .vector-menu-dropdown .vector-menu-heading,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
background-image: none !important;
background: none !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;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
background-image: none !important;
background: none !important;
}
/* Hide Tools box that Vector 2022 renders itself */
#p-tb {
display: none;
}
/* Hide "Powered by MediaWiki" */
.mw-footer .poweredby {
display: none !important;
}
/* ============================================================
ADDED: bigger text
============================================================ */
html {
font-size: 18px !important;
}
body,
.mw-body,
.mw-body-content,
p, li, td, th {
font-size: 1.15rem !important;
line-height: 1.5 !important;
}
#firstHeading, .firstHeading {
font-size: 2.4rem !important;
}
h2 {
font-size: 1.9rem !important;
}
h3 {
font-size: 1.6rem !important;
}
h4 {
font-size: 1.35rem !important;
}
.vector-legacy-sidebar a,
.portlet a,
.pBody a,
#mw-panel a {
font-size: 1.05rem !important;
}
/* ============================================================
ADDED: turn off dark mode toggle, Create account, Log in
============================================================ */
#pt-darkmode,
#pt-darkmode-sticky-header,
#pt-createaccount,
#pt-login {
display: none !important;
}