Skip to content

Commit

Permalink
initial dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Jan 13, 2025
1 parent f4c59eb commit 6f68c37
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1591,3 +1591,63 @@ tt.D.highlighted a {
.conditional-compilation-attributes {
font-size: 90%;
}

@media (prefers-color-scheme: dark) {
body {
color: #ddd;
background-color: black;
}

a:link, a:visited {
color: #00aaff !important;
}

#page-nav {
background-color: #333 !important;
}

tt.D,
.inline-code {
background-color: #444;
color: #eee;
}

pre.d_code {
background-color: #444;
color: #eee;
}

.com {
color: #0ff;
}

.tip {
background-color: #306630;
}

.pitfall {
background-color: #663030;
}

.warning {
background-color: #666630;
}

.note {
background-color: #3333aa;
}

.sidebar {
background-color: #555;
}

.member-list dt .simplified-prototype {
color: #aaa;
border-color: black;
}

.member-list dt .simplified-prototype:hover {
background-color: black;
border-color: #555;
}
}

0 comments on commit 6f68c37

Please sign in to comment.