From 9327f1e471b99c24d45d6b768101016a61a855ca Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Thu, 21 Sep 2017 18:39:33 +0200 Subject: [PATCH] Better cell alignment in slide tables --- .../CustomLayer/webhelp/reveal.css.patch | 20 +++++++++++++++++++ ws/Docbook/Preprocess/make.rules | 1 + 2 files changed, 21 insertions(+) create mode 100644 ws/Docbook/CustomLayer/webhelp/reveal.css.patch diff --git a/ws/Docbook/CustomLayer/webhelp/reveal.css.patch b/ws/Docbook/CustomLayer/webhelp/reveal.css.patch new file mode 100644 index 000000000..bdc0fdf00 --- /dev/null +++ b/ws/Docbook/CustomLayer/webhelp/reveal.css.patch @@ -0,0 +1,20 @@ +--- reveal.css.orig 2017-09-20 21:41:43.190984695 +0200 ++++ reveal.css 2017-09-21 17:42:07.671682270 +0200 +@@ -1,3 +1,8 @@ ++/* ++ * patched by: /usr/share/hdm-docbook-xsl/CustomLayer/webhelp/reveal.css.patch ++ * source file: /usr/share/reveal.js/css/reveal.css ++ */ ++ + /*! + * reveal.js + * http://lab.hakim.se/reveal-js +@@ -26,7 +31,7 @@ + border: 0; + font-size: 100%; + font: inherit; +- vertical-align: baseline; } ++ vertical-align: top; } + + .reveal article, .reveal aside, .reveal details, .reveal figcaption, .reveal figure, + .reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section { diff --git a/ws/Docbook/Preprocess/make.rules b/ws/Docbook/Preprocess/make.rules index 8b759a920..bf449887d 100644 --- a/ws/Docbook/Preprocess/make.rules +++ b/ws/Docbook/Preprocess/make.rules @@ -109,6 +109,7 @@ SAXONCMD=java -cp "${DBOOK_XSL}/tools/lib/saxon9he.jar:/usr/share/java/xercesImp ${SAXON6CMD} $< ${DBOOK_XSL_CUSTOM}/webhelp/webhelpHdm.xsl ${dbookXslWebhelpParam} rsync -a ${DBOOK_XSL}/webhelp/template/* . # Images, Css cd common/css; patch < ${DBOOK_XSL_CUSTOM}/webhelp/positioning.css.patch + cd reveal.js/css; patch < ${DBOOK_XSL_CUSTOM}/webhelp/reveal.css.patch cp ${DBOOK_XSL_CUSTOM}/webhelp/common/images/*.svg common/images cp ${DBOOK_XSL_CUSTOM}/webhelp/common/images/favicon.ico . rsync -a --exclude='.git' /usr/share/hdmwebhelp/extern/libs/mathjax . -- GitLab