1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-15 06:20:27 +00:00

Make dark theme lest contrast

This commit is contained in:
bouncepaw 2021-01-16 20:44:49 +05:00
parent 80ebd4ee48
commit 306f536aa6
2 changed files with 16 additions and 12 deletions

View File

@ -133,11 +133,13 @@ td { border: #ddd 1px solid; }
/* Dark theme! */ /* Dark theme! */
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { background-color: black; color: #ddd; } html { background-color: #121212; color: #ddd; }
main, article { background-color: #121212; } main, article { background-color: #343434; }
blockquote { border-left: 4px #ddd solid; } blockquote { border-left: 4px #ddd solid; }
a, .wikilink_external { color: #22AA22; } a, .wikilink_external { color: #f1fa8c; }
a:visited, .wikilink_external:visited { color: #228822; } a:visited, .wikilink_external:visited { color: #ffb86c; }
.wikilink_new, .wikilink_new:visited { color: #dd4444; }
.prevnext__el, .prevnext__el:visited { color: #ddd; }
.transclusion .transclusion__link { color: #ddd; } .transclusion .transclusion__link { color: #ddd; }
article code, article code,
@ -149,9 +151,9 @@ article .codeblock,
.prevnext__el, .prevnext__el,
.upload-amnt, .upload-amnt,
textarea, textarea,
table { border: 0; background-color: #232323; color: #ddd; } table { border: 0; background-color: #444444; color: #ddd; }
.transclusion code, .transclusion code,
.transclusion .codeblock { background-color: #343434; } .transclusion .codeblock { background-color: #454545; }
} }
`) `)

View File

@ -108,11 +108,13 @@ td { border: #ddd 1px solid; }
/* Dark theme! */ /* Dark theme! */
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { background-color: black; color: #ddd; } html { background-color: #121212; color: #ddd; }
main, article { background-color: #121212; } main, article { background-color: #343434; }
blockquote { border-left: 4px #ddd solid; } blockquote { border-left: 4px #ddd solid; }
a, .wikilink_external { color: #22AA22; } a, .wikilink_external { color: #f1fa8c; }
a:visited, .wikilink_external:visited { color: #228822; } a:visited, .wikilink_external:visited { color: #ffb86c; }
.wikilink_new, .wikilink_new:visited { color: #dd4444; }
.prevnext__el, .prevnext__el:visited { color: #ddd; }
.transclusion .transclusion__link { color: #ddd; } .transclusion .transclusion__link { color: #ddd; }
article code, article code,
@ -124,8 +126,8 @@ article .codeblock,
.prevnext__el, .prevnext__el,
.upload-amnt, .upload-amnt,
textarea, textarea,
table { border: 0; background-color: #232323; color: #ddd; } table { border: 0; background-color: #444444; color: #ddd; }
.transclusion code, .transclusion code,
.transclusion .codeblock { background-color: #343434; } .transclusion .codeblock { background-color: #454545; }
} }