-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·292 lines (245 loc) · 5.22 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@400;700&display=swap");
body {
background-color: white;
overflow-x: hidden;
font-family: "Noto Sans HK", sans-serif;
color: black;
}
.all-headers {
text-decoration: underline;
text-decoration-color: #3ed7de;
}
/*--- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
margin-left: 0px !important;
margin-right: 0px !important;
}
/*--- Fix for Fixed Navbar jumping on scroll --*/
.fixed-top {
-webkit-backface-visibility: hidden;
}
/*---- For header sizes of sections -----*/
* h2 {
font-size: 32px;
padding-top: 3.5rem;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 1.25rem;
padding-bottom: 1.25rem;
position: relative;
}
/*========== Navigation ==========*/
.navbar {
text-transform: uppercase;
font-weight: 700;
font-size: 0.9rem;
letter-spacing: 0.1rem;
background-color: rgba(0, 0, 0, 0.6) !important;
}
.navbar-nav li {
padding-right: 0.7rem;
}
.navbar-dark .navbar-nav .nav-lnk {
color: white;
padding-top: 0.8rem;
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
color: #3ed7de;
}
/*-- Landing page --*/
.landing {
position: relative;
width: 100%;
height: 100vh;
z-index: -1;
}
.home-wrap {
clip: rect(0, auto, auto, 0);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* FOR WEBP SUPPORT
.webp .home-inner {
background-image: url("img/desktop_programming.webp");
}
.no-webp .home-inner {
background-image: url("img/desktop_optimized.jpg");
}
*/
.home-inner {
background-image: url("img/desktop_optimized.jpg");
opacity: 0.6;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center center;
/*----- webkit for ios apps ex. safari... (or so I think) ------*/
-webkit-transform: translateZ(0);
transform: translateZ(0);
will-change: transform;
}
.caption {
width: 100%;
max-width: 100%;
position: absolute;
top: 38%;
z-index: 1;
color: white;
text-transform: uppercase;
/*background-color: black;*/
}
.caption h1 {
font-size: 3.8rem;
font-weight: 700;
letter-spacing: 0.3rem;
text-shadow: 0.1rem 0.1rem 0.8rem black;
padding-bottom: 1rem;
}
.caption h3 {
font-size: 2rem;
text-shadow: 0.1rem 0.1rem 0.5rem black;
}
.btn-lg {
border-width: medium;
border-radius: 0;
}
.btn-lg:hover {
border-color: #3ed7de;
background-color: rgba(0, 0, 0, 0.6);
color: #3ed7de;
}
/*============= RESUME SECTION =============*/
.resume h1 {
padding-top: 2rem;
font-weight: 400;
}
.resume .resume-title {
font-size: 26px;
font-weight: 400;
margin-top: 1rem;
margin-bottom: 1rem;
color: black;
}
/*----- Border on left and padding -------*/
.resume .resume-item {
padding: 0 0 20px 20px;
margin-top: -2px;
border-left: 2px solid #3ed7de;
position: relative;
}
.resume .resume-item h4 {
line-height: 18px;
font-size: 18px;
font-weight: 600;
color: #30aeb4;
margin-bottom: 10px;
}
.resume .resume-item h5 {
font-size: 16px;
padding: 5px 15px;
display: inline-block;
font-weight: 600;
margin-bottom: 10px;
color: #3ed7de;
}
.resume .resume-item ul {
padding-left: 20px;
}
.resume .resume-item ul li {
padding-bottom: 10px;
}
.resume .resume-item:last-child {
padding-bottom: 0;
}
/*----- Makes the circle on the side of resume ----*/
.resume .resume-item::before {
content: "";
position: absolute;
width: 1rem;
height: 1rem;
border-radius: 50px;
left: -9px;
background: white;
border: 2px solid #3ed7de;
}
.section-title {
text-align: center;
padding-bottom: 2rem;
}
/*======================== Projects ==============================*/
/*---- Cards ----*/
#projects h2 {
padding-top: 0;
padding-bottom: 3rem;
}
.project-card {
background-color: #333;
color: #aaa;
height: 98.5%;
width: 100%;
}
.project-card a {
white-space: normal;
}
/*---------- Below is to make it so GIF's show on hover ------------*/
.zs-proj-img img {
background: url("img/zenscrum_tasks.png");
}
/*================== CONTACT ME ==================*/
#contact {
padding-bottom: 5rem;
}
/*============ BOOTSTRAP BREAK POINTS:
Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap
Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }
Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }
Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }
Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
=============*/
/*========EXTRA============*/
.grow {
transition: all 0.2s ease-in-out;
}
.grow:hover {
transform: scale(1.05);
}
/*--- iOS Fixed Background Image --*/
.fixed-background {
position: relative;
width: 100%;
}
.fixed-wrap {
clip: rect(0, auto, auto, 0);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -999 !important;
}
.fixed {
position: fixed;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center center;
-webkit-transform: translateZ(0);
transform: translateZ(0);
will-change: transform;
}