Repository navigation
Expand file tree
/
Copy pathtutorial_style.css
More file actions
31 lines (31 loc) · 2.2 KB
/
Copy pathtutorial_style.css
File metadata and controls
31 lines (31 loc) · 2.2 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
@page { size: A4; margin: 18mm 17mm; }
:root { --ink: #1b1b1b; --muted: #5c5c5c; --line: #dcdcdc; --code-bg: #f5f5f3; --note-bg: #eef5f6; --note-bar: #4c9ba8; --accent: #2f4d6b; }
body {
font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
font-size: 11pt; line-height: 1.5; color: var(--ink); background: #ffffff;
max-width: 50rem; margin: 2rem auto; padding: 0 1rem;
}
header#title-block-header { margin-bottom: 1.5rem; }
h1.title { font-size: 26pt; margin-bottom: 0.1em; color: var(--accent); }
p.subtitle { font-size: 13pt; color: var(--muted); margin-top: 0; }
h1 { font-size: 18pt; color: var(--accent); margin-top: 2.2em; border-bottom: 2px solid var(--line); padding-bottom: 0.2em; }
h2 { font-size: 13.5pt; margin-top: 1.6em; margin-bottom: 0.4em; }
p { margin: 0.4em 0 0.7em; }
a { color: var(--accent); }
code { font-family: "Liberation Mono", Consolas, Menlo, monospace; font-size: 0.9em; background: var(--code-bg); padding: 0.05em 0.25em; border-radius: 3px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 4px; padding: 0.7em 0.9em; font-size: 9pt; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; break-inside: avoid; }
pre code { background: none; padding: 0; font-size: inherit; }
blockquote { margin: 1em 0; padding: 0.55em 0.9em; background: var(--note-bg); border-left: 4px solid var(--note-bar); border-radius: 3px; }
blockquote p { margin: 0.2em 0; }
table { border-collapse: collapse; width: 100%; margin: 0.7em 0 1em; font-size: 10pt; }
th, td { border: 1px solid var(--line); padding: 0.35em 0.5em; vertical-align: top; text-align: left; }
th { background: #f0f0ee; }
figure { margin: 1.2em 0; text-align: center; }
figure img, img { max-width: 100%; height: auto; }
figcaption { font-size: 9.5pt; color: var(--muted); margin-top: 0.3em; }
nav#TOC { background: #fafaf8; border: 1px solid var(--line); border-radius: 4px; padding: 0.6em 1.2em; margin: 1.2em 0 2em; }
nav#TOC > ul { padding-left: 0.8em; }
nav#TOC ul ul { padding-left: 1.2em; }
nav#TOC li { margin: 0.15em 0; }
hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
@media print { body { max-width: none; margin: 0; } h1 { page-break-before: auto; } }