Debian Codegraph @

hack/doc-site/hugo/layouts/partials/custom-header.html

raw symbols SCIP
1 <style>
2 :root {
3 --INTERNAL-MAIN-MAX-width: var(--MENU-MAX-width, var(--MAIN-WIDTH-MAX, 125.0rem));
4 }
5 .inline-badge > a,img {
6 /* This allows a markdown badge to remain left-aligned */
7 margin: 10px !important;
8 }
9 .card-container > li:only-child {
10 /* When a card container has a single card (e.g. one code example per tab),
11 span the full grid width instead of being squished to 1/3. */
12 grid-column: 1 / -1;
13 }
14 .card-container:has(> li:nth-child(2)):not(:has(> li:nth-child(3))) {
15 /* Auto-adapt to 2 columns when a container has exactly 2 cards. */
16 grid-template-columns: repeat(2, 1fr);
17 }
18 .card-container .card {
19 /* Relearn's theme.css caps cards at max-height: 600px with overflow: hidden,
20 which truncates long testable examples. Let them grow vertically and
21 scroll when needed. */
22 max-height: none;
23 overflow-y: auto;
24 }
25 .card-container .card pre {
26 /* Ensure horizontal scrolling on long lines inside code blocks. */
27 overflow-x: auto;
28 white-space: pre;
29 }
30 </style>