-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmain.css
More file actions
123 lines (120 loc) · 2.32 KB
/
main.css
File metadata and controls
123 lines (120 loc) · 2.32 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
118
119
120
121
122
123
@font-face {
font-family: Alegreya;
src: url(fonts/Alegreya-Regular.ttf);
}
body {
width: 480px;
margin: auto;
position: relative;
background: #181818;
color: #EEE;
font-family: Alegreya;
font-size: 20px;
line-height: 22px;
margin-top: 35px;
margin-bottom: 35px;
}
small {
font-size: 16px;
}
h1 {
color: #EEE;
font-size: 48px;
margin-bottom: 45px;
}
h2 {
color: #EEE;
font-size: 32px;
margin-bottom: 40px;
}
h3 {
color: #EEE;
font-size: 24px;
margin-bottom: 35px;
}
p {
margin-bottom: 35px;
}
ul {
margin-bottom: 35px;
list-style-type: none;
}
li::before {
content: "";
position: absolute;
width: 10px;
height: 10px;
background-color: #73c936;
top: 0.5rem;
left: -21px;
transition: all 0.2s;
}
li {
position: relative;
margin-bottom: 4px;
}
a:link {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #73c936;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:visited {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #73c936;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:hover {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #EEE;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:active {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #f43841;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
h1 a:link {
text-decoration-thickness: 4px;
}
h2 a:link {
text-decoration-thickness: 3px;
}
.logo {
border: none;
position: absolute;
background: #73c936;
width: 45px;
height: 45px;
left: -70px;
top: -5px;
border-radius: 0%;
transition: all 0.2s;
}
li:has(a:hover)::before,
.logo:hover,
body:has(.logo:hover) li::before {
border-radius: 50%;
}
li:has(a:active)::before,
.logo:active,
body:has(.logo:active) li::before {
background: #f43841;
border-radius: 0%;
transform: rotate(45deg);
}
body:has(.logo:active) a:link,
body:has(.logo:active) a:visited {
text-decoration-color: #f43841;
}