commit 318e3e227f61765d1f49dc192796bec4d79642c8
parent 09b27d0287c3500c1f3683f693fc621fbe4696a2
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date: Wed, 6 Jul 2022 16:53:13 +0000
tweak: various style changes.
- Tweaked header
- Tweaked style
- Added footnotes to discount markdown
Got confused with git, which explains the non-unitary commit
Diffstat:
3 files changed, 15 insertions(+), 9 deletions(-)
diff --git 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: <https://www.pell.portland.or.us/~orc/Code/discount/>
+# note: must restart the application when this is changed
+# flags can be seen at: <https://github.com/Orc/discount/blob/3520113e1fbf2e012ba24ceb1343c37acda4edf0/pgm_options.c#L45=>
+/usr/bin/markdown -f fencedcode -f ext -f footnote $1
diff --git a/lib/default_master.tpl b/lib/default_master.tpl
@@ -5,7 +5,7 @@
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav>
% }
- <h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
+ <h1><a href="/">%($"siteTitle%) </a><span id="headerSubTitle">%($"siteSubTitle%)</span></h1>
</header>
% if(! ~ $#handlers_bar_left 0) {
diff --git 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 */