-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
70 lines (58 loc) · 1.08 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
:root {
font-size: 62.5%; /* (62.5/100) * 16px = 10px */
--font-size--small: 1.4rem; /* 14px */
--font-size--default: 1.6rem; /* 16px */
--font-size--large: 2.4rem; /* 24px */
--background-color: white;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
min-height: 100%;
}
body {
padding: 10%;
min-height: 100%;
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
font-size: var(--font-size--default);
}
h1 {
padding-bottom: 2%;
color: rgb(101,112,139);
letter-spacing: 0.2px;
}
p {
padding: 10px;
}
p a {
position: relative;
font-weight: 500;
color: rgba(44, 85, 221, 0.9);
text-decoration: none;
}
p a:before {
content: "";
position: absolute;
width: 0;
height: 2px;
bottom: -0.5px;
left: 0;
background-color: rgba(44, 85, 221, 0.9);
visibility: hidden;
transition: all 0.3s ease-in;
}
p a:hover:before {
visibility: visible;
width: 100%;
}
footer {
width: 100%;
margin-top: 50px;
}
footer a {
color: grey;
float: right;
}