solenv/bin/mkdocs.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 3dcb47d0d082696c8170411187e5b262840dc774 Author: Philipp Weissenbacher <p.weissenbac...@gmail.com> Date: Thu Sep 25 22:52:13 2014 +0200 Use multi-column layout and correct header colour Also fixed some tab indents Change-Id: If2e4301d2199e0a72c8d859231430c1982fd0fc0 Reviewed-on: https://gerrit.libreoffice.org/11649 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/solenv/bin/mkdocs.sh b/solenv/bin/mkdocs.sh index 888521b..24aeee4 100755 --- a/solenv/bin/mkdocs.sh +++ b/solenv/bin/mkdocs.sh @@ -25,14 +25,14 @@ function header { <style> * { margin: 0; padding: 0; } body { font-family: sans-serif; font-size: 12px; } - #head { padding: 20px; background: #18A303; } + #head { padding: 20px; background: #00A500; } #head a { color: #000; } #body { padding: 20px; } #foot { padding: 10px; font-size: 9px; border-top: 1px #18A303 solid; margin-top: 25px; } p { line-height: 1.7em; margin-bottom: 1em; } pre { margin-bottom: 0.5em; } - .multi-col { -moz-column-width: 13em; -webkit-column-width: 13em; -moz-column-gap: 1em; -webkit-column-gap: 1em; } - h1 {margin-bottom: 0.5em;} + .multi-col { -moz-column-width: 20em; -webkit-column-width: 20em; -moz-column-gap: 1em; -webkit-column-gap: 1em; } + h1 { margin-bottom: 0.5em; } h2,h3,h4 { margin: 1.3em 0 0.5em 0; } ul, ol { margin: 0.5em 1.5em; } </style> @@ -42,7 +42,7 @@ function header { <h1>$title</h1> <p>$breadcrumb</p> </div> - <div id="body"> + <div id="body" style="multi-col"> EOF } @@ -87,7 +87,7 @@ function proc_text { function setup { parm=$1 if [ -z "${!parm}" ] ; then - echo "grep \"${parm}=\" ./config_host.mk | sed -re \" s/${parm}=//\")" + echo "grep \"${parm}=\" ./config_host.mk | sed -re \" s/${parm}=//\")" echo "$parm=$(grep \"${parm}=\" ./config_host.mk | sed -re \" s/${parm}=//\")" eval "$parm=$(grep \"${parm}=\" ./config_host.mk | sed -re \" s/${parm}=//\")" fi @@ -224,7 +224,7 @@ for module_name in *; do else empty_modules[${#empty_modules[*]}]=$module_name fi - fi + fi done if [ ${#empty_modules[*]} -gt 0 ]; then echo -e "<p> </p><p>READMEs were not available for these modules:</p><ul>\n" >> "$BASE_OUTPUT/index.html"
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits