-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
165 lines (147 loc) · 4 KB
/
style.css
File metadata and controls
165 lines (147 loc) · 4 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
:root {
color-scheme: dark;
--color-base-100: oklch(0.1543 0 0);
--color-base-200: oklch(0.1957 0 0);
--color-base-300: oklch(0.3012 0 0);
--color-base-content: oklch(0.931 0 0);
--color-primary: #beffa3;
--color-primary-content: oklch(28% 0.066 53.813);
--color-secondary: oklch(76% 0.177 163.223);
--color-secondary-content: oklch(26% 0.051 172.552);
--color-accent: oklch(71% 0.203 305.504);
--color-accent-content: oklch(29% 0.149 302.717);
--color-neutral: oklch(27% 0.041 260.031);
--color-neutral-content: oklch(98% 0.003 247.858);
--color-info: oklch(58% 0.158 241.966);
--color-info-content: oklch(97% 0.013 236.62);
--color-success: oklch(64% 0.2 131.684);
--color-success-content: oklch(98% 0.031 120.757);
--color-warning: #c46a36;
--color-warning-content: oklch(98% 0.016 73.684);
--color-error: oklch(59% 0.249 0.584);
--color-error-content: oklch(97% 0.014 343.198);
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
background-color: var(--color-base-100);
}
body {
min-height: 100vh;
margin: 0;
overflow-x: hidden;
color: var(--color-base-content);
font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background:
linear-gradient(180deg, rgb(21 21 21 / 0.18), rgb(21 21 21 / 0.7)),
url("background-light.png");
background-color: var(--color-base-100);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
body::before,
body::after {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
content: "";
}
body::before {
background:
radial-gradient(circle at 30% 25%, rgb(190 255 163 / 0.24), transparent 28rem),
radial-gradient(circle at 71% 42%, rgb(196 106 54 / 0.24), transparent 26rem),
radial-gradient(circle at 73% 80%, rgb(0 50 78 / 0.58), transparent 30rem);
mix-blend-mode: screen;
}
body::after {
background: rgb(0 0 0 / 0.14);
}
.site-shell {
position: relative;
z-index: 1;
display: grid;
min-height: 100vh;
place-items: center;
align-content: center;
gap: clamp(1.35rem, 3vw, 2rem);
padding: clamp(1.5rem, 5vw, 4rem);
text-align: center;
}
.brand-logo {
width: clamp(13.5rem, 28vw, 21rem);
height: auto;
filter:
drop-shadow(0 0 1.4rem rgb(190 255 163 / 0.1))
drop-shadow(0 1.1rem 2.6rem rgb(0 0 0 / 0.4));
}
.tagline {
max-width: min(100%, 58rem);
margin: 0;
color: rgb(255 255 255 / 0.88);
font-size: clamp(1rem, 1.55vw, 1.35rem);
font-weight: 500;
line-height: 1.55;
white-space: nowrap;
text-shadow: 0 0.7rem 2.2rem rgb(0 0 0 / 0.55);
}
.social-links {
display: flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
}
.social-link {
display: inline-grid;
width: 3.25rem;
height: 3.25rem;
place-items: center;
border: 1px solid rgb(255 255 255 / 0.24);
border-radius: 0.9rem;
color: rgb(255 255 255 / 0.9);
background: rgb(21 21 21 / 0.2);
text-decoration: none;
transition:
border-color 160ms ease,
color 160ms ease,
background-color 160ms ease,
transform 160ms ease,
box-shadow 160ms ease;
}
.social-link svg {
width: 1.45rem;
height: 1.45rem;
fill: currentColor;
}
.social-link:hover,
.social-link:focus-visible {
border-color: var(--color-primary);
color: var(--color-primary);
background: rgb(190 255 163 / 0.08);
box-shadow: 0 0 1.6rem rgb(190 255 163 / 0.16);
transform: translateY(-2px);
}
.social-link:focus-visible {
outline: 2px solid var(--color-warning);
outline-offset: 4px;
}
@media (max-width: 560px) {
body {
background-position: 42% center;
}
.site-shell {
gap: 1.25rem;
}
.tagline {
max-width: 22rem;
white-space: normal;
text-wrap: balance;
}
.social-link {
width: 3rem;
height: 3rem;
}
}