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;
}
.night-mode {
color:#BBB;
}
strong {
font-weight: 600;
}
@ -151,7 +155,7 @@ blockquote {
border-left: 2px;
border-right: 0px;
border-bottom: 0px;
border-color: rgba(1,1,1,0.15);
border-color: rgba(1, 1, 1, 0.15);
border-style: solid;
border-radius:3px;
margin: 0.5em;
@ -164,6 +168,10 @@ blockquote {
max-width:100%
}
.night-mode blockquote {
border-color: rgba(255, 255, 255, 0.15)
}
pre {
border-top: 0px;
border-left: 2px;
@ -183,6 +191,11 @@ pre {
max-width:100%
}
.night-mode pre {
background-color:#222;
border-color:rgba(255,255,255,0.20)
}
/* ------------------ SPECIAL STYLING ------------------- */
.time {