-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.sectioning.css
More file actions
53 lines (39 loc) · 936 Bytes
/
Copy pathelements.sectioning.css
File metadata and controls
53 lines (39 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* SECTIONING ROOT */
body {
/* line-sizing is a CSSWG draft with no browser support yet; kept as intent
for consistent line-spacing once it ships. */
line-sizing: normal;
/* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
text-size-adjust: none;
background-color: var(--body-background-color);
color: var(--text-color);
font-family: var(--text);
line-height: var(--body-line-height);
/* for elements like dialog etc. that require scrolling turned off */
&:has(.body-is-locked) {
overflow: hidden;
}
}
/* CONTENT SECTIONING ELEMENTS */
address {
/* moved to elements.text.css where most people would assume it is */
}
article {
}
aside {
}
footer {
}
header {
}
/* Technically headings (h1, h2, h3, etc.) should be here, but I think it makes more sense to keep them in the elements.text file */
hgroup {
}
main {
}
nav {
}
section {
}
search {
}