|
|
| Line 1: |
Line 1: |
| /* Gesamte Seite schwarz machen */
| | html { |
| body {
| | filter: invert(1) !important; |
| background-color: #000 !important; | |
| color: #fff !important;
| |
| } | | } |
|
| |
|
| /* Inhaltsbereich (Artikel) */ | | /* Bilder zurück invertieren, damit sie normal aussehen */ |
| .mw-body {
| | img, video { |
| background-color: #111 !important; /* Dunkler als Hintergrund für Kontrast */
| | filter: invert(1) !important; |
| color: #fff !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: 1px solid #444 !important;
| |
| }
| |
| | |
| /* Links */
| |
| a {
| |
| color: #4aa5ff !important;
| |
| }
| |
| a:visited {
| |
| color: #9c77ff !important;
| |
| }
| |
| | |
| /* Tabellen schwarz machen */
| |
| table {
| |
| background-color: #111 !important;
| |
| color: #fff !important;
| |
| border: 1px solid #444 !important;
| |
| }
| |
| th, td {
| |
| border: 1px solid #555 !important;
| |
| }
| |
| | |
| /* Dropdown-Menüs */
| |
| .vector-dropdown {
| |
| background-color: #000 !important;
| |
| color: #fff !important;
| |
| }
| |
| | |
| /* Footer (unten) */
| |
| #footer {
| |
| background-color: #000 !important;
| |
| color: #fff !important;
| |
| } | | } |
Revision as of 14:39, 11 March 2025
html {
filter: invert(1) !important;
}
/* Bilder zurück invertieren, damit sie normal aussehen */
img, video {
filter: invert(1) !important;
}