-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (71 loc) · 1.21 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
html {
font-size: 16px;
box-sizing: border-box;
}
body {
font-family: Roboto, sans-serif;
}
#doc-header {
font-size: 2rem;
font-weight: 700;
letter-spacing: 0.1em;
}
.doc-header {
grid-area: header;
}
#nav-header {
grid-area: nav-header;
}
.navbar {
grid-area: navbar;
background-color: aqua;
margin: 0;
height: 100vh;
position: fixed;
}
#Header_1 {
grid-area: section-1;
}
#Header_2 {
grid-area: section-2;
}
#Header_3 {
grid-area: section-3;
}
#Header_4 {
grid-area: section-4;
}
#Header_5 {
grid-area: section-5;
}
header {
font-size: 1.45rem;
font-weight: 400;
letter-spacing: 0.075em;
}
#main-doc {
display: grid;
/* gap: 40px; */
grid-template-columns: 1fr 4fr;
grid-template-areas:
"nav-header header"
"navbar main"
"navbar section-1"
"navbar section-2"
"navbar section-3"
"navbar section-4"
"navbar section-5";
}
#navbar {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
position: fixed;
}
@media (max-width: 600px) {
body {
font-size: 1.2rem;
margin: 1rem 2rem;
}
}