Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
50 lines
1.0 KiB
CSS
50 lines
1.0 KiB
CSS
:root {
|
|
--link-blue: #042B8C; /* #03216C; */
|
|
|
|
|
|
/* #073DCA */
|
|
}
|
|
|
|
a {
|
|
color: var(--link-blue);
|
|
}
|
|
|
|
a, a:link, a:visited {
|
|
outline: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.2em;
|
|
text-decoration-thickness: 1px;
|
|
outline: 0;
|
|
}
|
|
|
|
/* In book structure (identified by the presence of #nav), section heading
|
|
links in the text area behave like normal text: no underline, text-selection
|
|
cursor, no drag. The TOC is always visible in the side pane, so the
|
|
heading links are not useful for navigation.
|
|
In article structure (no #nav), headings are links back to the TOC at
|
|
the top of the page, so they retain normal link behavior. */
|
|
body:has(#nav) #text a[href^="#_c"] {
|
|
cursor: text;
|
|
user-select: text;
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
body:has(#nav) #text a[href^="#_c"]:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pagelink {
|
|
color: var(--link-blue);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pagelink:hover {
|
|
text-decoration: underline;
|
|
outline: 0;
|
|
}
|