-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (42 loc) · 679 Bytes
/
Copy pathstyle.css
File metadata and controls
48 lines (42 loc) · 679 Bytes
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
html {
display: grid;
height: 100vh;
overflow: hidden;
}
body {
place-self: center;
height: fit-content;
max-width: 30em;
padding: 0 3em 3em 3em;
}
* {
font-family: 'Repro';
font: 1em Repro, sans-serif;
font-feature-settings: "ss02" 1, "ss13" 1;
}
a,
a:link,
a:visited {
position: relative;
color: black;
text-decoration: none;
padding: 0 2px;
transition: color 0.3s;
}
a::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
border: 1px dashed transparent;
transition: border-color 0.3s;
}
a:hover {
color: white;
background-color: black;
}
a:hover::before {
border-color: black;
}