Skip to content

Commit d238be6

Browse files
authored
Add UTF-8 charset and use alternative text for CSS generated content
1 parent 6accf4c commit d238be6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/wp-content/themes/twentytwenty/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@charset "UTF-8";
2+
13
/*
24
Theme Name: Twenty Twenty
35
Text Domain: twentytwenty
@@ -720,6 +722,7 @@ input[type="checkbox"] {
720722
input[type="checkbox"]:checked::before {
721723
/* Use the "Yes" SVG Dashicon */
722724
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E");
725+
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E" / '');
723726
position: absolute;
724727
display: inline-block;
725728
margin: -0.1875rem 0 0 -0.25rem;
@@ -3253,6 +3256,7 @@ figure.wp-block-gallery.alignfull {
32533256
border-radius: 50%;
32543257
color: #cd2653;
32553258
content: "”";
3259+
content: "”" / '';
32563260
display: block;
32573261
font-size: 6.2rem;
32583262
font-weight: 500;
@@ -3390,6 +3394,7 @@ hr.wp-block-separator {
33903394
background: none;
33913395
color: inherit;
33923396
content: "···";
3397+
content: "···" / '';
33933398
font-size: 3.2rem;
33943399
font-weight: 700;
33953400
height: auto;
@@ -4426,6 +4431,7 @@ div.comment:first-of-type {
44264431

44274432
.widget_rss cite::before {
44284433
content: "— ";
4434+
content: "— " / '';
44294435
}
44304436

44314437
/* Widget: Search ---------------------------- */

0 commit comments

Comments
 (0)