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 c50a4f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
<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 (prefers-color-scheme: light) {
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 c50a4f9

Please sign in to comment.