css: 'night mode' support

This commit is contained in:
Kazhnuz 2018-10-03 15:11:07 +02:00
parent b2409e1639
commit fd0cd6155c

View file

@ -56,6 +56,10 @@ body {
font-weight: 400; font-weight: 400;
} }
.night-mode {
color:#BBB;
}
strong { strong {
font-weight: 600; font-weight: 600;
} }
@ -164,6 +168,10 @@ blockquote {
max-width:100% max-width:100%
} }
.night-mode blockquote {
border-color: rgba(255, 255, 255, 0.15)
}
pre { pre {
border-top: 0px; border-top: 0px;
border-left: 2px; border-left: 2px;
@ -183,6 +191,11 @@ pre {
max-width:100% max-width:100%
} }
.night-mode pre {
background-color:#222;
border-color:rgba(255,255,255,0.20)
}
/* ------------------ SPECIAL STYLING ------------------- */ /* ------------------ SPECIAL STYLING ------------------- */
.time { .time {