openpgp-notes/book/source/_static/epub/css/custom.css
David Runge 8c72b89182
Add CSS for internal and external links in the EPUB output
Distinguish internal links to glossary items (black, dotted bottom
border) and sections, references and footnote (blue, dashed bottom
border).
Use darkgreen (solid bottom border) instead of blue for external links.

Signed-off-by: David Runge <dave@sleepmap.de>
2023-12-04 22:37:01 +01:00

53 lines
No EOL
775 B
CSS

/*
SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
SPDX-License-Identifier: CC0-1.0
*/
/*
Admonitions
*/
div.admonition {
background-color: lightgray;
}
div.warning,
div.admonition-warning {
background-color: palevioletred;
}
/*
External links
*/
a.external.reference {
border-bottom: 1px solid darkgreen;
color: darkgreen;
text-decoration: none;
}
/*
Internal links
*/
a.internal {
text-decoration: none;
border-bottom-style: none;
}
/*
Text in section and reference links and footnote links
*/
span.std-doc,
span.std-numref,
span.std-ref,
a.footnote-reference {
border-bottom: 1px dashed #3333ff;
color: #3333ff;
text-decoration: none;
}
/*
Text in glossary links
*/
span.std-term {
color: black;
border-bottom: 1px dotted black;
}