-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
47 lines (39 loc) · 888 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
/* Credit - youtube.com/@ashutoshpython */
@layer demo {
.highlighted-text-shadow {
text-shadow:
/* regular text-shadow */ 0 0.15ch 15px var(--shadow),
/* text-shadow highlight */ 0 -2px 0 var(--highlight);
}
}
@layer demo.support {
:root {
--hue: 320; /* change me */
--bg: oklch(35% 0.3 var(--hue));
--text: oklch(85% 0.1 var(--hue));
--shadow: oklch(25% 0.2 var(--hue));
--highlight: oklch(98% 0.05 var(--hue));
}
* {
box-sizing: border-box;
margin: 0;
}
html {
block-size: 100%;
background-color: var(--bg);
color: var(--text);
}
body {
min-block-size: 100%;
font-family: system-ui, sans-serif;
display: grid;
place-content: center;
gap: 10vh;
}
h1 {
align-items: center;
justify-content: center;
font-size: 10vi;
line-height: 0.99;
}
}