Use light detail view for now instead of dark. (Note: this still needs to switch based on whether or not you’re in dark mode.)
This commit is contained in:
parent
9957e98e0b
commit
0dee168ac9
|
@ -454,7 +454,7 @@ class ArticleRenderer {
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
s += "\n\n</head><body onload='startup()' class=dark>\n\n"
|
s += "\n\n</head><body onload='startup()' class=light>\n\n"
|
||||||
|
|
||||||
|
|
||||||
s += RSMacroProcessor.renderedText(withTemplate: template(), substitutions: substitutions(), macroStart: "[[", macroEnd: "]]")
|
s += RSMacroProcessor.renderedText(withTemplate: template(), substitutions: substitutions(), macroStart: "[[", macroEnd: "]]")
|
||||||
|
|
|
@ -24,12 +24,12 @@ a:hover {
|
||||||
/* Light mode */
|
/* Light mode */
|
||||||
|
|
||||||
body.light {
|
body.light {
|
||||||
color: -webkit-text;
|
color: #444;
|
||||||
background-color: -apple-system-text-background;
|
background-color: -apple-system-text-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.light a, body.light a:link, body.light a:visited {
|
body.light a, body.light a:link, body.light a:visited {
|
||||||
color: -apple-system-blue;
|
color: hsla(215, 99%, 43%, 1);
|
||||||
}
|
}
|
||||||
body.light .headerTable {
|
body.light .headerTable {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
@ -94,9 +94,6 @@ body.dark .articleDateline, body.dark .articleDateLine.a:link, body.dark .articl
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.articleDateline, .articleDateline a:link, .articleDateline a:visited {
|
|
||||||
color: rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.articleBody {
|
.articleBody {
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
|
|
Loading…
Reference in New Issue