| 1 | @import "./tokens.css"; |
| 2 | |
| 3 | /* |
| 4 | * Import hub. The site stylesheet lives in per-surface partials under |
| 5 | * ./styles/, imported here in cascade order. The order is load-bearing: |
| 6 | * later partials override earlier ones at equal specificity, and |
| 7 | * overrides.css must stay last. Add rules to the partial for their |
| 8 | * surface rather than to this file. |
| 9 | * |
| 10 | * tokens-roles the ocean, the roles, legacy aliases |
| 11 | * base ground, type, code, legacy structures the docs use |
| 12 | * primitives the components every page composes |
| 13 | * shell header, mobile sheet, footer sea |
| 14 | * home / pages page layouts |
| 15 | * docs* the docs (owned with the docs pages) |
| 16 | */ |
| 17 | @import "./styles/tailwind.css"; |
| 18 | @import "./styles/tokens-roles.css"; |
| 19 | @import "./styles/base.css"; |
| 20 | @import "./styles/primitives.css"; |
| 21 | @import "./styles/shell.css"; |
| 22 | @import "./styles/utilities.css"; |
| 23 | @import "./styles/home.css"; |
| 24 | @import "./styles/pages.css"; |
| 25 | @import "./styles/models.css"; |
| 26 | @import "./styles/plugins.css"; |
| 27 | @import "./styles/docs.css"; |
| 28 | @import "./styles/install-guide.css"; |
| 29 | @import "./styles/docs-preview.css"; |
| 30 | @import "./styles/states.css"; |
| 31 | @import "./styles/docs-help.css"; |
| 32 | @import "./styles/changelog.css"; |
| 33 | @import "./styles/app.css"; |
| 34 | @import "./styles/rtl.css"; |
| 35 | @import "./styles/overrides.css"; |
| 36 | |
| 37 | @media (max-width: 35rem) { |
| 38 | .code pre.code-block-single { |
| 39 | white-space: pre; |
| 40 | overflow-x: auto; |
| 41 | overflow-wrap: normal; |
| 42 | padding-left: var(--space-4); |
| 43 | padding-right: var(--space-4); |
| 44 | text-indent: 0; |
| 45 | } |
| 46 | .home .hero-install .code pre.code-block-single { |
| 47 | padding-inline: 0.375rem; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | .docs-search-input { |
| 52 | padding-inline-end: 6.75rem; |
| 53 | } |
| 54 | .docs-search-shortcut { |
| 55 | position: absolute; |
| 56 | inset-inline-end: 0.75rem; |
| 57 | top: 50%; |
| 58 | translate: 0 -50%; |
| 59 | display: inline-flex; |
| 60 | align-items: center; |
| 61 | gap: 0.3rem; |
| 62 | pointer-events: none; |
| 63 | color: var(--ink-mute); |
| 64 | font-size: 0.72rem; |
| 65 | } |
| 66 | .docs-search-shortcut kbd { |
| 67 | font-family: var(--font-mono); |
| 68 | font-size: 0.72rem; |
| 69 | line-height: 1.2; |
| 70 | padding: 0.15rem 0.4rem; |
| 71 | border: 1px solid var(--paper-line-soft); |
| 72 | border-radius: var(--radius-control); |
| 73 | background: var(--paper-card); |
| 74 | color: var(--ink-mute); |
| 75 | } |
| 76 | |
| 77 | .docs-copy-markdown { |
| 78 | display: flex; |
| 79 | align-items: center; |
| 80 | justify-content: flex-end; |
| 81 | gap: 0.5rem; |
| 82 | margin-bottom: 1rem; |
| 83 | } |
| 84 | .docs-copy-markdown-btn { |
| 85 | color: var(--ink-mute); |
| 86 | background: var(--paper-card); |
| 87 | border: 1px solid var(--paper-line-soft); |
| 88 | border-radius: var(--radius-control); |
| 89 | } |
| 90 | .docs-copy-markdown-btn:hover { |
| 91 | background: var(--hover); |
| 92 | color: var(--ink); |
| 93 | } |
| 94 | .docs-copy-markdown-btn[data-copied="true"] { |
| 95 | color: var(--live); |
| 96 | } |
| 97 |