-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (123 loc) · 2.55 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
html {
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}
body {
background-color: rgb(255, 255, 255);
color: rgb(51, 51, 51);
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 100%;
line-height: 1.5;
text-rendering: optimizeLegibility;
}
/* Hide svg-sprite that is injected into body */
body > svg {
height: 0;
display: none;
width: 0;
}
.content,
.page--footer {
margin: 0 auto;
text-align: center;
max-width: 40rem;
}
.content:focus {
outline: none;
}
a,
a:visited {
color: rgb(0, 153, 0);
transition: color 0.3s ease-out;
}
a:hover,
a:focus {
color: rgb(51, 51, 51);
}
.nols {
list-style: none;
margin-right: 0;
margin-left: 0;
padding: 0;
}
.type,
.user-name {
border: 0;
clip-path: inset(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.social {
display: inline-block;
margin-right: 0.8125rem;
}
/* Fix extra spacing below svg */
.content svg {
display: block;
}
a.social-link {
background-color: rgb(51, 51, 51);
border-radius: 50%;
color: rgb(255, 255, 255);
display: block;
height: 2.75rem;
padding: 0.5rem;
transition: background-color 0.3s ease-out, color 0.3s ease-out;
width: 2.75rem;
}
a.social-link:hover ,
a.social-link:focus {
background-color: rgb(0, 153, 0);
color: rgb(250, 250, 250);
}
.social-icon {
display: inline-block;
fill: currentColor;
stroke: currentColor;
height: 1.75rem;
position: relative;
vertical-align: middle;
width: 1.75rem;
}
/* NOTE:
* .no-js leads to double download
* therefore I have added the sprite with noscript to the header
* TODO: keep the sprite in sync with what is added to header in the noscript-tag
*/
.no-svg .social-icon {
background-image: url("./assets/images/sprite.png");
}
.no-js .social-icon,
.no-svg .social-icon {
background-size: cover;
background-repeat: no-repeat;
}
.no-js .social--codepen .social-icon,
.no-svg .social--codepen .social-icon {
background-position: 0 0;
}
.no-js .social--facebook .social-icon,
.no-svg .social--facebook .social-icon {
background-position: 0 -28px;
}
.no-js .social--github .social-icon,
.no-svg .social--github .social-icon {
background-position: 0 -56px;
}
.no-js .social--instagram .social-icon,
.no-svg .social--instagram .social-icon {
background-position: 0 -84px;
}
.no-js .social--twitter .social-icon,
.no-svg .social--twitter .social-icon {
background-position: 0 -112px;
}