Skip to content

Commit f87da86

Browse files
authored
Align on .yesno styling
While .applies is specific to HTML (for now), it seems best to include that rule here.
1 parent 57c7d19 commit f87da86

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

resources.whatwg.org/standard-service-worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
const standardShortname = location.host.split(".")[0];
1010

11-
const cacheKey = "v11";
11+
const cacheKey = "v12";
1212
const toCache = [
1313
location.origin + "/",
1414
"https://resources.whatwg.org/spec.css",

resources.whatwg.org/standard-shared-with-dev.css

+4
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ html {
100100

101101
--raretr-text: #333;
102102
--raretr-bg: #f7f7f7;
103+
104+
--yesno-yes-bg: papayawhip;
103105
}
104106
@media (prefers-color-scheme: dark) {
105107
:root {
@@ -191,6 +193,8 @@ html {
191193

192194
--raretr-text: #bbb;
193195
--raretr-bg: #040404;
196+
197+
--yesno-yes-bg: midnightblue;
194198
}
195199
}
196200

resources.whatwg.org/standard.css

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ p + dl.props { margin-top: -0.5em; }
140140

141141
tr.rare { background: var(--raretr-bg); color: var(--raretr-text); }
142142

143+
.applies .yes, .yesno .yes { background: var(--yesno-yes-bg); color: var(--text); }
144+
.yesno .yes, .yesno .no { text-align: center; }
145+
143146
/*
144147
* .domintro, .note, .warning, .example, .XXX, .critical
145148
*/

0 commit comments

Comments
 (0)