Hacker News: Dunkelmodus
Tauscht den hellen Hintergrund gegen ein einheitliches dunkles Design, das abends die Augen schont.
Code zum Kopieren
/* A proper dark theme for the whole site */
html, body {
background: #1a1a1a !important;
color: #c8c8c8 !important;
}
#hnmain {
background: #1f1f1f !important;
}
td, .comment, .commtext, .toptext, .default {
color: #c8c8c8 !important;
}
.title .titleline a:link,
a:link, a:visited {
color: #b9bfc6 !important;
}
.subtext, .comhead, .subtext a, .comhead a,
.rank, td.title {
color: #8a8a8a !important;
}
.commtext a:link, .toptext a:link {
color: #6ea8fe !important;
}
input, textarea {
background: #2a2a2a !important;
color: #e0e0e0 !important;
border: 1px solid #444 !important;
}
So verwendest du dieses Beispiel
- Kopiere den Code mit der Schaltfläche oben.
- Installiere JustZix (2 Minuten) und öffne die Erweiterung auf der Zielseite.
- Füge eine neue Regel hinzu, die zu dieser Seite passt.
- Füge den Code in das CSS-Panel der Regel ein und speichere — der Effekt erscheint sofort.
Bewerte dieses Beispiel
Noch keine Bewertungen — sei der Erste.