Skip to content

Commit

Permalink
Merge pull request #5 from vChavezB/darkmode
Browse files Browse the repository at this point in the history
Darkmode
  • Loading branch information
vChavezB authored Jan 6, 2024
2 parents cb99336 + c683e1e commit 1d012e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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

0 comments on commit 1d012e1

Please sign in to comment.