-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
248 lines (248 loc) · 5.25 KB
/
styles.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
.violet {
color: mediumvioletred;
}
.blue {
color: #00a2ff;
}
.red {
color: red;
}
.orange {
color: orangered;
}
.yellow {
color: yellow;
}
.grey {
color: grey;
}
html {
height: 100%;
justify-content: center;
display: flex;
flex-direction: column;
}
html body {
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
}
html body #scene {
width: 100%;
height: 100%;
z-index: -1;
position: relative;
}
html body #scene .bg {
position: absolute;
top: -5% !important;
left: -5% !important;
background: url("img/bg.jpg") no-repeat center center;
width: 110%;
height: 110%;
background-size: cover;
filter: blur(4px);
}
html body .container {
transition: transform ease-in-out 0.3s;
z-index: 0;
margin: 0 auto;
width: 480px;
height: 300px;
perspective: 1200px;
}
@media screen and (max-width: 550px) {
html body .container {
transform: translate(-50%, -50%);
transition: transform ease-in-out 0.3s;
width: 300px;
height: 480px;
}
}
html body .container .card {
width: 100%;
height: 100%;
transition: transform 0.2s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;
transform-style: preserve-3d;
color: white;
}
html body .container .card .backdrop {
height: 115px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#18c5ed+0,1cafff+8,207cca+19,f6ba64+35,fd6a7d+51,6c5589+70,1b6685+83,207cca+93 */
background: #18c5ed;
/* Old browsers */
background: -moz-linear-gradient(-45deg, #18c5ed 0%, #1cafff 8%, #207cca 19%, #f6ba64 35%, #ff4e65 51%, #6c5589 70%, #1b6685 83%, #207cca 93%);
/* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #18c5ed 0%, #1cafff 8%, #207cca 19%, #f6ba64 35%, #ff4e65 51%, #6c5589 70%, #1b6685 83%, #207cca 93%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #18c5ed 0%, #1cafff 8%, #207cca 19%, #f6ba64 35%, #ff4e65 51%, #6c5589 70%, #1b6685 83%, #207cca 93%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18c5ed', endColorstr='#207cca', GradientType=1);
/* IE6-9 fallback on horizontal gradient */
border-bottom-left-radius: 65%;
}
html body .container .card .backdrop.reversed {
border-bottom-left-radius: initial;
}
html body .container .card .back .expanded {
border-radius: 15px;
transition: border-radius 0.3s ease-in-out;
}
html body .container .card .back h1 {
transform: translateY(0px);
font-size: 16px;
text-align: center;
transition: font-size 0.5s ease-in-out, transform 0.5s ease-in-out;
}
html body .container .card .back h1 p {
margin: 0;
}
html body .container .card .back h1.reversed {
margin-top: 50px;
margin-left: 50px;
font-size: 25px;
text-align: left;
}
html body .container .card .back h1.reversed .grey {
font-size: 16px;
}
html body .container .card .back .about-me {
display: none;
}
html body .container .card .front {
position: absolute;
transform: rotateY(-180deg);
}
html body .container .card .front .profile {
position: absolute;
top: 30px;
left: 26px;
opacity: 1;
height: 170px;
border-radius: 50%;
backface-visibility: hidden;
border: #14141B solid 5px;
}
@media screen and (max-width: 550px) {
html body .container .card .front .profile {
left: 60px;
}
}
html body .container .card .front .contact {
position: absolute;
right: 6px;
bottom: -6px;
padding: 18px;
}
@media screen and (max-width: 550px) {
html body .container .card .front .contact {
right: 29px;
}
}
html body .container .card .front .title {
position: absolute;
bottom: 0;
left: 24px;
padding: 3px;
margin: 0;
line-height: 12px;
text-align: center;
}
@media screen and (max-width: 550px) {
html body .container .card .front .title {
bottom: 180px;
left: 64px;
}
}
html body .container .card .scroller {
overflow-y: scroll;
padding: 30px;
}
html body .container .flipped {
transform: translate(-50%, -50%) rotateY(-180deg);
}
.side {
position: absolute;
height: 100%;
width: 100%;
backface-visibility: hidden;
border-radius: 15px;
padding: 0;
background-color: #14141B;
overflow: hidden;
}
::-webkit-scrollbar {
display: none;
}
div.wide {
width: 50vw !important;
height: 100vh !important;
}
div.wide .side {
border-radius: 0 !important;
transition: border-radius 2s ease-in-out;
}
.text {
font-family: "Fira Mono", monospace;
font-size: 13px;
}
.text .l1 {
border-left: grey solid 1.5px;
padding-left: 30px;
padding-top: 2px;
padding-bottom: 2px;
}
.text .l1 div {
justify-content: normal;
align-items: left;
}
.text ul {
padding: 0;
}
.text h4 {
margin-top: 7px;
margin-bottom: 2px;
}
.text h4 a {
text-decoration: none;
color: inherit;
}
.text h4 a :hover {
color: #fff;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}
.wide {
width: 70vw !important;
height: 90vh !important;
}
.wide .profile {
opacity: 0 !important;
}
.wide .subtitle {
display: none;
}
.wide .about-me {
display: block !important;
margin-top: -200px;
padding: 50px;
}
@media screen and (max-width: 630px) {
.sidebar {
overflow-x: scroll;
}
}