diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-04-18 16:13:39 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-04-18 16:13:39 +0200 |
commit | a8027d7d183c318252b89e30560959aadade8603 (patch) | |
tree | f6a79a67289d617eb1928bb8bd33746b127e33fb | |
parent | 9c9899af98dafa740b6782c8b2b6b61218ff6ce9 (diff) | |
download | club1-docs-a8027d7d183c318252b89e30560959aadade8603.tar.gz club1-docs-a8027d7d183c318252b89e30560959aadade8603.zip |
style: add underline to links on hovern-peugnet-style-links
had to fix some of the icon styles to make it look good
-rw-r--r-- | _static/club1.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/_static/club1.css b/_static/club1.css index bfe6a6a..cc1f138 100644 --- a/_static/club1.css +++ b/_static/club1.css @@ -11,6 +11,17 @@ padding-left: 20px; } +/* Style links on hover */ +a:not(.btn):hover { + text-decoration: underline solid 1px; +} + +/* Fix underline for links with icon */ +a.fa::before, a.icon::before, a button.toctree-expand::before { + display: initial; + text-decoration: initial !important; +} + /* Specific styles for links to glossary terms */ .rst-content .xref.std-term { text-decoration: underline dotted 1px; @@ -20,7 +31,8 @@ .rst-content a.reference.external::after { font-family: FontAwesome; content: ""; + display: inline-block; vertical-align: top; font-size: 70%; - margin: 0 .2em; + margin-left: .2rem; } |