From 86f6788f0b9c11032aa5ee215cd0283342b1db51 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sun, 17 Apr 2022 22:35:19 +0200 Subject: style: better css rules + custom external links --- _static/club1.css | 13 +++++++++++-- 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; +} 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', } -- cgit v1.2.3