-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathindex.css
More file actions
148 lines (126 loc) · 2.76 KB
/
Copy pathindex.css
File metadata and controls
148 lines (126 loc) · 2.76 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
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
146
147
148
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--bg: #0b0c10;
--card: #111318;
--border: #1f2430;
--text: #e6e6e6;
--muted: #a0a7b4;
--accent: #7c3aed;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f8fafc;
--card: #ffffff;
--border: #e5e7eb;
--text: #0f172a;
--muted: #475569;
}
}
@layer base {
body {
background-color: var(--bg);
color: var(--text);
}
.prose {
color: var(--text);
max-width: none;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
color: var(--text);
font-weight: 600;
line-height: 1.25;
margin-bottom: 1rem;
margin-top: 2rem;
}
.prose h1 {
font-size: 2.25rem;
margin-top: 0;
}
.prose h2 {
font-size: 1.875rem;
}
.prose h3 {
font-size: 1.5rem;
}
.prose p {
margin-bottom: 1rem;
line-height: 1.75;
color: var(--text);
}
.prose a {
color: var(--accent);
text-decoration: underline;
}
.prose a:hover {
filter: brightness(1.2);
}
.prose code {
background-color: var(--card);
color: var(--accent);
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
font-size: 0.875em;
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
border: 1px solid var(--border);
}
.prose pre {
background-color: var(--card) !important;
padding: 1rem !important;
border-radius: 0.5rem !important;
overflow-x: auto !important;
margin-bottom: 1rem !important;
border: 1px solid var(--border);
}
.prose pre code {
background-color: transparent !important;
padding: 0 !important;
color: var(--text) !important;
border: none !important;
}
.prose ul,
.prose ol {
margin-bottom: 1rem;
padding-left: 1.5rem;
}
.prose li {
margin-bottom: 0.5rem;
color: var(--text);
}
.prose blockquote {
border-left: 4px solid var(--accent);
padding-left: 1rem;
margin: 1.5rem 0;
color: var(--muted);
}
.prose strong {
color: var(--text);
}
.prose table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.prose th,
.prose td {
border: 1px solid var(--border);
padding: 0.5rem;
text-align: left;
}
.prose th {
background-color: var(--card);
font-weight: 600;
}
.prose tr:hover {
background-color: var(--card);
}
}