From: Nick Downing Date: Sun, 15 Mar 2020 02:49:54 +0000 (+1100) Subject: Minor changes to footer X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?p=ndcode_site.git;a=commitdiff_plain;h=cac64e4b02d51e150276528b72729e9dcb4d52ba Minor changes to footer --- diff --git a/css/bootstrap/custom.less b/css/bootstrap/custom.less index 1b3e006..febc7b0 100644 --- a/css/bootstrap/custom.less +++ b/css/bootstrap/custom.less @@ -67,7 +67,8 @@ } .footer { - padding: 20px; + padding-top: 35px; + padding-bottom: 25px; background-color: @gray-light2; a { color: @footer-link-color; diff --git a/navbar.jst b/navbar.jst index 1a2dc14..305961c 100644 --- a/navbar.jst +++ b/navbar.jst @@ -99,7 +99,6 @@ return async (env, head, body) => { } div.footer(style="padding-left: calc(100vw - 100%);") { div.container { //-fluid") { - div(style="height: 16px;") {} a(rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/") { img(alt="Creative Commons License" style="border-width:0" src="/images/by-sa_3.0_88x31.png") {} } @@ -115,7 +114,7 @@ return async (env, head, body) => { '.' } - p {'Code samples within the page are placed in the public domain unless otherwise noted.'} + p {'Example code fragments embedded within the text are placed in the public domain unless otherwise noted.'} p {`Copyright © ${new XDate().getUTCFullYear()} Integration Logic Pty Ltd trading as NDCODE and contributors.`} } diff --git a/sphinx.dir.jst b/sphinx.dir.jst index 0441cfb..39baefb 100644 --- a/sphinx.dir.jst +++ b/sphinx.dir.jst @@ -11,7 +11,7 @@ let serve_html = async (env, pathname) => { } // try to extract head before/after stylesheet and body - match = data.toString().match(/^([^]*)