From 318e3e227f61765d1f49dc192796bec4d79642c8 Mon Sep 17 00:00:00 2001 From: Nuno Sempere Date: Wed, 6 Jul 2022 16:53:13 +0000 Subject: [PATCH] tweak: various style changes. - Tweaked header - Tweaked style - Added footnotes to discount markdown Got confused with git, which explains the non-unitary commit --- bin/contrib/discount.rc | 7 ++++--- lib/default_master.tpl | 2 +- pub/style/style.css | 15 ++++++++++----- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/bin/contrib/discount.rc b/bin/contrib/discount.rc index 675b57c..d6e0e0d 100755 --- a/bin/contrib/discount.rc +++ b/bin/contrib/discount.rc @@ -1,4 +1,5 @@ #!/bin/rc -# requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/ -/usr/bin/markdown -f fencedcode -f ext $1 - +# requires discount markdown: +# note: must restart the application when this is changed +# flags can be seen at: +/usr/bin/markdown -f fencedcode -f ext -f footnote $1 diff --git a/lib/default_master.tpl b/lib/default_master.tpl index 04d68bc..a350c23 100755 --- a/lib/default_master.tpl +++ b/lib/default_master.tpl @@ -5,7 +5,7 @@ % cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc % } -

%($"siteTitle%) %($"siteSubTitle%)

+

%($"siteTitle%) %($"siteSubTitle%)

% if(! ~ $#handlers_bar_left 0) { diff --git a/pub/style/style.css b/pub/style/style.css index fe1789b..9267174 100755 --- a/pub/style/style.css +++ b/pub/style/style.css @@ -46,7 +46,6 @@ header { flex-shrink: 0; background-color: #eee; clear: both; - color: #555; padding: 0em; margin: 0; } @@ -59,14 +58,20 @@ header a { /* color: inherit; */ - text-decoration: none; - color: #005386; + text-decoration: none; + color: black; + /* + * color: #005386; + */ } header h1 span { margin-left: 0em; font-size: 70%; + color: #555; + /* font-style: italic; + */ } /* Navigation bar */ @@ -121,11 +126,11 @@ article{ } footer { - flex-basis: 100%; flex-shrink: 0; - margin-top: 2em; display: flex; justify-content: space-between; + padding: 1em 0em 1em 1em; + border-top: 1px dotted #ccc; } /* links */