aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-18 16:13:39 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-18 16:23:42 +0200
commit9d390ec88d85e0828bad0ad3e67b80205c13807d (patch)
treef6a79a67289d617eb1928bb8bd33746b127e33fb
parent9c9899af98dafa740b6782c8b2b6b61218ff6ce9 (diff)
downloadclub1-docs-9d390ec88d85e0828bad0ad3e67b80205c13807d.tar.gz
club1-docs-9d390ec88d85e0828bad0ad3e67b80205c13807d.zip
style: add underline to links on hover
had to fix some of the icon styles to make it look good
-rw-r--r--_static/club1.css14
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;
}