-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
51 lines (44 loc) · 851 Bytes
/
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
:root {
--bg-color: aqua;
--blur: 2rem;
--offset: 7%;
--opacity: 20%;
--border-radius: 50%;
}
.background {
background: var(--bg-color);
}
.main-shape {
background: var(--bg-color);
}
.light-shape {
background-color: hsl(0, 0%, 70%);
opacity: var(--opacity);
filter: blur(var(--blur));
top: calc(-1*var(--offset));
left: var(--offset);
z-index: -2;
position: absolute;
}
.dark-shape {
background-color: hsl(0, 0%, 30%);
opacity: var(--opacity);
filter: blur(var(--blur));
top: var(--offset);
left: calc(-1*var(--offset));
z-index: -1;
position: absolute;
}
.shape {
width: min(70vw, 70vh);
height: min(70vw, 70vh);
border-radius: var(--border-radius);
}
.center {
position: absolute;
top:0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}