-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
110 lines (107 loc) · 2.2 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
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
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
:root {
--ctp-macchiato-pink-rgb: 245 189 230;
--ctp-macchiato-mauve-rgb: 198 160 246;
--ctp-macchiato-red-rgb: 237 135 150;
--ctp-macchiato-sky-rgb: 145 215 227;
--ctp-macchiato-base-rgb: 36 39 58;
}
*,
*::before,
*::after {
box-sizing: border-box;
padding: 0px;
margin: 0px;
}
body {
padding: 0 2rem;
font-family: 'PT Sans', sans-serif;
font-weight: 400;
font-style: normal;
min-width: 100vw;
min-height: 100vh;
max-width: 50vw;
background: rgb(var(--ctp-macchiato-base-rgb));
display: flex;
justify-content: center;
align-items: center;
color: rgb(var(--ctp-macchiato-sky-rgb));
flex-direction: column;
cursor: none;
position: relative;
background-size: 40px 40px;
background-image: radial-gradient(circle, rgba(255, 83, 143, 0.5) 1px, rgba(0, 0, 0, 0) 2px);
animation: backgroundAnimation 1200s linear infinite;
}
@media (min-width: 800px) {
body main {
max-width: 60vw;
}
}
body footer {
text-align: center;
bottom: 0;
padding: 3rem;
font-size: 0.75rem;
color: rgb(var(--ctp-macchiato-mauve-rgb));
}
body span {
color: rgb(var(--ctp-macchiato-red-rgb));
}
body h1 {
font-size: 2.5rem;
font-weight: 700;
}
body small {
font-size: 1rem;
color: rgb(var(--ctp-macchiato-mauve-rgb));
}
body a,
body a:visited,
body a:hover,
body a:active,
body .info {
text-decoration: none;
cursor: none;
color: rgb(var(--ctp-macchiato-pink-rgb));
}
body a span,
body a:visited span,
body a:hover span,
body a:active span,
body .info span {
color: rgb(var(--ctp-macchiato-red-rgb));
}
body .cursor {
width: 30px;
height: 30px;
background-color: rgba(237, 135, 150, 0.2);
position: absolute;
display: none;
border-radius: 100%;
pointer-events: none;
transform: scale(0.8);
transition:
0.5s background,
0.2s transform;
}
@keyframes fadeIn {
100% {
opacity: 1;
transform: scale(1);
}
}
body .fade {
animation: fadeIn 0.5s forwards;
opacity: 0;
transform: scale(0.85);
}
@keyframes backgroundAnimation {
from {
background-position: 0 0;
}
to {
background-position: -10000px -10000px;
}
}
/*# sourceMappingURL=style.css.map */