tweak: various style changes.

- Tweaked header
- Tweaked style
- Added footnotes to discount markdown

Got confused with git, which explains the non-unitary commit
This commit is contained in:
Nuno Sempere 2022-07-06 16:53:13 +00:00
parent 09b27d0287
commit 318e3e227f
3 changed files with 15 additions and 9 deletions

View File

@ -1,4 +1,5 @@
#!/bin/rc #!/bin/rc
# requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/ # requires discount markdown: <https://www.pell.portland.or.us/~orc/Code/discount/>
/usr/bin/markdown -f fencedcode -f ext $1 # 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

View File

@ -5,7 +5,7 @@
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc % cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav> </nav>
% } % }
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1> <h1><a href="/">%($"siteTitle%) </a><span id="headerSubTitle">%($"siteSubTitle%)</span></h1>
</header> </header>
% if(! ~ $#handlers_bar_left 0) { % if(! ~ $#handlers_bar_left 0) {

View File

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