aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 21:17:51 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-17 21:24:26 +0200
commit8aa77dc14de696f840fedef14e57af75706d0049 (patch)
treea2fda50ab28227d7e8c27b2e1222233b3e16524e
parentc42035920bc83db89fbc0b827e760e448282760f (diff)
downloadclub1-docs-8aa77dc14de696f840fedef14e57af75706d0049.tar.gz
club1-docs-8aa77dc14de696f840fedef14e57af75706d0049.zip
first add of custom CSS
-rw-r--r--_static/club1.css4
-rw-r--r--conf.py7
2 files changed, 11 insertions, 0 deletions
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')