Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darkmode #5

Merged
merged 2 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main/resources/darkmode/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
color-scheme: dark;
--bg-status-box: rgb(0, 90, 156);
--background-color: #3e3e42;
--htag-text: #83E9F0;
--bg-backlink: #c1c1bd;
--text-color: rgb(240 240 240);
--shadow-color: rgb(240 240 240 / 50%);
--accent-color: rgb(0 0 240 / 50%);
--owl-bg-pre: rgb(15 15 15);
--link: white;
--link-visited: gray;
--link: #DDC1F2;
--link-visited: #BD7DEE;
--link-active: blue;
--href-hover: gray;
--bg-hlist: #67676E;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/darkmode/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
color-scheme: light;
--bg-status-box: rgb(0, 90, 156);
--background-color: white;
--htag-text: #005A9C;
--bg-backlink: #F4FFFF;
--text-color: rgb(15 15 15);
--shadow-color: rgb(15 15 15 / 50%);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lode/rec.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ h3.list:before{counter-increment:subsection;content: counter(section) "." counte
h3.list{margin-top: 20px;
border-bottom: 0px; }
/* background should be transparent, but WebTV has a bug */
h1, h2, h3 { color: #005A9C; background: var(--background-color) }
h1, h2, h3 { color: var(--htag-text); background: var(--background-color) }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
Expand Down
Loading