aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 21:17:51 +0200
committern-peugnet <n.peugnet@free.fr>2022-04-17 21:17:51 +0200
commit3843e9e86f0fb547ca9cad38ecfd26257f4d1b6d (patch)
treea2fda50ab28227d7e8c27b2e1222233b3e16524e
parente4077c77188f4a6b25a7a4320f848c233e6d5410 (diff)
downloadclub1-docs-3843e9e86f0fb547ca9cad38ecfd26257f4d1b6d.tar.gz
club1-docs-3843e9e86f0fb547ca9cad38ecfd26257f4d1b6d.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')