-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
73 lines (65 loc) · 1.09 KB
/
main.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
<style>
* {
box-sizing: border-box;
}
html,
body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
display: block;
font-size: 24px;
font-family: "Amiri", serif;
background: #fcf9f4;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
main {
animation: fadeIn 1s;
height: 100%;
max-width: 700px;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
main > a {
color: #020215;
padding: 10px 20px;
border-radius: 2px;
transition: background 500ms, color 500ms;
width: 200px;
max-width: 100%;
text-align: center;
}
main > a:hover,
main > a:focus,
main > a:active {
background: #020215;
color: white;
}
@media (prefers-color-scheme: dark) {
html,
body {
background-color: #020215;
color: white;
}
main > a {
color: white;
}
main > a:hover,
main > a:focus,
main > a:active {
background: white;
color: #020215;
}
}
</style>