-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
208 lines (172 loc) · 3.08 KB
/
main.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
200
201
202
203
204
205
206
207
208
@import url('https://fonts.googleapis.com/css?family=Montserrat');
body {
font-family: 'Montserrat', sans-serif;
min-height: 100vh;
}
body p {
font-size: 1.2em;
color: grey;
}
body h3 {
font-size: 1.7em;
color: #242323;
}
body h1 {
font-size: 2em;
color: #242323;
}
body h2 {
font-size: 1.9em;
color: #242323;
}
html, body {
width: 100%;
height: 100%;
}
html {
font-size: 75%;
}
@media only screen and (max-device-width: 480px) {
html {
font-size: 100%;
}
}
main {
flex-grow: 1;
}
header, main, footer {
flex-shrink: 0;
}
.main {
min-height: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
}
.header {
display: flex;
flex-direction: column;
align-content: space-between;
}
.logo {
margin: 2em;
margin-bottom: -6em;
padding-left:4em;
justify-self: baseline;
}
.nav {
align-self: flex-end;
justify-content: space-evenly;
justify-self: baseline;
margin-right: 25px;
}
.nav h4 {
padding-top: 25px;
align-self: flex-start;
margin-right: 40px;
font-size: 150%;
}
.nav h4 strong {
padding-top: 25px;
font-weight: 800;
}
.nav ul li a {
text-decoration: none;
color: #1a1818;
padding: 20px;
padding-bottom: 0;
padding-top: 0;
flex-wrap: nowrap;
border-right: 1px solid #ECECEC;
font-size: 120%;
}
.cta {
margin-top: 2%;
background: #66527B;
min-height: 10em;
align-items: center;
justify-content: center;
display: flex;
flex-wrap: wrap;
flex-direction: column;
flex: 1;
}
.cta h1 {
padding: 0;
padding-top: 2%;
font-size: 2.5em;
flex-grow: 1;
flex: 1;
justify-content: center;
color: #ECECEC;
}
.cta button {
min-height: 30px;
min-width: 10%;
background-color: #f90;
border: 2px solid rgb(27, 27, 27);
color: antiquewhite;
display: inline-block;
border-radius: 7px;
display: inline-block;
margin: 2%;
transition: all .3s ease-in-out;
}
.cta button a {
font-size: 2em;
}
button.orange {
background: #f90;
color: #FFF;
border: 4px solid #f90;
}
button.orange:hover {
background: #f90;
color: #FFF;
border: 4px solid #f90;
box-shadow: 0 1px #EFEFEF;
}
button.orange:active {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3);
}
.text-pannels {
display: flex;
padding: 3em;
border: solid .5em transparent;
box-sizing: border-box;
/** relative so that our ::before absolute block can position itself according to it's parent block **/
position: relative;
}
.text-pannels h3,
p {
line-height: 1.8em;
}
.text-pannels p {
padding-bottom: 1em;
}
.text-pannels>div {
flex: 1;
}
.left-pannel {
padding-right: 0.5em;
padding-left: 5em;
}
.right-pannel {
padding-left: 0.5em;
padding-right: 5em;
}
horzline {
color: grey;
}
.footer {
display: flex;
justify-content: center;
}
.footer-links a {
text-decoration: underline;
color: #b3b3b3;
}
.footer-links a:visited {
text-decoration: underline;
color: #b3b3b3;
}