fusch.online

git / lists / casts

git.fusch.online/planner

Generate static pages from a list of links
git clone git://git.fusch.online/planner
Log / Files / Readme / Issues

commit 203e1397025ef64d0d78ecb6dc5638fb30b40cdf
parent db2a64ef99209fa241222823014d0fd6351857d8
Author: hbkk <tschugg@posteo.de>
Date:   Tue,  2 Apr 2019 11:53:36 +0200

move styling to external file

Diffstat:
Mplanner | 93++-----------------------------------------------------------------------------
1 file changed, 2 insertions(+), 91 deletions(-)

diff --git a/planner b/planner @@ -15,97 +15,7 @@ print_html_head() { <head> <meta charset="utf-8"> <title>planner#${1:-tutti}</title> - <style> - body { - width: 50em; - margin: 0 auto; - line-height: 1em; - margin-top: 8em; - margin-bottom: 4em; - font-family: Tahoma, Verdana, Arial, sans-serif; - text-align: justify; - } - - h1 { - font-size: larger; - color: black; - } - - h2 { - font-size: small; - } - - .entry { - padding: 0.4em; - margin-bottom: 1em; - } - - .header { - position: fixed; - left: 0; - top: 0; - width: 100%; - background-color: white; - text-align: center; - } - - .footer { - position: fixed; - margin: 0 auto; - bottom: 0; - line-height: 1.6em; - width: 50em; - background-color: white; - padding: 0.4em; - text-align: center; - color: black; - } - - a { - text-decoration: none; - } - - a.read { - color: black; - } - - a.read:hover { - text-decoration: underline; - } - - a.unread { - color: blue; - } - - a.new { - background: yellow; - } - - a.unread:hover { - text-decoration: underline; - } - - a.link { - color: black; - } - - a.link:hover { - text-decoration: underline; - } - - .tag { - color: grey; - text-decoration: none; - } - - .tags { - text-align: center; - } - - .tag:hover { - color: purple; - } - </style> + <link rel="stylesheet" href="./styles.css"> </head> <body> <div class="header"> @@ -294,3 +204,4 @@ for file in $site/*; do done rm $site/*_build.html +cp ./styles.css $site/