mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-11-01 01:40:10 +00:00
19 lines
697 B
CSS
19 lines
697 B
CSS
@reference "../RootLayout/globals.css";
|
|
|
|
/* This file can be the first stylesheet a route loads, and layer order follows first
|
|
appearance. Without this, `components` would be created here and Tailwind's `base`
|
|
only later, letting preflight's `padding: 0` and `border: 0` win over the rules below. */
|
|
@layer theme, base, components, utilities;
|
|
|
|
/* Every block on every page carries these, so they live here rather than in each class attribute. */
|
|
@layer components {
|
|
.gb-block {
|
|
@apply decoration-primary/6;
|
|
}
|
|
|
|
/* Lists opt out: a long list is expected to break across printed pages. */
|
|
.gb-block:not(.gb-block-list) {
|
|
@apply print:break-inside-avoid;
|
|
}
|
|
}
|