-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathtailwind.css
63 lines (49 loc) · 1.61 KB
/
tailwind.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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer utilities {
body {
@apply font-light antialiased;
}
.input {
@apply block w-full rounded-md border border-zinc-300 px-3 py-2 font-light placeholder-zinc-400 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 dark:border-zinc-700 dark:bg-zinc-600 sm:text-sm;
}
.form {
@apply flex max-w-lg flex-col gap-1 md:gap-2;
}
.label {
@apply block text-sm font-medium text-zinc-700 dark:text-zinc-200;
}
.btn {
@apply inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2;
}
.btn-secondary {
@apply border-indigo-600 bg-white text-indigo-600 hover:border-indigo-700 hover:bg-zinc-100 hover:text-indigo-700;
}
.btn-red-bg {
@apply border-white bg-transparent;
}
.btn-danger {
@apply inline-flex items-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2;
}
h1 {
@apply mb-1 mt-2 text-3xl font-bold md:mb-2 md:mt-4;
}
h2 {
@apply mb-1 mt-2 text-2xl font-bold md:mb-2 md:mt-4;
}
h3 {
@apply mb-1 mt-2 text-xl font-bold md:mb-2 md:mt-4;
}
.markdown {
ul {
@apply list-inside list-disc;
}
ol {
@apply list-inside list-decimal;
}
}
.card {
@apply divide-y divide-zinc-200 overflow-hidden rounded-lg bg-white shadow;
}
}