-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (98 loc) · 1.88 KB
/
styles.css
File metadata and controls
117 lines (98 loc) · 1.88 KB
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
@font-face {
font-family: sourcesans;
src: url(fonts/sourcesanspro-regular-web.woff2) format('woff2'),
url(fonts/sourcesanspro-regular-web.woff) format('woff'),
url(fonts/sourcesanspro-regular-web.ttf) format('truetype');
}
@font-face {
font-family: sourcesansSemibold;
src: url(fonts/sourcesanspro-semibold-web.woff2) format('woff2'),
url(fonts/sourcesanspro-semibold-web.woff) format('woff'),
url(fonts/sourcesanspro-semibold-web.ttf) format('truetype');
}
body {
font-family: sourcesans, sans-serif;
font-weight: 400;
/*font-feature-settings: "ss01", "ss02", "ss03", "ss04";*/
color: white;
background-color: #282828;
overflow: hidden;
}
a {
text-decoration: none;
color: #585858;
}
@media (orientation: landscape) {
.main {
padding: 16%;
padding-top: 12%;
}
}
@media (orientation: portrait) {
.main {
padding-top: 10%;
justify-content: flex-end;
}
}
.name {
font-family: sourcesansSemibold, sans-serif;
font-weight: 600;
font-size: 666%;
line-height: 1;
margin-bottom: 3%;
}
.nav {
padding-left: 8px;
}
.item {
display: flex;
width: "min-content";
white-space: nowrap;
color: #585858;
transition: color 1s;
.obfuscateEmail::before {
content: "nico@";
margin-right: -4px;
opacity: 0.2;
transition: opacity 1s;
}
.obfuscateEmail {
margin-left: -64px;
transition: margin-left 1s;
}
.obfuscateEmail::after {
content: ".com";
margin-left: -4px;
opacity: 0.2;
transition: opacity 1s;
}
}
.item:hover {
color: white;
transition: color 1s;
.obfuscateEmail::before {
opacity: 1;
transition: opacity 1s;
}
.obfuscateEmail {
margin-left: 0;
transition: margin-left 1s;
}
.obfuscateEmail::after {
opacity: 1;
transition: opacity 1s;
}
}
.item svg {
fill: #585858;
transition: fill 1s;
}
.item:hover svg {
fill: white;
transition: fill 1s;
}
.caption {
font-size: 24px;
padding-left: 14px;
padding-top: 12px;
}