Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/115595

Change subject: Tweak css for blockdiag so img can be larger
......................................................................

Tweak css for blockdiag so img can be larger

Change-Id: I3f39ae3b6fcf126ef4203e631472940127580541
---
A source/_static/releng.css
M source/conf.py
2 files changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/releng 
refs/changes/95/115595/1

diff --git a/source/_static/releng.css b/source/_static/releng.css
new file mode 100644
index 0000000..c8b3de0
--- /dev/null
+++ b/source/_static/releng.css
@@ -0,0 +1,5 @@
+@import url("default.css");
+img {
+       /* blockdiag can generate very large images */
+       max-width: none !important;
+}
diff --git a/source/conf.py b/source/conf.py
index 309571a..79d37b2 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -129,7 +129,10 @@
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-#html_static_path = ['_static']
+html_static_path = ['_static']
+
+# This repository specific css to override default styling
+html_style = 'releng.css'
 
 # Add any extra paths that contain custom files (such as robots.txt or
 # .htaccess) here, relative to this directory. These files are copied

-- 
To view, visit https://gerrit.wikimedia.org/r/115595
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f39ae3b6fcf126ef4203e631472940127580541
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/releng
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to