-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.css
More file actions
89 lines (75 loc) · 1.33 KB
/
tailwind.css
File metadata and controls
89 lines (75 loc) · 1.33 KB
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
@import 'tailwindcss';
@source './**/*.{html,ts}';
@theme {
--color-primary: #f50000;
--color-primary-hover: #bd3c13;
--color-secondary: #0070bc;
--color-secondary-hover: #005a96;
}
@layer base {
:root {
--nav-height: 4rem;
--bg: #ffffff;
--surface: #f5f5f5;
--border: #d4d4d4;
--muted: #6b7280;
--radius: 0.375rem;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #13171f;
--surface: #1c2233;
--border: #2a3344;
--muted: #8b95a8;
}
}
html {
scroll-padding-top: var(--nav-height);
scroll-behavior: smooth;
background-color: var(--bg);
color-scheme: light dark;
}
body {
background-color: var(--bg);
color: light-dark(#1a1a1a, #e5e7eb);
font-family: system-ui, sans-serif;
line-height: 1.6;
min-height: 100dvh;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.25rem;
}
p {
margin-bottom: 1rem;
}
p:last-child {
margin-bottom: 0;
}
hgroup p {
color: var(--muted);
font-size: 1.1rem;
}
a:not([role='button']) {
color: var(--color-primary);
text-decoration: underline;
&:hover {
color: var(--color-primary-hover);
}
}
}