返回 CodeWhale
install-guide.css
根目录 / web / app / styles / install-guide.css
1 /* The verified Markdown guide owns the content; this surface owns its
2 layout, on the shared prose measure. */
3 .install-guide {
4 width: var(--container);
5 max-width: var(--measure-prose);
6 margin-inline: auto;
7 padding-bottom: var(--section-gap);
8 color: var(--text);
9 font-size: var(--text-prose);
10 line-height: var(--leading-prose);
11 overflow-wrap: anywhere;
12 }
13 .install-guide :is(h1, h2, h3, h4) { color: var(--text); line-height: 1.25; scroll-margin-top: 6rem; }
14 .install-guide h1 { font-size: var(--text-display); margin-bottom: var(--space-5); }
15 .install-guide h2 { font-size: var(--text-title); margin-top: var(--space-7); margin-bottom: var(--space-3); }
16 .install-guide h3 { font-size: var(--text-heading); margin-top: var(--space-6); margin-bottom: var(--space-2); }
17 .install-guide h4 { font-size: var(--text-body); margin-top: var(--space-5); margin-bottom: var(--space-2); }
18 .install-guide :is(p, ul, ol, blockquote, .install-guide-table, pre) { margin-block: var(--space-4); }
19 .install-guide p,
20 .install-guide li { color: var(--text); max-width: var(--measure-text); }
21 .install-guide > .code { margin-block: var(--space-5); }
22 .install-guide :is(ul, ol) { padding-inline-start: 1.5rem; }
23 .install-guide ul { list-style: disc; }
24 .install-guide ol { list-style: decimal; }
25 .install-guide li { margin-block: var(--space-1); }
26 .install-guide ::marker { color: var(--muted); }
27 .install-guide a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 0.2em; }
28 .install-guide a:hover { text-decoration-color: var(--accent); }
29 .install-guide a[id] { scroll-margin-top: 6rem; }
30 .install-guide strong { font-weight: 600; }
31 .install-guide blockquote { padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--line-strong); color: var(--muted); }
32 .install-guide hr { margin-block: var(--space-7); border: 0; border-top: 1px solid var(--line); }
33 .install-guide :not(pre) > code { font-family: var(--font-mono); font-size: 0.875em; background: var(--surface); padding: 0.0625rem 0.3125rem; border-radius: var(--radius-control); }
34 .install-guide pre { max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; }
35 .install-guide pre:not(.code-block) { padding: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-surface); font-size: var(--text-mono); }
36 .install-guide-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-surface); }
37 .install-guide table { width: 100%; border-collapse: collapse; font-size: var(--text-ui); }
38 .install-guide :is(th, td) { padding: var(--space-3); min-width: 8rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
39 .install-guide th { background: var(--panel); font-weight: 600; }
40 .install-guide tr:last-child td { border-bottom: 0; }
41
41 lines CSS