aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGeoffrey Eisenbarth <geoffrey.eisenbarth@gmail.com>2024-08-19 13:18:29 -0500
committerGeoffrey Eisenbarth <geoffrey.eisenbarth@gmail.com>2024-08-19 13:18:29 -0500
commitf4821b3150bbd58acb2b7dc8363ca13fd0c602f2 (patch)
tree6a2d387703ef1e84240a6fb51d60c6e22b708e06
parent13ba10927fc63f6160fe941ff87b248f3a827935 (diff)
downloadmissing-f4821b3150bbd58acb2b7dc8363ca13fd0c602f2.tar.gz
missing-f4821b3150bbd58acb2b7dc8363ca13fd0c602f2.zip
Replace :is() with :where().
-rw-r--r--src/components.css2
-rw-r--r--src/core/sanitize.css4
-rw-r--r--src/main.css6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/components.css b/src/components.css
index 78625e6..a30ec34 100644
--- a/src/components.css
+++ b/src/components.css
@@ -183,7 +183,7 @@ details,
padding-inline-start: 0;
}
- & :is(a, .\<a\>) {
+ & :where(a, .\<a\>) {
font-weight: bold;
text-decoration: none;
padding-inline: .2em;
diff --git a/src/core/sanitize.css b/src/core/sanitize.css
index a41f023..755e0c6 100644
--- a/src/core/sanitize.css
+++ b/src/core/sanitize.css
@@ -108,7 +108,7 @@ table {
* Remove the margin on controls in Safari.
*/
-:is(button, input, select):not(.\<a\>) {
+:where(button, input, select):not(.\<a\>) {
margin: 0;
}
@@ -116,7 +116,7 @@ table {
* Correct the inability to style buttons in iOS and Safari.
*/
-:is(button, [type="button"], [type="reset"], [type="submit"]):not(.\<a\>) {
+:where(button, [type="button"], [type="reset"], [type="submit"]):not(.\<a\>) {
-webkit-appearance: button;
}
diff --git a/src/main.css b/src/main.css
index f184e64..1328e23 100644
--- a/src/main.css
+++ b/src/main.css
@@ -25,7 +25,7 @@ header, footer, section + section {
}
nav {
- & :is(a, .\<a\>) {
+ & :where(a, .\<a\>) {
text-decoration: none;
color: var(--accent);
}
@@ -485,7 +485,7 @@ label :is(input, select):not([specificity-hack]) {
display: inline; padding-block: 0;
}
-:is(
+:where(
button,
input[type="submit"],
input[type="reset"],
@@ -541,7 +541,7 @@ input::file-selector-button {
}
-:is(
+:where(
button,
input[type="submit"],
input[type="reset"],