mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
147 lines
2.5 KiB
CSS
147 lines
2.5 KiB
CSS
@import "tailwindcss";
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-jost);
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: Jost, Arial, Helvetica, sans-serif;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Article/prose context headings - for documentation pages */
|
|
article h1 {
|
|
font-size: 2.75rem;
|
|
font-weight: 800;
|
|
color: #1a202c;
|
|
border-bottom: 2px solid #3b82f6;
|
|
padding-bottom: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
article h2 {
|
|
font-size: 1.875rem;
|
|
font-weight: 700;
|
|
color: #2563eb;
|
|
margin-top: 3rem;
|
|
margin-bottom: 1.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #e5e7eb;
|
|
}
|
|
|
|
article h3 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
article a {
|
|
color: #3b82f6;
|
|
text-decoration: underline;
|
|
font-weight: 500;
|
|
}
|
|
|
|
article p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
article ul {
|
|
margin-bottom: 1.5rem;
|
|
padding-left: 1.5rem;
|
|
list-style-type: disc;
|
|
}
|
|
|
|
article ol {
|
|
margin-bottom: 1.5rem;
|
|
padding-left: 1.5rem;
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
article li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
article code {
|
|
background-color: #f3f4f6;
|
|
padding: 0.125rem 0.375rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875em;
|
|
color: #1f2937;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
"Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
article pre {
|
|
margin-bottom: 1.5rem;
|
|
overflow-x: auto;
|
|
max-width: 100%;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
article pre code {
|
|
background-color: transparent;
|
|
padding: 0;
|
|
font-size: 0.875rem;
|
|
color: inherit;
|
|
display: block;
|
|
white-space: pre;
|
|
word-wrap: normal;
|
|
overflow-wrap: normal;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
article h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
article h2 {
|
|
font-size: 1.5rem;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
article h3 {
|
|
font-size: 1.25rem;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
article ul,
|
|
article ol {
|
|
padding-left: 1.25rem;
|
|
}
|
|
|
|
article .relative {
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
width: calc(100vw - 3rem);
|
|
max-width: calc(100vw - 3rem);
|
|
}
|
|
|
|
article pre {
|
|
font-size: 0.75rem;
|
|
padding: 0.75rem !important;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
article pre code {
|
|
font-size: 0.75rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
article .relative {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|