-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
100 lines (81 loc) · 1.21 KB
/
index.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
* {
margin: 0;
padding: 0;
}
*:focus {
outline: 3px ridge var(--primary-fade);
}
::selection {
color: #000;
background: #fff;
}
a {
color: #ffffff;
}
a:hover {
}
html {
height: 100%;
}
body {
font-family: 'Work Sans';
font-weight: 300;
color: #ffffff;
background-color: #000;
padding: 100px 10vw 50px;
}
a {
text-decoration: none;
background-image: linear-gradient(#fff, #fff);
background-size: 100% 2px;
background-repeat: no-repeat;
background-position: 0 100%;
transition: color 0.2s, background-size 0.2s;
}
a:hover {
background-size: 100% 100%;
color: #000000;
}
h1 {
font-weight: 200;
font-size: 30px;
text-transform: uppercase;
letter-spacing: 2px;
line-height: 1.18;
margin-bottom: 80px;
}
h1 a {
background-size: 100% 3px;
}
ul {
font-size: 20px;
line-height: 1.3;
list-style: none;
}
ul li {
padding: 10px 0;
}
.github-icon {
width: 20px;
height: 20px;
}
ul .github-link {
display: none;
}
ul li:hover .github-link {
display: inline;
}
.github-link {
background-image: none;
}
.github-link:hover {
color: #ffffff;
}
@media screen and (min-width: 700px) {
h1 {
font-size: 70px;
}
h1 a {
background-size: 100% 10px;
}
}