Skip to content

Commit

Permalink
Restore dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
NieldSWND committed Mar 28, 2024
1 parent ecaebb9 commit 38ac5d6
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions docs/ldoc_new.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,70 @@ pre .global { color: #c040c0; }
pre .user-keyword { color: #800080; }
pre .prompt { color: #558817; }
pre .url { color: #272fc2; text-decoration: underline; }

@media screen and (prefers-color-scheme: dark) {
/* width */
::-webkit-scrollbar {
width: auto;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 10px grey;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: darkgray;
}

body {
color: rgb(171, 184, 195);
background: rgb(7, 2, 26);
}

#navigation, #navigation h1, #navigation h2, #navigation h3 {
background-color: rgb(7, 2, 26);
color: rgb(224, 250, 247);
}

#content table {
background-color: rgb(7, 2, 26);
}

#content h1 {
color: rgb(224, 250, 247);
}

#content h2, #content h2 a {
color: rgb(224, 250, 247);
background-color: rgb(62, 88, 149);
}

#content pre {
background-color: rgb(37, 39, 44);
}

#pre {
color: rgb(171, 184, 195);
}

dl.function {
background-color: rgb(7, 2, 26);
}

table.module_list td.name, table.function_list td.name {
background-color: rgb(18, 11, 44);
}
table.module_list td.summary, table.function_list td.summary {
background-color: rgb(18, 11, 44);
}

#about {
background-color: rgb(7, 2, 26);
}

a:target + * {
background-color: rgb(220, 220, 138);
}
}

0 comments on commit 38ac5d6

Please sign in to comment.