-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
76 lines (59 loc) · 1.22 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
69
70
71
72
73
74
75
76
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap');
@import './styles';
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
a {
@apply inline-block underline;
}
a:not([class]) {
@apply hover:text-primary;
}
img {
@apply inline-block;
}
a img {
@apply no-underline;
}
i { /* terms */
@apply text-action font-bold not-italic;
}
/* icons */
svg {
@apply inline-block h-5 sm:h-6 w-5 sm:w-6 -mt-1;
}
h1 {
@apply text-3xl md:text-5xl lg:text-6xl font-bold tracking-tight;
}
h2 {
@apply relative flex flex-col w-1/2 mx-auto text-3xl md:text-4xl lg:text-5xl font-bold text-center tracking-tight;
}
h2 span {
@apply relative left-[12.5%];
}
h2 span:first-child {
@apply transform -translate-x-1/4;
}
h2 span:last-child {
@apply transform -translate-y-1/4;
}
h3 {
@apply font-bold text-xl md:text-2xl;
}
section, footer {
@apply px-6 py-12 lg:py-20;
}
section h2, footer h2 {
@apply pb-8;
}
.hard-shadow {
box-shadow: 6px 6px 0px #000;
}
.hard-shadow-alt {
box-shadow: 6px 6px 0px #2A9D8F;
}
.disapprove:hover .avatar {
@apply -translate-y-8;
}
}