-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.production.css
324 lines (285 loc) · 7.45 KB
/
style.production.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
:root {
--teal: #caebf2;
--blue: #6495ed;
--white: #faf0e6;
--olive: #357b70;
--orange: #e0b354;
--black: #2b2b2b;
--lightgray: #D3D3D3;
--skyblue: #02a9ea;
--bodyweight: 400; font-size: 16px; font-family: 'Lato', sans-serif; line-height: 1.6; display: block; text-align: justify;
}
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.profile__portrait {
float: left;
}
body {
body: --bodyweight;
background-color: var(--teal);
}
main {
font-family: 'Lato', sans-serif;
background-color: var(--teal);
body: --bodyweight;
}
h1, h2, h3 {
font-family:'Lato', sans-serif, monospace;
}
h1 {
font-size: 22px;
font-weight: 700;
}
h2 {
font-size: 20px;
font-weight: 700;
}
h3 {
font-size: 18px;
font-weight: 700;
}
a:hover, a:focus {
/* No underlining when hovering over a link */
text-decoration: none;
}
button {
/* overwrites browser defaults and resets the border */
border: none;
/* takes the font from the outer container */
font-family: inherit;
/* styles the background color, font color, and text decoration (underline, etc.) of the button */
background-color: var(--olive);
color: var(--white);
text-decoration: none;
/*adds spacing to the button (this will be discussed more in-depth later) */
padding: 10px;
border-radius: 3px;
/* gives the button a bottom border with a width of 2px, a type of solid, and a color in RGBA format */
border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.button__secondary {
background-color: var(--orange);
color: var(--black);
}
button:hover, button:focus {
/* lets the mouse appear as a hand when hovering over the button */
cursor: pointer;
/* reduces the opacity of the button to 80% */
opacity: 0.8;
}
.button, button {
border: none;
display: inline-block;
font-family: inherit;
/* styles the button */
background-color: var(--olive);
color: var(--white);
text-decoration: none;
padding: 10px;
border-radius: 3px;
/* width of the border, type, color */
border-bottom: 2px solid rgba(0, 0, 0, 0.3);
-webkit-transition-duration: 0.2s;
-o-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
}
button:hover,
button:focus,
.button:hover,
.button:focus {
/*lets the mouse appear as a hand when hovering over the button */
cursor: pointer;
/*reducse the opacity of the button to 80% */
opacity: 0.8;
}
.page-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: auto;
padding: 20px;
}
.page-footer {
clear: both;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
text-align: center;
}
.Home_Photo {
border-radius: 50%;
width:150px;
height:150px;
justify: left;
}
table {
display: table;
border-collapse: separate;
text-indent: initial;
border-spacing: 2px;
border-color: var(--skyblue);
}
table {
text-align: center;
margin-left: auto;
margin-right: auto;
}
table, th, td {
border: 3px solid #02a9ea;
width: 50%;
}
.links {
-ms-grid-column-align: left;
justify-self: left;
}
.links-list {
list-style: none;
padding: 0;
}
.grid {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 2em 1fr;
grid-template-columns: 1fr 1fr;
grid-gap: 2em;
margin: 2em;
}
.grid__item {
background-color: var(--lightgray);
display: inline-block;
width: auto;
min-height: auto;
margin: 0;
}
nav ul {
list-style: inline-block;
width: 100%;
display: justify-flex;
float: right;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: justify;
margin: 5px 10px;
}
nav li {
display: inline-block;
margin: 1.4em 1em 1em 1em;
padding: 10px;
float: right;
}
@media all and (max-width: 500px) {
.grid {
-ms-grid-columns: 1fr 10px 1fr;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
}
.grid__item:last-child {
grid-column: auto / auto;
grid-row: auto / auto;
}
h1 {
font-size: 22px;
}
}
@keyframes color-change {
0% {
fill: #edc655;
}
50% {
fill: #fcffad;
}
100% {
fill: #f76414;
}
}
.sun {
-webkit-animation-duration: 4s;
animation-duration: 4s;
-webkit-animation-name: color-change;
animation-name: color-change;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
@-webkit-keyframes cloud-move {
from {
-webkit-transform: translate(0, 50px);
transform: translate(0, 50px);
}
to {
-webkit-transform: translate(200px, 50px);
transform: translate(200px, 50px);
}
}
@keyframes cloud-move {
from {
-webkit-transform: translate(0, 50px);
transform: translate(0, 50px);
}
to {
-webkit-transform: translate(200px, 50px);
transform: translate(200px, 50px);
}
}
.cloud-front {
-webkit-animation-duration: 30s;
animation-duration: 30s;
-webkit-animation-name: cloud-move;
animation-name: cloud-move;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
@-webkit-keyframes cloud-move-reverse {
from {
-webkit-transform: translate(446px, 48px);
transform: translate(446px, 48px);
}
to {
-webkit-transform: translate(100px, 48px);
transform: translate(100px, 48px);
}
}
@keyframes cloud-move-reverse {
from {
-webkit-transform: translate(446px, 48px);
transform: translate(446px, 48px);
}
to {
-webkit-transform: translate(100px, 48px);
transform: translate(100px, 48px);
}
}
.cloud-back {
-webkit-animation-duration: 34s;
animation-duration: 34s;
-webkit-animation-name: cloud-move-reverse;
animation-name: cloud-move-reverse;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}