Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/halogenica/beautifulhugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHenry Schreiner <henryschreineriii@gmail.com>2019-12-13 07:13:51 +0300
committerHenry Schreiner <henryschreineriii@gmail.com>2019-12-13 07:14:35 +0300
commitc1a84edd14d74bba8695f6b7fe9a1295038b9fc3 (patch)
treea4eee786ae9d02009bf8881de652f637c2351eaa /static
parent0c5dc7f9afcc082ef03a531641ca3acdccb6e195 (diff)
Tables and imgs improvements
Diffstat (limited to 'static')
-rw-r--r--static/css/main.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 5f40f32..0cb7a5b 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -133,6 +133,11 @@ img {
margin: auto;
max-width: 100%;
}
+@media (prefers-color-scheme: dark) {
+img {
+ background-color: white;
+}
+}
.img-title {
width: 100%;
@@ -755,9 +760,19 @@ table tr {
margin: 0;
padding: 0;
}
+@media (prefers-color-scheme: dark) {
+}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
+@media (prefers-color-scheme: dark) {
+table tr {
+ background-color: #181818;
+}
+table tr:nth-child(2n) {
+ background-color: #303030
+}
+}
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
@@ -920,5 +935,7 @@ h4.see-also {
pre.chroma .nb {
color: #00fee9;
}
-
+ pre.chroma .ow {
+ color: #CC0;
+ }
}