Hacker News: modalità scura
Sostituisce lo sfondo chiaro con un tema scuro uniforme, più delicato per gli occhi di sera.
Codice da copiare
/* 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;
}
Come usare questo esempio
- Copia il codice con il pulsante qui sopra.
- Installa JustZix (2 minuti) e apri l'estensione sulla pagina di destinazione.
- Aggiungi una nuova regola corrispondente a quella pagina.
- Incolla il codice nel pannello CSS della regola e salva — l'effetto appare subito.
Valuta questo esempio
Nessuna valutazione — sii il primo.