-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
68 lines (57 loc) · 1.31 KB
/
main.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Cerco";
font-weight: 700;
src: url(fonts/cerco/CercoDEMO-Bold.otf) format("opentype");
}
@font-face {
font-family: "Cerco";
font-weight: 700;
font-style: italic;
src: url(fonts/cerco/CercoDEMO-BoldItalic.otf) format("opentype");
}
@font-face {
font-family: "Sonorous";
font-weight: 400;
src: url(fonts/sonorous/Sonorous.otf) format("opentype");
}
@layer base {
h1,
h2,
h3,
h4,
h5,
h6 {
@apply font-display;
}
.white-outline {
filter: drop-shadow(8px 0 0 white) drop-shadow(0 8px 0 white)
drop-shadow(-8px 0 0 white) drop-shadow(0 -8px 0 white);
}
}
@layer utilities {
nav {
backdrop-filter: blur(10px);
}
details {
@apply lg:w-[923px] bg-ice-dream text-bowen-blue rounded-[30px] pointer-events-auto;
}
details summary {
@apply flex items-center justify-between text-2xl font-bold hover:cursor-pointer after:float-right marker:content-none after:content-none after:w-9 after:h-9 after:justify-self-end py-2.5 lg:px-12 px-4;
}
details p {
@apply text-2xl py-2.5 lg:px-12 px-4;
}
canvas {
display: block;
position: absolute;
top: 0;
left: 0;
}
.hover-scale,
details {
@apply hover:scale-105 transition-transform origin-center;
}
}