From: Vladimír Vondruš Date: Mon, 29 Apr 2019 17:14:45 +0000 (+0200) Subject: css: make console output slightly less than pitch black. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=891aa8a7e5dc3282eee3f6f6cfa4179f3fd9c929;p=blog.git css: make console output slightly less than pitch black. I like black coffee and all, but since KDE moved away from #000000 as well recently, it kinda hurts my eyes now. --- diff --git a/css/m-dark+documentation.compiled.css b/css/m-dark+documentation.compiled.css index 64597f78..55ca32a9 100644 --- a/css/m-dark+documentation.compiled.css +++ b/css/m-dark+documentation.compiled.css @@ -401,7 +401,7 @@ pre { margin-top: 0; } pre.m-console { - background-color: #000000; + background-color: #161616; } strong, .m-text.m-strong { font-weight: bold; } em, .m-text.m-em { font-style: italic; } @@ -442,7 +442,7 @@ code { background-color: #282e36; } code.m-console { - background-color: #000000; + background-color: #161616; } *:focus { outline-color: #5b9dd9; } div.m-scroll { @@ -869,7 +869,7 @@ figure.m-figure.m-fullwidth:after { border-color: #282e36; } .m-console-figure:before { - border-color: #000000; + border-color: #161616; } .m-code-figure.m-flat:before, .m-console-figure.m-flat:before { border-color: transparent; @@ -2407,7 +2407,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-s > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-s > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } @media screen and (min-width: 768px) { @@ -2417,7 +2417,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-m > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-m > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } @media screen and (min-width: 992px) { @@ -2427,7 +2427,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-l > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-l > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } .m-container-inflatable section:target pre, diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index 47f9a953..d51702d5 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -401,7 +401,7 @@ pre { margin-top: 0; } pre.m-console { - background-color: #000000; + background-color: #161616; } strong, .m-text.m-strong { font-weight: bold; } em, .m-text.m-em { font-style: italic; } @@ -442,7 +442,7 @@ code { background-color: #282e36; } code.m-console { - background-color: #000000; + background-color: #161616; } *:focus { outline-color: #5b9dd9; } div.m-scroll { @@ -869,7 +869,7 @@ figure.m-figure.m-fullwidth:after { border-color: #282e36; } .m-console-figure:before { - border-color: #000000; + border-color: #161616; } .m-code-figure.m-flat:before, .m-console-figure.m-flat:before { border-color: transparent; @@ -2407,7 +2407,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-s > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-s > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } @media screen and (min-width: 768px) { @@ -2417,7 +2417,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-m > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-m > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } @media screen and (min-width: 992px) { @@ -2427,7 +2427,7 @@ article:last-child, article section:last-child { margin-bottom: 0; } } .m-container-inflatable section:target .m-center-l > figure.m-console-figure::before, .m-container-inflatable section:target .m-right-l > figure.m-console-figure::before { - border-color: #000000; + border-color: #161616; } } .m-container-inflatable section:target pre, diff --git a/css/m-theme-dark.css b/css/m-theme-dark.css index 3e4ce6a1..caea5727 100644 --- a/css/m-theme-dark.css +++ b/css/m-theme-dark.css @@ -57,7 +57,7 @@ --background-color */ --code-background-color: #282e36; --code-note-background-color: rgba(34, 39, 46, 0.5); - --console-background-color: #000000; + --console-background-color: #161616; --button-background-color: #22272e; /* Header */