tangled
alpha
login
or
join now
devins.page
/
slight.css
1
fork
atom
slight enhancements for the user agent stylesheet
slightcss.devins.page
css
stylesheet
framework
lightweight
1
fork
atom
overview
issues
pulls
pipelines
fix: @supports query for old browsers (light-dark)
devins.page
9 months ago
96749628
1e4732c2
+9
-2
1 changed file
expand all
collapse all
unified
split
slight.css
+9
-2
slight.css
···
24
24
--sc-max-width: 48rem; /* set to 'revert' to remove limit */
25
25
26
26
/* unsafe variables - not recommended to customize, may be removed or changed in the future */
27
27
-
--sc-emphasizebd: light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
28
28
-
--sc-emphasizebg: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
27
27
+
--sc-emphasizebd: rgba(0, 0, 0, 0.2);
28
28
+
--sc-emphasizebg: rgba(0, 0, 0, 0.1);
29
29
+
}
30
30
+
31
31
+
@supports (color: light-dark(white, black)) {
32
32
+
:root {
33
33
+
--sc-emphasizebd: light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
34
34
+
--sc-emphasizebg: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
35
35
+
}
29
36
}
30
37
31
38
/* 2. typography */