forked from leeangela9/league-of-lenses
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (95 loc) · 1.73 KB
/
Copy pathstyle.css
File metadata and controls
102 lines (95 loc) · 1.73 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
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Friz Quadrata";
src: url("fonts/FrizQuadrata.ttf") format("truetype");
}
body {
/* font-family: sans-serif; */
font-family: "Friz Quadrata", serif;
color: #c8aa6e;
/* background-image: linear-gradient(
to left bottom,
#0a1428,
#0b172d,
#0c1a33,
#0d1c38,
#0e1f3e,
#0f2545,
#102a4d,
#103054,
#0f3a60,
#0c446b,
#074f77,
#005a82
); */
}
input[type="number"] {
text-align: center;
border-radius: 4px;
}
.box {
position: relative;
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 8px;
overflow: hidden;
}
.box::before {
content: "";
width: 120%;
height: 100%;
position: absolute;
background-color: white;
animation: rotate 4s linear infinite;
}
.box::after {
content: "";
position: absolute;
inset: 4px;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* HTML: <div class="loader"></div> */
.loader {
width: 50px;
--b: 8px;
aspect-ratio: 1;
border-radius: 50%;
padding: 1px;
background: conic-gradient(#0000 10%, #c8aa6e) content-box;
-webkit-mask: repeating-conic-gradient(
#0000 0deg,
#000 1deg 20deg,
#0000 21deg 36deg
),
radial-gradient(
farthest-side,
#0000 calc(100% - var(--b) - 1px),
#000 calc(100% - var(--b))
);
-webkit-mask-composite: destination-in;
mask-composite: intersect;
animation: l4 1s infinite steps(10);
}
@keyframes l4 {
to {
transform: rotate(1turn);
}
}
/* ol {
list-style-type: decimal;
}
li {
display: list-item;
list-style-position: inside;
} */