site-josuah

/usr/josuah
Log | Files | Refs

commit ab9603afa664e5fe9994684a4f6cd14651a8a4eb
parent fee86fb448c5b5033524268b2ccd1311a3e0d105
Author: Josuah Demangeon <me@josuah.net>
Date:   Mon,  4 May 2020 02:26:04 +0200

random css

Diffstat:
M.githooks/post-update | 2--
Dcss/clean.css | 14--------------
Dcss/news.css | 55-------------------------------------------------------
Dcss/term.css | 32--------------------------------
Dcss/vapor.css | 39---------------------------------------
Dcss/windows.css | 62--------------------------------------------------------------
Mhead.html | 19+++++++++----------
7 files changed, 9 insertions(+), 214 deletions(-)

diff --git a/.githooks/post-update b/.githooks/post-update @@ -1,5 +1,4 @@ #!/bin/sh -ex -# deploy the website to /srv tmp=$(git-hooks-workdir "$@") trap 'rm -rf "$tmp"' INT TERM EXIT HUP @@ -12,7 +11,6 @@ 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/css/clean.css b/css/clean.css @@ -1,14 +0,0 @@ -body { - max-width: 80ch; - margin: auto; - padding: 5em 5ch; - font-family: sans; -} - -pre { - padding-left: 4ch; -} - -blockquote { - border-left: solid 1px grey; -} diff --git a/css/news.css b/css/news.css @@ -1,55 +0,0 @@ -html { - padding: 20px; -} - -body { - max-width: 75ch; - margin: 3em auto; - padding: 5em 5ch; - font-family: serif; - box-shadow: 0 10px 10px #777; - border: solid 1px; - text-column: 2; -} - -a { - color: inherit; - font-weight: bold; - text-decoration: none; -} - -h1 { - font-family: sans; - font-variant: all-small-caps; - font-size: 5em; - line-height: 0.8em; - margin: 0.1em 0; -} - -h2 { - border-top: 3px solid #777; - padding-top: 0.5em; -} - -h2:before, h2:after { - color: #777; -} - -hr { - border: 0; - border-top: solid 2px #777; - border-bottom: solid 2px #777; - height: 6px; -} - -pre { - padding-left: 4ch; -} - -nav { - font-family: monospace; -} - -blockquote { - border-left: solid 1px grey; -} diff --git a/css/term.css b/css/term.css @@ -1,32 +0,0 @@ -html { - background-color: #000; - margin: 3em; -} - -body { - background-color: #020; - box-shadow: 0 0 60px #474; - color: #fff; - max-width: 80ch; - margin: auto; - padding: 5em 5ch; - font-family: monospace; - font-size: 15px; -} - -* { - text-shadow: #8fa 0 0 3px; -} - -a { - color: #6f9; - text-decoration: none; -} - -pre { - padding-left: 4ch; -} - -blockquote { - border-left: solid 1px grey; -} diff --git a/css/vapor.css b/css/vapor.css @@ -1,39 +0,0 @@ -body { - max-width: 80ch; - margin: auto; - padding: 5em 5ch; - font-family: sans; - color: white; -} - -html { - background-image: linear-gradient(0.15turn, #825, #636); - background-attachment: cover; - min-height: 100%; -} - -a { - font-weight: bold; - text-decoration: none; - color: #7fa; -} - -h1, h2, h3, h4, h5, h6 { - color: #3fd; - border-bottom: solid 1px #2f4; -} - -hr { - border: 0; - height: 2px; - background: #ff0; - box-shadow: 0 0 9px #ff0; -} - -pre { - padding-left: 4ch; -} - -blockquote { - border-left: solid 1px grey; -} diff --git a/css/windows.css b/css/windows.css @@ -1,62 +0,0 @@ -body { - max-width: 80ch; - margin: auto; - padding: 5em 5ch; - font-family: sans; - line-height: 1.7em; - background-color: #ddd; -} - -p, ul, ol, blockquote, pre { - border: inset; - background: white; -} - -p, pre, blockquote { - padding: 1ch 1em; -} - -a, a:visited { - text-decoration: none; - border: outset #eee 3px; - background-color: #ddd; - color: inherit; -} - -a:active { - border: inset #eee 3px; - color: inherit; -} - -h1 { - background: #00a; -} - -h2 { - background: #666; -} - -h1, h2 { - border: outset; - font-size: 1.7em; - line-height: calc(1em + 6px); - text-align: center; - color: #fff; -} - -h1:after, h2:after { - content: "✕"; - float: right; - border: outset; - background-color: #ddd; - color: #333; - line-height: 1em; -} - -pre { - padding-left: 4ch; -} - -blockquote { - border-left: solid 1px grey; -} diff --git a/head.html b/head.html @@ -1,17 +1,16 @@ <!DOCTYPE html> <title>josuah.net</title> <meta charset="UTF-8"/> -<link rel=stylesheet href="/style.css" type="text/css"/> +<link rel=stylesheet href="http://random.z0.is:8080/css" type="text/css"/> <meta name="viewport" content="initial-scale=1.0"> -[ <a href="/">josuah.net</a> ] - +<header> +<a href="/">josuah.net</a> <nav style="float:right;"> -<a href="#">git</a> - -<a href="/pub/josuah.ssh">ssh</a> - -<a href="/pub/josuah.gpg">gpg</a> - -<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#101;&#64;&#106;&#111;&#115;&#117;&#97;&#104;&#46;&#110;&#101;&#116;">mail</a> - -<a href="/atom.xml">atom</a> + <a href="#">git</a> - + <a href="/pub/josuah.ssh">ssh</a> - + <a href="/pub/josuah.gpg">gpg</a> - + <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#101;&#64;&#106;&#111;&#115;&#117;&#97;&#104;&#46;&#110;&#101;&#116;">mail</a> - + <a href="/atom.xml">atom</a> </nav> - -<hr/> +</header>