Skip to content

Commit c50a4f9

Browse files
committed
Overlay dark-mode colors for the W3C specifications
1 parent 837221d commit c50a4f9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

protocol.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
<title>Solid Notifications Protocol</title>
66
<meta content="width=device-width, initial-scale=1" name="viewport" />
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" media="all" rel="stylesheet" title="W3C-ED" />
8+
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" />
89
<style>
10+
@media (prefers-color-scheme: light) {
11+
pre code, pre samp { color: #000; }
12+
}
913
body {
1014
counter-reset:section;
1115
counter-reset:sub-section;
1216
}
13-
em.rfc2119 { color: #900; }
1417
code, samp { color: #c83500; }
15-
pre code, pre samp { color: #000; }
1618
dfn { font-weight:inherit; }
1719
.do.fragment a { border-bottom:0; }
1820
.do.fragment a:hover { background:none; border-bottom:0; }

0 commit comments

Comments
 (0)