commit 26d6a46be01d78c614b463e9b031650caef62647 Author: Yuval Langer <yuval.langer@gmail.com> Date: Mon, 13 Nov 2023 15:41:03 +0200 First commit. Diffstat:
A | Makefile | | | 18 | ++++++++++++++++++ |
A | favicon.png | | | 0 | |
A | logo.png | | | 0 | |
A | style.css | | | 22 | ++++++++++++++++++++++ |
4 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,18 @@ +repodir = ~/foo +repositories = cc4e dotfiles elfeed-nitter emacs-nano-tts-minor-mode \ +guile-clipboard-speaker kaka.farm learning-sicp \ +python-clipboard-speaker rusty-diceware spacevroom spook \ +super-duper-yes-or-no + +.PHONY: all +all: $(repositories) index.html + +index.html: + guix shell stagit -- stagit-index $(addprefix $(repodir)/,$(repositories)) > $@ + +$(repositories): + mkdir -p $@; cd $@; guix shell stagit -- stagit ~/foo/$@ + +upload: all + rsync -Prv style.css favicon.png logo.png $(repositories) index.html stagit-at-kaka.farm:/var/www/kaka.farm/stagit/ & + for repository in $(repositories); do rsync -Prv logo.png favicon.png style.css stagit-at-kaka.farm:/var/www/kaka.farm/stagit/"$$repository" & done diff --git a/favicon.png b/favicon.png Binary files differ. diff --git a/logo.png b/logo.png Binary files differ. diff --git a/style.css b/style.css @@ -0,0 +1,22 @@ +body { + color: wheat; + background: #222; + background-size: 2px 2px; +} + +#content { + box-shadow: 0px -20px 50px -20px #fff; + margin: 0 auto; + min-height: 100vh; + padding: 20px; + background-color: #222; +} + + +ul { list-style: none; } +li:before { content: "\1F4A9"; } + +a:link { color: springgreen; text-decoration: none; } +a:visited { color: cadetblue; text-decoration: none; } +a:hover { color: salmon; text-decoration: underline; } +a:active { color: red; text-decoration: underline; }