diff options
author | Kuuuube <61125188+Kuuuube@users.noreply.github.com> | 2024-06-20 13:13:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 17:13:47 +0000 |
commit | 1a866b3997310a04fc146b91eb47a59a3f049589 (patch) | |
tree | 19d8840825799e3f9cd7f8a4dd556ddf07320679 /dev/data/legal-npm.css | |
parent | 8f33cb76cbe7c86ad6ee3cd6700c40f82dc7230d (diff) |
Fix missing legal-npm.html (#1097)
* Remove legal-npm.html from gitignore and commit it
* Fix theming for legal-npm
Diffstat (limited to 'dev/data/legal-npm.css')
-rw-r--r-- | dev/data/legal-npm.css | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/dev/data/legal-npm.css b/dev/data/legal-npm.css index d607460f..dde8d5d2 100644 --- a/dev/data/legal-npm.css +++ b/dev/data/legal-npm.css @@ -11,6 +11,47 @@ td { padding: 3px; } -th { - background-color: #ffffff; +/* Light mode */ +@media (prefers-color-scheme: light) { + body { + background-color: #f8f9fa; + color: #000000; + } + th { + background-color: #ffffff; + } +} + +/* Dark mode */ +@media (prefers-color-scheme: dark) { + body { + background-color: #0a0a0a; + color: #ffffff; + } + th { + background-color: #1e1e1e; + } + + /* Scrollbars */ + :root { + scrollbar-color: #444444 #2f2f2f; + } + :root::-webkit-scrollbar { + width: auto; + } + :root::-webkit-scrollbar-button { + height: 0; + } + :root::-webkit-scrollbar-thumb { + background-color: #444444; + } + :root::-webkit-scrollbar-track { + background-color: #444444; + } + :root::-webkit-scrollbar-track-piece { + background-color: #2f2f2f; + } + :root::-webkit-scrollbar-corner { + background-color: #2f2f2f; + } } |