-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
79 lines (69 loc) · 1.49 KB
/
Copy pathshared.css
File metadata and controls
79 lines (69 loc) · 1.49 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
body {
margin: 0;
min-height: 100vh;
background-color: #2a2a2a;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
--base: 3px;
--step-1: calc(var(--base) * 1.618); /* ~8px */
--step-2: calc(var(--step-1) * 1.618); /* ~13px */
--step-3: calc(var(--step-2) * 1.618); /* ~21px */
--step-4: calc(var(--step-3) * 1.618); /* ~34px */
--cell-size: var(--step-1);
--gap: var(--step-2);
--page-padding: var(--step-4);
padding: var(--page-padding);
}
.bloom-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.bloom-cell {
width: var(--cell-size);
height: var(--cell-size);
opacity: 0;
position: relative;
}
.bloom-cell::before,
.bloom-cell::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: inherit;
background-size: 100% 100%;
filter: blur(var(--cell-size)) brightness(80%) opacity(0.8);
z-index: -1;
}
.bloom-cell::before {
top: -10%;
left: -10%;
}
.bloom-cell::after {
bottom: -10%;
left: -10%;
}
.github-link {
position: fixed;
top: var(--step-3);
right: var(--step-3);
width: 40px;
height: 40px;
border-radius: 50%;
background: #09090b;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
z-index: 10;
}
.github-link:hover {
background: #18181b;
}
.github-link svg {
width: 20px;
height: 20px;
fill: #fff;
}