aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 22:35:19 +0200
committern-peugnet <n.peugnet@free.fr>2022-04-17 22:35:19 +0200
commit86f6788f0b9c11032aa5ee215cd0283342b1db51 (patch)
treef214b735ffe4438f9cf26290dc55351a27e427ba
parent639745876f376362d33e5a2e4e2950b2011663c3 (diff)
downloadclub1-docs-n-peugnet-style-terms.tar.gz
club1-docs-n-peugnet-style-terms.zip
style: better css rules + custom external linksn-peugnet-style-terms
-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',
}