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:
Brent Simmons 2018-08-28 21:38:29 -07:00
parent 9957e98e0b
commit 0dee168ac9
2 changed files with 3 additions and 6 deletions

View File

@ -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: "]]")

View File

@ -24,12 +24,12 @@ a:hover {
/* Light mode */
body.light {
color: -webkit-text;
color: #444;
background-color: -apple-system-text-background;
}
body.light a, body.light a:link, body.light a:visited {
color: -apple-system-blue;
color: hsla(215, 99%, 43%, 1);
}
body.light .headerTable {
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;
font-weight: bold;
}
.articleDateline, .articleDateline a:link, .articleDateline a:visited {
color: rgba(0, 0, 0, 0.3);
}
.articleBody {
line-height: 1.6em;