: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; }