site-josuah

/usr/josuah
Log | Files | Refs

commit b0e079830773e6a58f5476dfe715462521d8165c
parent 0d1fb115743e4029225ea28da8a2c49997b4b2a2
Author: Josuah Demangeon <me@josuah.net>
Date:   Sun,  3 May 2020 21:29:32 +0200

separate stylesheet

Diffstat:
M.githooks/post-update | 1+
Mhead.html | 10+++-------
Astyle.css | 14++++++++++++++
3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/.githooks/post-update b/.githooks/post-update @@ -12,6 +12,7 @@ cp -r "ascii" "/srv/gopher/" cp -r "ascii" "/srv/www/htdocs/josuah" cp -r "wiki" "/srv/gopher/" cp -r "wiki" "/srv/www/htdocs/josuah" +cp *.css "/srv/www/htdocs/josuah" notwiki-index-gph "ascii" >"/srv/gopher/ascii/index.gph" notwiki-index-html "ascii" >"/srv/www/htdocs/josuah/ascii/index.html" diff --git a/head.html b/head.html @@ -1,12 +1,8 @@ <!DOCTYPE html> - -<meta charset="UTF-8"/> -<style> -body { max-width: 80ch; margin: auto; padding: 5em 5ch; } -pre { margin-left: 4ch; } -blockquote { border-left: solid 1px grey; } -</style> <title>josuah.net</title> +<meta charset="UTF-8"/> +<link rel=stylesheet href="/style.css" type="text/css"/> +<meta name="viewport" content="initial-scale=1.0"> [ <a href="/">josuah.net</a> ] diff --git a/style.css b/style.css @@ -0,0 +1,14 @@ +body { + max-width: 80ch; + margin: auto; + padding: 5em 5ch; + font-family: sans; +} + +pre { + margin-left: 4ch; +} + +blockquote { + border-left: solid 1px grey; +}