mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-09 11:19:41 +02:00
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>
This commit is contained in:
parent
158ece0f60
commit
8c72b89182
1 changed files with 37 additions and 0 deletions
|
@ -14,3 +14,40 @@ 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue