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
feat: customizable body-max-width
devins.page
10 months ago
6fcb327d
9d978952
+3
-1
1 changed file
expand all
collapse all
unified
split
slight.css
+3
-1
slight.css
···
19
19
--sc-font: system-ui, sans-serif;
20
20
--sc-font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo,
21
21
Consolas, "DejaVu Sans Mono", monospace;
22
22
+
--sc-body-max-width: 48rem; /* set to revert to remove limit */
23
23
+
22
24
/* unsafe variables - not recommended to customize, may be removed or changed in the future */
23
25
--sc-emphasizebd: light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
24
26
--sc-emphasizebg: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
···
33
35
}
34
36
35
37
body {
36
36
-
max-width: 48rem;
38
38
+
max-width: var(--sc-body-max-width);
37
39
margin: auto;
38
40
padding: 1rem;
39
41
padding-top: revert;