aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 22:35:19 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-17 23:04:31 +0200
commitc389dab1b81fc4902b78e008af1dc51303a05b92 (patch)
tree8e6f0afed6f4969bf28683f4c71e5ff8ad0588bb
parenta2c37e20a1a9220ad305cc62ea56c66c52717a15 (diff)
downloadclub1-docs-c389dab1b81fc4902b78e008af1dc51303a05b92.tar.gz
club1-docs-c389dab1b81fc4902b78e008af1dc51303a05b92.zip
style: better css rules + custom external links
-rw-r--r--_static/club1.css13
-rw-r--r--conf.py2
2 files changed, 12 insertions, 3 deletions
diff --git a/_static/club1.css b/_static/club1.css
index 6bd0ec3..78b23ac 100644
--- a/_static/club1.css
+++ b/_static/club1.css
@@ -1,9 +1,18 @@
/* Add maximum height for content's images */
-section img {
+.rst-content img {
max-height: 30rem;
}
/* Specific styles for links to glossary terms */
-.xref.std-term {
+.rst-content .xref.std-term {
text-decoration: underline dotted 1px;
}
+
+/* Specific styles for external links */
+.rst-content a.reference.external::after {
+ font-family: FontAwesome;
+ content: "";
+ vertical-align: top;
+ font-size: 70%;
+ margin: 0 .2em;
+}
diff --git a/conf.py b/conf.py
index 6cdb7fb..9649ba3 100644
--- a/conf.py
+++ b/conf.py
@@ -118,7 +118,7 @@ html_context = {
html_theme_options = {
'prev_next_buttons_location': 'bottom',
- 'style_external_links': True,
+ 'style_external_links': False,
'vcs_pageview_mode': 'edit',
}