/
global.css
145 lines (125 loc) · 2.64 KB
/
global.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
145
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--muted-background: 0 0% 96.1%;
--foreground: 0 0% 3.9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--primary: 0 0% 9%;
--ao-blue: 217 90% 54%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--highlight: 217 91% 60%;
--highlight-foreground: 0 0% 98%;
--destructive-foreground: 0 0% 98%;
--ring: 0 0% 63.9%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 3.9%;
--muted-background: 0 0% 96.1%;
--foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--card: 0deg 0% 14.9% / 13%;
--card-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--primary: 0 0% 98%;
--ao-blue: 217 90% 54%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 85.7% 97.3%;
--highlight: 217 91% 60%;
--highlight-foreground: 0 0% 98%;
--ring: 0 0% 14.9%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
.discord-message a {
@apply text-blue-700 hover:underline dark:text-blue-400 !important;
}
html {
margin: 0;
width: 100%;
}
body {
margin: 0;
width: 100%;
}
.dark {
color-scheme: dark;
}
/* Speculative fix for lacking of loading of images on mobile in a marquee */
@supports (font: -apple-system-body) and (-webkit-appearance: none) {
img[loading='lazy'] {
clip-path: inset(0.6px);
}
}
.prose pre:not([class]) {
@apply bg-transparent p-0 !important;
min-width: max-content;
}
.discord-message a {
@apply text-blue-700 hover:underline dark:text-blue-400 !important;
}
.d-emoji {
@apply inline-block h-6 w-6;
}
.heading-1 {
@apply text-4xl font-bold !important;
}
.heading-2 {
@apply text-3xl font-bold !important;
}
.heading-3 {
@apply text-2xl font-bold !important;
}
.heading-4 {
@apply text-xl font-bold !important;
}
.heading-5 {
@apply text-lg font-bold !important;
}
.heading-6 {
@apply text-base font-bold !important;
}
.emoji {
@apply inline-block h-6 w-6;
}
img:not([src]):is(:empty) {
@apply h-0 w-0 !important;
}
.discord-message {
white-space: break-spaces;
line-height: 22px;
}
* {
min-width: 0;
}