blob: 257335564de1963539391780c22d02e4361cdd07 (
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
|
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
h1 {
@apply text-4xl font-bold tracking-tight sm:text-5xl;
}
h2 {
@apply text-2xl font-bold sm:text-3xl;
}
a {
@apply underline transition hover:opacity-80;
}
pre {
@apply p-6 overflow-x-auto rounded-lg;
}
:not(pre) > code {
@apply px-1 py-0.5 font-mono rounded bg-[#1f1f1f] text-[#F67280];
font-size: 0.9em;
}
}
@layer components {
.markdown > h1,
.markdown > h2 {
@apply mt-12 mb-6;
}
.markdown > p,
.markdown > pre {
@apply my-6;
}
.markdown > :first-child {
@apply mt-0;
}
.markdown > :last-child {
@apply mb-0;
}
.btn:disabled {
@apply text-neutral-400 bg-neutral-700;
}
}
|