From 8aa77dc14de696f840fedef14e57af75706d0049 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sun, 17 Apr 2022 21:17:51 +0200 Subject: first add of custom CSS --- _static/club1.css | 4 ++++ conf.py | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 _static/club1.css diff --git a/_static/club1.css b/_static/club1.css new file mode 100644 index 0000000..eb9fdd8 --- /dev/null +++ b/_static/club1.css @@ -0,0 +1,4 @@ +/* Add maximum height for content's images */ +section img { + max-height: 30rem; +} diff --git a/conf.py b/conf.py index d6c4887..21912d8 100644 --- a/conf.py +++ b/conf.py @@ -137,3 +137,10 @@ man_show_urls = True latex_elements = { 'papersize': 'a4paper', } + + +# -- Define some functions --------------------------------------------------- + +def setup(app): + # Add custom CSS + app.add_css_file('club1.css') -- cgit v1.2.3