-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
328 lines (283 loc) · 6.17 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
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
325
326
327
328
/* document colors */
:root {
--darkgrey: #1f2833;;
--neutral: #c5c6c7;
--highlight-one: #66fcf1;
--highlight-two: #45a29e;
--whitest: #FCFBF4;
}
/* document animations */
@keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
@keyframes pan_bg {
0% {
background-position: 0% 0%;
}
100% {
background-position: 100% 0%;
}
}
@keyframes pan_bg_2 {
0% {
background-position: 25% 0%;
}
100% {
background-position: 125% 0%;
}
}
/*styling begins here*/
body, html {
background-color: var(--darkgrey);
height: 100%;
}
/*
collapsable menu stylization, including social links
*/
.menu {
display: flex;
align-items: center;
justify-content: space-around;
top: 0;
}
.contact-me {
flex-direction: column;
align-items: center;
justify-content: space-around;
position: relative;
display: none;
opacity: 0;
}
.socials {
background-color: none;
position: fixed;
top: 0px;
padding: 0px;
}
.social:link, .social:visited {
background-color: var(--whitest);
margin: 5%;
color: var(--darkgrey);
border: dotted 2px var(--highlight-one);
transition: background-color 0.5s;
}
.social:hover {
background-color: var(--highlight-two);
border-color: var(--highlight-one);
color: var(--blackest)
}
.social:active {
background-color: var(--darkgrey);
}
#collapse {
border: none;
background-color: transparent;
overflow: hidden;
outline: none;
}
#collapse > img {
border: dotted 2px var(--highlight-one);
background-color: var(--darkgrey);
height: 96px;
width: 96px;
cursor: pointer;
margin: 0;
padding: 0;
transition: background-color 0.5s;
}
#collapse:hover > img, #collapse:focus > img {
border: solid 2px var(--highlight-two);
background-color: var(--whitest);
}
.logo {
width: 64px;
height: 64px;
}
.contact-me.show {
opacity: 1;
display: flex;
}
/*
images, particularly scrollable image heading background
*/
.imgheading, .imgpinfo, .imgprojects, .imgsocials {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
opacity: 0.8;
}
.imgheading {
background-image: url(assets/IMG_4519.png);
height: 60%;
opacity: 0.9;
background-position: center;
}
/*heading stylization, includes container and sliding background*/
.heading_container {
background: radial-gradient(rgb(var(--highlight-two)), rgb(var(--darkgrey)));;
height: 26%;
overflow: hidden;
position: relative;
}
.heading {
display: flex;
flex-direction: column;
align-items:center;
background-image: url("assets/triforce_repeat.png");
background-size: 10%;
animation: pan_bg 45s linear infinite;
height: auto;
width: 100%;
position: absolute;
}
.heading > h1 {
font: 50px "Lucida Console", monospace;
color: var(--highlight-one);
}
.heading > h2 {
font: 25px "Courier New", monospace;
text-align: center;
color: var(--highlight-one);
}
/*skill group section, including slideshow of clubs and such*/
.personal-info {
display: flex;
flex-direction: row;
align-items: center;
background-color: var(--whitest);
height: auto;
width: 100%;
font: 20px "Alata", Verdana, sans-serif;
}
.skill-group {
background-color: var(--darkgrey);
border: dotted 2px var(--whitest);
margin: 2%;
width: 25%;
color: var(--whitest);
transition: background-color 0.5s;
text-align: center;
}
.skill-group:hover {
background-color: var(--whitest);
border: solid 3px var(--darkgrey);
color: var(--darkgrey)
}
.skill-group > ul {
columns: auto 200px;
}
.slideshow_container {
background: var(--highlight-two);
height: 25%;
overflow: hidden;
position: relative;
}
.slideshow {
position: absolute;
width: 100%;
height: 100%;
margin: auto;
flex: 1 300px;
background-image: url(assets/anchor_repeat.png);
background-size: 10%;
animation: pan_bg_2 50s linear(1, 0) infinite;
}
.slide {
display: none;
flex-direction: column;
align-items: center;
}
.slide > a {
padding: 3%;
background-color: var(--darkgrey);
border: dotted 3px var(--whitest);
transition: background-color 0.5s;
}
.slide > a:hover {
background-color: var(--whitest);
border: solid 3px var(--darkgrey);
}
.caption {
background-color: var(--whitest);
font: 20px "Alata", Verdana, sans-serif
}
/*for slides to have that nice fade animation*/
.fade-anim {
animation: fade 1.5s;
}
.slide > a > img {
height: 200px;
width: 200px;
}
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: var(--highlight-one);
background-color: var(--darkgrey);
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
border: dotted 2px var(--whitest);
}
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
border: solid 2px var(--darkgrey);
background-color: var(--highlight-one);
color: var(--darkgrey);
}
.prev:active, .next:active {
background-color: var(--darkgrey);
}
/*
projects section, including link stylization and animations
*/
.projects {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
background-color: var(--whitest);
height: auto;
width: 100%;
font: 16px "Alata", Verdana, sans-serif;
padding-bottom: 20px;
}
.projects > a:link, .projects > a:visited {
flex: 1;
width: auto;
border: dotted 2px var(--darkgrey);
margin: 1%;
color: var(--darkgrey);
text-decoration: none;
text-align: center;
background-color: var(--highlight-two);
padding: 10px;
transition: background-color 0.5s;
}
.projects > a:hover {
background-color: var(--whitest);
border: solid 2px var(--highlight-one);
color:var(--highlight-two);
}
.projects > a:active {
background-color: var(--darkgrey);
}
.projects > a > img {
height: auto;
width: 70px;
}