website

source code for the ttmaths.uk website
Log | Files | Refs | README

commit 2f495b3bf042eb81b0bcb7c11e56ed191764e8db
parent 52abbc6a86740e4129b4343adad4b18e8626f63a
Author: hrryt <harry@mayesfield.uk>
Date:   Tue, 15 Sep 2026 17:27:20 +0100

Add stagit decoration and add git remote

Diffstat:
Adescription | 1+
Apush.sh | 19+++++++++++++++++++
Astagit.css | 154+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Astagit.png | 0
4 files changed, 174 insertions(+), 0 deletions(-)

diff --git a/description b/description @@ -0,0 +1 @@ +source code for the ttmaths.uk website diff --git a/push.sh b/push.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +git push local + +mkdir stagit +cd stagit +stagit .. +cp log.html index.html +cp ../stagit.css style.css +cp ../stagit.png logo.png +cp ../stagit.png favicon.png +cp -r ../../website.git website.git +tar -c -f ../stagit.tar * +cd .. + +. ./.env +curl http://git.ttmaths.uk/ -X PUT -H "Authorization: Pages $GIT_PAGES_PASSWORD" -H "Content-Type: application/x-tar" --data-binary @stagit.tar +rm stagit.tar +rm -rf stagit diff --git a/stagit.css b/stagit.css @@ -0,0 +1,154 @@ +body { + color: #000; + background-color: #fff; + font-family: monospace; +} + +h1, h2, h3, h4, h5, h6 { + font-size: 1em; + margin: 0; +} + +img, h1, h2 { + vertical-align: middle; +} + +img { + border: 0; +} + +a:target { + background-color: #ccc; +} + +a.d, +a.h, +a.i, +a.line { + text-decoration: none; +} + +#blob a { + color: #555; +} + +#blob a:hover { + color: blue; + text-decoration: none; +} + +table thead td { + font-weight: bold; +} + +table td { + padding: 0 0.4em; +} + +#content table td { + vertical-align: top; + white-space: nowrap; +} + +#branches tr:hover td, +#tags tr:hover td, +#index tr:hover td, +#log tr:hover td, +#files tr:hover td { + background-color: #eee; +} + +#index tr td:nth-child(2), +#tags tr td:nth-child(3), +#branches tr td:nth-child(3), +#log tr td:nth-child(2) { + white-space: normal; +} + +td.num { + text-align: right; +} + +.desc { + color: #555; +} + +hr { + border: 0; + border-top: 1px solid #555; + height: 1px; +} + +pre { + font-family: monospace; +} + +pre a.h { + color: #00a; +} + +.A, +span.i, +pre a.i { + color: #070; +} + +.D, +span.d, +pre a.d { + color: #e00; +} + +pre a.h:hover, +pre a.i:hover, +pre a.d:hover { + text-decoration: none; +} + +@media (prefers-color-scheme: dark) { + body { + background-color: #000; + color: #bdbdbd; + } + hr { + border-color: #222; + } + a { + color: #56c8ff; + } + a:target { + background-color: #222; + } + .desc { + color: #aaa; + } + #blob a { + color: #555; + } + #blob a:target { + color: #eee; + } + #blob a:hover { + color: #56c8ff; + } + pre a.h { + color: #00cdcd; + } + .A, + span.i, + pre a.i { + color: #00cd00; + } + .D, + span.d, + pre a.d { + color: #cd0000; + } + #branches tr:hover td, + #tags tr:hover td, + #index tr:hover td, + #log tr:hover td, + #files tr:hover td { + background-color: #111; + } +} diff --git a/stagit.png b/stagit.png Binary files differ.