-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
199 lines (136 loc) · 2.18 KB
/
index.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/* BODY */
body {
background-color: white;
font-family: "Rubik", sans-serif;
font-size: 26px;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
max-width: 1240px;
position: relative;
z-index: 1;
margin: 0px auto;
padding: 10px;
}
.flexbox {
display: flex;
flex-wrap: nowrap;
/* custom screen */
}
.flexbox > div {
flex: 1;
/* custom screen */
}
header .flexbox {
/* custom screen */
}
header .flexbox .right {
/* custom screen */
}
header .flexbox .right nav {
display: flex;
}
header .logo {
width: 200px;
height: 90px;
}
header nav a {
text-decoration: none;
color: var(--primary-green);
padding: 10px;
/* EXPERIMENT: maybe we only need this on desktop */
padding: 10px 60px;
}
/* mobile */
@media screen and (max-width: 1200px) {
header .flexbox {
flex-direction: column;
}
header .flexbox .right {
align-self: stretch;
}
header nav {
justify-content: space-evenly;
}
/*
header nav a {
padding: 10px;
}
*/
}
/* desktop */
@media screen and (min-width: 1200px) {
header {
/* padding: 0 0 50px 0; */
}
header .flexbox {
flex-direction: row;
}
header .flexbox .right {
justify-self: center;
}
/* desktop header's left and right */
header .flexbox > div {
/* vertical align center */
align-self: center;
}
header nav{
justify-content: right;
}
/*
header nav a {
padding: 10px 60px;
}
*/
}
/* CONTAINER */
.container {
max-width: 1440px;
margin: 0 auto;
padding: 10px;
position: relative; z-index: 1;
}
.container em {
font-style: normal;
/* color: var(--primary-red); */
}
/* FLEXBOX */
.flexbox {
display: flex;
flex-wrap: nowrap;
/* custom screen */
}
.flexbox > div {
flex: 1;
/* custom screen */
}
.flexbox .left {
}
.flexbox .right {
}
/* mobile */
@media screen and (max-width: 1200px) {
.flexbox {
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.flexbox > div {
/* vertical align top */
/* align-self: flex-start; */
}
}
/* desktop */
@media screen and (min-width: 1200px) {
.flexbox {
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.flexbox > div {
/* vertical align top */
align-self: flex-start;
}
}