-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
42 lines (39 loc) · 1.08 KB
/
styles.css
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
/* Lume's design system */
@import "https://unpkg.com/@lumeland/[email protected]/ds.css";
.container {
min-height: 100vh;
display: grid;
justify-content: center;
align-content: start;
row-gap: 2em;
column-gap: 4em;
grid-template-columns: minmax(0, 800px);
grid-template-areas: "toolbar"
"main"
"menu"
"footer";
@media (max-width: 949px) {
padding: 5vw;
}
@media (min-width: 950px) {
grid-template-columns: clamp(250px, 25vw, 300px) minmax(0, 800px) 1fr;
grid-template-rows: auto auto 1fr;
grid-template-areas: "menu toolbar"
"menu main"
"menu footer";
}
@media (min-width: 1200px) {
grid-template-columns: 1fr minmax(10vw, 250px) minmax(0, 800px) 200px 1fr;
grid-template-rows: auto auto 1fr;
grid-template-areas: "menu menu toolbar ."
"menu menu main toc"
"menu menu footer toc";
}
}
main {
grid-area: main;
color:darkslategray;
}
.body {
margin-top: var(--row-gap-xsmall);
}