-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
46 lines (36 loc) · 677 Bytes
/
styles.css
File metadata and controls
46 lines (36 loc) · 677 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
/* reset */
* { box-sizing: border-box; }
body { padding: 0; margin: 0; margin-bottom: 5em;}
html {
font-family: system-ui;
}
main {
display: grid;
grid-template-columns: [full-start] 1fr [content-start] min(800px, 75vw) [content-end] 1fr [full-end];
}
main > * {
grid-column: content;
}
img {
display: block;
width: 100%;
height: auto;
}
p {
line-height: 1.3;
}
.thumbs {
grid-column: content;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 1em;
}
@media (max-width: 640px) {
.hero {
grid-column: full;
}
.thumbs {
grid-column: full;
grid-template-columns: 1fr 1fr;
}
}