-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.css
144 lines (128 loc) · 2.35 KB
/
globals.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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
html {
font-family: var(--font-work-sans), -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}
.content-div {
min-height: calc(100vh + env(safe-area-inset-top));
}
button,
input,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1;
margin: 0;
}
strong {
@apply font-bold;
@apply text-gray-25;
}
ul.actual-list {
@apply list-disc;
@apply ml-6;
}
ul.actual-list li {
@apply my-2;
@apply list-[circle];
@apply pl-1;
}
h1,
h2,
h3 {
@apply text-primary-150;
@apply font-massive;
@apply break-words;
}
h1 {
@apply text-xl;
}
h2 {
@apply text-md;
}
h3 {
@apply text-sm;
}
p {
@apply leading-normal;
@apply text-black;
@apply font-light;
@apply text-sm;
}
p.spaced {
@apply my-[1em];
}
hr {
@apply text-gray-75;
@apply my-6;
}
p.hint em {
@apply text-gray-25;
@apply font-bold;
}
/* focus styling */
.button-focus:focus-visible {
@apply outline-none;
}
.button-focus:focus-visible:not(:active)::after {
content: '';
position: absolute;
inset: -6px -6px -10px;
border-radius: 8px;
border: 3px solid;
}
.button-focus-primary:focus-visible:not(:active)::after {
@apply border-primary-25;
}
.button-focus-secondary:focus-visible:not(:active)::after {
@apply border-gray-85;
}
.button-focus-caution:focus-visible:not(:active)::after {
@apply border-negative-25;
}
.focus-primary:focus-visible,
a:focus-visible,
button:focus-visible,
.focus-white:focus-visible,
.focus-dark:focus-visible {
@apply outline;
@apply outline-[3px];
@apply outline-offset-[3px];
@apply outline-primary-25;
}
.focus-white:focus-visible {
@apply !outline-primary-10;
}
.focus-dark:focus-visible {
@apply !outline-gray-60;
}
.focus-caution:focus-visible {
@apply !outline-negative-25;
}
/* other styling */
.ReactCollapse--collapse {
transition: height 0.2s;
}
.landing-page-title {
margin-top: calc(-12.5vw - 10vh - 150px);
font-size: clamp(4rem, calc(2.5rem + 8vw), 10rem);
transform-origin: bottom;
transform: translateZ(1px) scale(0.66);
text-shadow: 0 0 4rem #000;
}
@media (min-width: 1500px) {
.landing-page-title {
margin-top: calc(-9vw - 12vh - 180px);
}
}
.no-show {
clip: rect(0, 0, 0, 0);
position: absolute;
height: 0;
width: 0;
}
.break-when-needed {
word-break: break-word; /* ohai Safari */
overflow-wrap: anywhere;
}