-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
246 lines (222 loc) · 8.86 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
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
-moz-font-feature-settings: "liga" on;
margin: 0;
}
body {
background-color: #F8F8F8;
font-family: Garamond, serif;
width: 640px;
margin: 40px auto 40px auto;
}
@media (max-width: 800px) {
body {
width: auto;
margin: 30px;
font-size: 13px;
}
}
a {
color: #999;
text-decoration: none;
border-bottom: 1px dotted #444;
}
a:hover {
color: #666;
border-bottom-color: #222;
}
.justify {
text-align: justify;
}
main {
font-family: "Helvetica Neue", Arial, Sans-Serif;
line-height: 130%;
color: #999;
font-weight: 300;
}
h1 {
font-family: Garamond, serif;
line-height: 42px;
font-weight: 200;
margin-bottom: 10px;
color: #333;
font-size: 1.1em;
}
h2 {
color: #777;
margin: 30px 0 15px 0;
font-weight: 300;
font-size: 26px;
}
/* MAIN PAGE *****************************************************************/
header {
height: 160px;
padding-left: 140px;
position: relative;
}
header .foto {
background: url(me/2014-06.jpg);
font-size: 0;
background-size: 120px;
background-repeat: no-repeat;
border-top-left-radius: 20px;
background-position: center center;
position: absolute;
left: 0;
top: 0;
border: 0;
height: 160px;
width: 120px;
border: 1px solid #eee;
}
header .foto:hover {
color: white !important;
border-color: #ddd;
}
header .foto::before {
color: white;
transition: all 0.5s ease;
height: 20px;
width: 20px;
display: inline-block;
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path shape-rendering='geometricPrecision' d='M4.715 6.542 3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.002 1.002 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z'/><path d='M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 1 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 1 0-4.243-4.243L6.586 4.672z'/></svg>");
content: "";
position: absolute;
top: 5px;
right: 5px;
}
header .foto:hover::before {
transform: rotate(180deg);
}
header .intro {
margin: 10px 0 40px 0;
color: #666;
font-family: Courier New;
font-size: 2em;
height: 42px;
}
header .typed-cursor {
position: absolute;
}
main ul {
padding: 0;
margin: 0 0 0px 5px;
}
main ul li {
font-size: 22px;
list-style-type: none;
padding: 0 0 10px 0;
line-height: 1.1em;
}
main ul li::before {
content: "\2192";
padding-right: 20px;
transition: all 0.2s ease;
}
main ul li:hover::before {
padding-left: 5px;
padding-right: 15px;
}
@keyframes asciiLoader {
0% {content: "●∙∙∙";}
33% {content: "∙●∙∙";}
66% {content: "∙∙●∙";}
100% {content: "∙∙∙●";}
}
main ul li.loading::after {
content: "";
animation: asciiLoader 0.4s linear infinite alternate;
}
footer {
color: #555;
overflow: hidden;
margin: 30px 0 0px 0;
}
footer a.social {
display: inline-block;
padding: 10px 5px 20px 5px;
font-size: 0;
background: transparent;
vertical-align: bottom;
color: #F8F8F8;
text-decoration: none;
border-bottom: none;
}
footer a.social:hover {
transition: padding 300ms ease;
padding: 5px 5px 25px 5px;
}
footer a.social::before {
margin: 0;
padding: 0;
cursor: pointer;
transition: color 200ms ease;
transform: translateZ(0);
display: inline-block;
box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px -10px;
content: "";
height: 35px;
width: 35px;
display: inline-block;
background-repeat: no-repeat;
background-position: center;
background-size: 70% 70%;
background-color: #555;
border-radius: 5px;
}
footer a.social:hover::before {
box-shadow: rgba(0, 0, 0, 0.6) 0px 15px 15px -10px;
transition: box-shadow 300ms ease;
}
footer a.social.twitter::before {/*source bootstrap*/
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-twitter' viewBox='0 0 16 16'><path shape-rendering='geometricPrecision' d='M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z'/></svg>");
}
footer a.social.twitter:hover::before {background-color: #77DDF6;}
footer a.social.github::before {/*source bootstrap*/
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path shape-rendering='geometricPrecision' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z'/></svg>");
}
footer a.social.github:hover::before {background-color: #000000;}
footer a.social.linkedin::before {/* source https://www.svgrepo.com/svg/447416/linkedin */
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' fill='white' viewBox='0 0 310 310'><g shape-rendering='geometricPrecision' id='XMLID_801_'><path shape-rendering='geometricPrecision' id='XMLID_802_' d='M72.16,99.73H9.927c-2.762,0-5,2.239-5,5v199.928c0,2.762,2.238,5,5,5H72.16c2.762,0,5-2.238,5-5V104.73 C77.16,101.969,74.922,99.73,72.16,99.73z'/><path shape-rendering='geometricPrecision' id='XMLID_803_' d='M41.066,0.341C18.422,0.341,0,18.743,0,41.362C0,63.991,18.422,82.4,41.066,82.4 c22.626,0,41.033-18.41,41.033-41.038C82.1,18.743,63.692,0.341,41.066,0.341z'/><path shape-rendering='geometricPrecision' id='XMLID_804_' d='M230.454,94.761c-24.995,0-43.472,10.745-54.679,22.954V104.73c0-2.761-2.238-5-5-5h-59.599 c-2.762,0-5,2.239-5,5v199.928c0,2.762,2.238,5,5,5h62.097c2.762,0,5-2.238,5-5v-98.918c0-33.333,9.054-46.319,32.29-46.319 c25.306,0,27.317,20.818,27.317,48.034v97.204c0,2.762,2.238,5,5,5H305c2.762,0,5-2.238,5-5V194.995 C310,145.43,300.549,94.761,230.454,94.761z'/></g></svg>");
}
footer a.social.linkedin:hover::before {background-color: #0177B5;}
footer a.social.mail::before {/*source bootstrap*/
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256' fill='white' viewBox='0 0 256 256'><g shape-rendering='geometricPrecision' style='stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;' transform='translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)' ><path shape-rendering='geometricPrecision' d='M 45 42.768 l 45 -20.785 v -3.587 c 0 -3.186 -2.582 -5.768 -5.768 -5.768 H 5.768 C 2.582 12.627 0 15.209 0 18.395 v 3.587 L 45 42.768 z' style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: white; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round' /><path shape-rendering='geometricPrecision' d='M 45 52.626 L 0 31.84 v 39.765 c 0 3.186 2.582 5.768 5.768 5.768 h 78.464 c 3.186 0 5.768 -2.582 5.768 -5.768 V 31.84 L 45 52.626 z' style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: white; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round' /></g></svg>");
}
footer a.social.mail:hover::before {background-color: #F7B401;}
/* FOTO PAGE *****************************************************************/
nav {
font-family: "Helvetica Neue", Arial, Sans-Serif;
color: #333;
font-size: 2em;
position: sticky;
top: 0;
z-index: 10;
background: #F8F8F8;
padding: 20px 0px;
}
main figure {
display: inline-block;
border: 1px solid #CCC;
box-shadow: rgba(50, 50, 50, 0.3) 5px 5px 10px -2px;
margin: 10px 5px;
position: relative;
}
main figure img {
vertical-align:top;
height: 180px;
}
main figure figcaption {
position: absolute;
font-weight: bold;
bottom: 0px;
left: 0px;
padding: 2px;
color: white;
background: black;
}