Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ryan778
GitHub Repository: Ryan778/Ryan778.github.io
Path: blob/master/about-me/style.css
574 views
1
/* Peeking into the code of the webpage? Don't expect too much. seriously.
2
At least it's not a huge mess and somewhat organized :D
3
*/
4
5
/* http://meyerweb.com/eric/tools/css/reset/
6
v2.0 | 20110126
7
License: none (public domain)
8
*/
9
10
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
11
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
12
margin: 0;
13
padding: 0;
14
border: 0;
15
font-size: 100%;
16
font: inherit;
17
vertical-align: baseline;
18
}
19
/* HTML5 display-role reset for older browsers */
20
article, aside, details, figcaption, figure,
21
footer, header, hgroup, menu, nav, section {
22
display: block;
23
}
24
body {
25
line-height: 1.15;
26
}
27
ol, ul {
28
padding-left: 20px;
29
list-style: initial;
30
}
31
blockquote, q {
32
quotes: none;
33
}
34
blockquote:before, blockquote:after,
35
q:before, q:after {
36
content: '';
37
content: none;
38
}
39
table {
40
border-collapse: collapse;
41
border-spacing: 0;
42
}
43
44
/* Template / Preparation CSS
45
(C) 2017 Ryan Zhang. All Rights Reserved.
46
*/
47
48
html{
49
font-family: 'Open Sans', sans-serif;
50
overflow-x: hidden;
51
cursor: default;
52
}
53
54
h1{
55
font-weight: bold;
56
font-size: 3rem}
57
h2{
58
font-weight: bold;
59
font-size: 2.5rem}
60
h3{
61
font-size: 2rem}
62
h4{
63
font-size: 1.5rem}
64
h5{
65
font-size: 1.25rem}
66
67
a{
68
color: #0366d6;
69
text-decoration: none;
70
transition: all 0.2s;
71
}
72
73
a:hover, a:focus{
74
text-decoration: underline;
75
}
76
77
a:focus{
78
outline: none;
79
background: rgba(3, 102, 214, 0.3);
80
}
81
82
.a-lt{
83
color: #8ac1ff;
84
}
85
86
.div-inner{
87
padding: 20px;
88
max-width: 800px;
89
line-height: 1.4;
90
margin: auto;
91
}
92
93
/* Main Page CSS
94
(C) 2017 Ryan Zhang. All Rights Reserved.
95
*/
96
97
::selection{
98
background: #c7e7ff;
99
}
100
101
html::-webkit-scrollbar-track{
102
background: #eee;
103
box-shadow: 0 0 1px 1px #bbb, inset 0 0 4px rgba(0,0,0,0.2)
104
}
105
106
html::-webkit-scrollbar{
107
width: 12px;
108
background-color: transparent;
109
}
110
111
html::-webkit-scrollbar-thumb{
112
background: #b8b4af;
113
box-shadow: inset 0 0 1px 1px #ada098;
114
}
115
116
html::-webkit-scrollbar-thumb:hover{
117
background: #c4b8b4;
118
cursor: pointer;
119
}
120
121
.noselect, button{
122
-webkit-user-select: none;
123
-moz-user-select: none;
124
user-select: none;
125
}
126
127
#intro{
128
width: 100%;
129
height: 720px;
130
position: relative;
131
color: white;
132
background-image: url(images/tianjin.jpg);
133
background-position: center;
134
background-size: cover;
135
}
136
137
#intro_me{
138
position: relative;
139
padding: 20px;
140
font-size: 1.2em;
141
text-shadow: 2px 2px 4px #333;
142
max-width: 800px;
143
bottom: -10px;
144
opacity: 0;
145
font-family: 'Raleway', serif;
146
transition: opacity 1.2s, bottom 1.2s;
147
margin: auto;
148
}
149
150
#intro_me_outer{
151
position: absolute;
152
width: 100%;
153
bottom: 40px;
154
}
155
156
#intro_photoCredit{
157
position: absolute;
158
bottom: 8px;
159
right: 8px;
160
font-size: 12px;
161
opacity: 0.4;
162
transition: all 0.2s;
163
}
164
165
#intro_photoCredit:hover, #intro_photoCredit:focus-within{
166
opacity: 1;
167
}
168
169
#about{
170
width: 100%;
171
position: relative;
172
background: #fafafa;
173
}
174
175
#projects{
176
width: 100%;
177
position: relative;
178
background: #eee;
179
}
180
181
#social{
182
width: 100%;
183
position: relative;
184
background: #fafafa;
185
}
186
187
#sm_icons{
188
color: #888;
189
}
190
191
.social{
192
position: relative;
193
color: white;
194
width: 150px;
195
height: 32px;
196
background: #fafafa;
197
border: 1px solid transparent;
198
transition: all 0.2s;
199
text-align: left;
200
font-size: 16px;
201
margin-right: 5px;
202
}
203
204
.social:hover, .social:focus{
205
outline: none;
206
cursor: pointer;
207
}
208
209
.social:active{
210
border-color: #555;
211
box-shadow: 0px 0px 6px #3795ff;
212
}
213
214
.social-inner{
215
padding-right: 5px;
216
width: 20px;
217
text-align: center;
218
display: inline-block;
219
border-right: 1px solid #ddd;
220
margin-right: 4px;
221
}
222
223
.social a{
224
color: inherit;
225
text-decoration: none;
226
}
227
228
.sp{
229
transition: all 0.2s;
230
}
231
232
#btn_fb{
233
background: #3B5998;
234
}
235
#btn_fb:hover, #btn_fb:focus, #btn_tb:hover, #btn_tb:focus, #btn_st:hover, #btn_st:focus{
236
border-color: navy;
237
box-shadow: 0px 0px 4px #416dff;
238
}
239
#btn_fb:active{
240
background: #4667aa;
241
box-shadow: 0px 0px 8px #2a5cff;
242
}
243
244
#btn_tw{
245
background: #00aced;
246
text-shadow: 1px 1px 2px #555;
247
}
248
#btn_tw:hover, #btn_tw:focus{
249
border-color: #008bbf;
250
box-shadow: 0px 0px 4px #55a5ff;
251
}
252
#btn_tw:active{
253
background: #0eb8f8;
254
box-shadow: 0px 0px 8px #3393ff;
255
}
256
257
#btn_ig{
258
background: #9b6954;
259
text-shadow: 1px 1px 2px #555;
260
}
261
#btn_ig:hover, #btn_ig:focus{
262
border-color: #8d5239;
263
box-shadow: 0px 0px 4px #aa4405;
264
}
265
#btn_ig:active{
266
background: #aa6e55;
267
box-shadow: 0px 0px 8px #e25700;
268
}
269
270
#btn_sc{
271
background: #ffff00;
272
color: #555;
273
}
274
#btn_sc:hover, #btn_sc:focus{
275
color: black;
276
border-color: #555;
277
box-shadow: 0px 0px 4px #ffff00;
278
}
279
#btn_sc:active{
280
background: #fff500;
281
box-shadow: 0px 0px 8px #ffeb00;
282
}
283
284
#btn_rd{
285
background: #ff6314;
286
text-shadow: 1px 1px 2px #555;
287
}
288
#btn_rd:hover, #btn_rd:focus{
289
border-color: #f8651a;
290
box-shadow: 0px 0px 4px #eb5e07;
291
}
292
#btn_rd:active{
293
background: #ff7631;
294
box-shadow: 0px 0px 8px #ff5600;
295
}
296
297
#btn_tb, #btn_st{
298
background: #36465d;
299
}
300
#btn_tb:active, #btn_st:active{
301
background: #3b5171;
302
box-shadow: 0px 0px 8px #2a5cff;
303
}
304
305
#discord-icon{
306
vertical-align: bottom;
307
}
308
#btn_dc{
309
background: #7289DA;
310
text-shadow: 1px 1px 2px #555;
311
}
312
#btn_dc:hover, #btn_dc:focus{
313
border-color: #4d65bc;
314
box-shadow: 0px 0px 4px #7289DA;
315
}
316
#btn_dc:active{
317
background: #7c96f2;
318
box-shadow: 0px 0px 8px #6379c6;
319
}
320
321
#btn_yt, #btn_gp{
322
background: #f2171e;
323
text-shadow: 1px 1px 2px #555;
324
}
325
#btn_yt:hover, #btn_yt:focus, #btn_gp:hover, #btn_gp:focus{
326
border-color: #c3151c;
327
box-shadow: 0px 0px 4px #eb2a07;
328
}
329
#btn_yt:active, #btn_gp:active{
330
background: #f74046;
331
box-shadow: 0px 0px 8px #ff0000;
332
}
333
334
#btn_gh{
335
color: purple;
336
background: white;
337
box-shadow: 0px 0px 1px #ccc;
338
}
339
#btn_gh:hover, #btn_gh:focus{
340
border-color: #783298;
341
box-shadow: 0px 0px 2px #a227a2;
342
}
343
#btn_gh:active{
344
box-shadow: 0px 0px 8px purple;
345
background: #fcf0ff;
346
}
347
348
#btn_wk{
349
color: black;
350
background: white;
351
box-shadow: 0px 0px 1px #ccc;
352
}
353
#btn_wk:hover, #btn_wk:focus{
354
border-color: #7f75ef;
355
box-shadow: 0px 0px 2px #9f97ff;
356
}
357
#btn_wk:active{
358
box-shadow: 0px 0px 8px #7064ff;
359
background: #f0f6ff;
360
}
361
362
#btn_wc{
363
background: #05c30d;
364
text-shadow: 1px 1px 2px #555;
365
}
366
#btn_wc:hover, #btn_wc:focus{
367
border-color: #029108;
368
box-shadow: 0px 0px 4px #05c30d;
369
}
370
#btn_wc:active{
371
background: #00d409;
372
box-shadow: 0px 0px 8px #05c30d;
373
}
374
375
#footer{
376
width: 100%;
377
border-top: 1px solid #eee;
378
background: #fafafa;
379
color: #aaa;
380
font-size: 12px;
381
}
382
383