blob: 2a7819bb628f795aa3f733ba37f796d70cb5043c (
plain)
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
|
/* From Tailwind */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* For transitions/animations */
.fade-enter-from, .fade-leave-to {
opacity: 0;
}
.fade-enter-active, .fade-leave-active {
transition-property: opacity;
transition-duration: 300ms;
transition-timing-function: ease-out;
}
.animate-fadein {
animation-name: fadein;
animation-duration: 300ms;
animation-timing-function: ease-in;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-red-then-fade {
animation-name: red-then-fade;
animation-duration: 500ms;
animation-timing-function: ease-in;
}
@keyframes red-then-fade {
from {
background-color: rgba(255,0,0,0.2);
}
to {
background-color: transparent;
}
}
.animate-flash-yellow {
animation-name: flash-yellow;
animation-duration: 700ms;
animation-timing-function: ease-in;
}
@keyframes flash-yellow {
from {
color: #ca8a04;
}
to {
color: inherit;
}
}
/* Other */
@font-face {
font-family: Ubuntu;
src: url('/font/Ubuntu-Regular.woff2');
}
body {
font-family: Ubuntu, system-ui, sans-serif;
touch-action: manipulation; /* Prevents non-standard gestures such as double-tap to zoom */
}
a {
@apply hover:underline hover:cursor-pointer;
}
|