Skip to content

Commit

Permalink
Overlay dark-mode colors for the W3C specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
csarven committed Feb 8, 2024
1 parent 837221d commit 5aea1f0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
<title>Solid Notifications Protocol</title>
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" media="all" rel="stylesheet" title="W3C-ED" />
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" />
<style>
@media not all and (prefers-color-scheme: dark) {
code, samp { color: #c83500; }
pre code, pre samp { color: #000; }
}

body {
counter-reset:section;
counter-reset:sub-section;
}
em.rfc2119 { color: #900; }
code, samp { color: #c83500; }
pre code, pre samp { color: #000; }
dfn { font-weight:inherit; }
.do.fragment a { border-bottom:0; }
.do.fragment a:hover { background:none; border-bottom:0; }
Expand Down

0 comments on commit 5aea1f0

Please sign in to comment.