diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-04-17 22:35:19 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-04-17 22:35:19 +0200 |
commit | 86f6788f0b9c11032aa5ee215cd0283342b1db51 (patch) | |
tree | f214b735ffe4438f9cf26290dc55351a27e427ba | |
parent | 639745876f376362d33e5a2e4e2950b2011663c3 (diff) | |
download | club1-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.css | 13 | ||||
-rw-r--r-- | conf.py | 2 |
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; +} @@ -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', } |