From 7693542dc76dc8fa7ac3a26d32eb0964a9708fae Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 30 May 2022 18:36:12 -0500 Subject: [PATCH] styling --- index.tmpl.html | 19 ++++++++++++++----- make.sh | 4 +++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/index.tmpl.html b/index.tmpl.html index 670c234..7f8d80a 100644 --- a/index.tmpl.html +++ b/index.tmpl.html @@ -13,20 +13,29 @@ text-align: center; margin-bottom: 0; } - .title { - margin-bottom: 0; - } #back { font-style: oblique; text-align: center; margin-top: 0; } + .title { + margin-right: 25%; + margin-left: 25%; + text-align: center; + border-top: 1px solid #ce77c5; + } + .title h2 { + margin-bottom: 0; + } .pubdate { + font-size: 80%; font-style: oblique; } .post { - margin-left: .5em; - margin-right: 40%; + margin-right: 25%; + margin-left: 25%; + text-align: justify; + border-bottom: 1px solid #ce77c5; } a { font-weight: bold; diff --git a/make.sh b/make.sh index 08ef7f3..f807436 100755 --- a/make.sh +++ b/make.sh @@ -58,8 +58,10 @@ do echo "warning: missing at least one of: pubdate, slug, title in ${p}" else # HTML - echo "

${title}

" >> $htmlIndex + echo "
" >> $htmlIndex + echo "

${title}

" >> $htmlIndex echo "${pubdate}" >> $htmlIndex + echo "
" >> $htmlIndex echo "
" >> $htmlIndex grep -v "pubdate:" $p | grep -v "title:" | grep -v "slug:" | $lp --mode "html" | pandoc -fmarkdown -thtml >> $htmlIndex echo "
" >> $htmlIndex