From c3f5f58fa7351c95613a8052ad579c22df33bb54 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 27 Feb 2020 19:03:05 +0100 Subject: initial layout --- Makefile | 40 +++++++++++++++++++++++++++++++++++++++ footer.mdwn | 0 index.mdwn | 13 +++++++++++++ lewis.jpg | Bin 0 -> 266869 bytes style.scss | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ topbar.mdwn | 0 6 files changed, 114 insertions(+) create mode 100644 Makefile create mode 100644 footer.mdwn create mode 100644 index.mdwn create mode 100644 lewis.jpg create mode 100644 style.scss create mode 100644 topbar.mdwn diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63ceea8 --- /dev/null +++ b/Makefile @@ -0,0 +1,40 @@ +markdown-snippets := topbar.mdwn footer.mdwn +hypertext-snippets = $(markdown-snippets:%.mdwn=%.html) +markdown := $(filter-out $(markdown-snippets),$(wildcard *.mdwn */*.mdwn */*/*.mdwn)) +hypertext = $(subst index/index,index,$(markdown:%.mdwn=%/index.html)) +graph := $(wildcard *.dot */*.dot */*/*.dot) +vectorimage-graph := $(graph:%.dot=%.svg) + +compass_plugins = h5bp + +all: $(hypertext) $(vectorimage-graph) style.css + +update: .git + git pull + $(MAKE) all + +$(hypertext-snippets): %.html: %.mdwn Makefile + pandoc -f commonmark -t html -o $@ $< + sed -i -e '1i
' -e '$$ a
' $@ + +$(vectorimage-graph): %.svg: %.dot Makefile + dot -Tsvg -o$@ $< + +%.html %/index.html: %.mdwn $(hypertext-snippets) Makefile + $(if $(filter-out ./,$(dir $@)),mkdir -p $(dir $@)) + pandoc -s -c $(shell realpath --relative-to=$(dir $@) style.css) -B topbar.html -A footer.html -f commonmark -t html -o $@ $< + +%.css : %.scss Makefile +# scss --compass --style compressed $< $@ + sassc --load-path /usr/share/sass/stylesheets $(compass_plugins:%=--load-path /usr/share/compass/frameworks/%/stylesheets) --style compressed $< $@ + +clean: + rm -f $(vectorimage-graph) + find -type f -name '*.html' -delete + find -type d -empty -delete + rm -f style.css style.css.map + rm -rf .sass-cache + +MAKEFLAGS += --jobs +.NOTPARALLEL: source +.PHONY: all update clean diff --git a/footer.mdwn b/footer.mdwn new file mode 100644 index 0000000..e69de29 diff --git a/index.mdwn b/index.mdwn new file mode 100644 index 0000000..3b90eec --- /dev/null +++ b/index.mdwn @@ -0,0 +1,13 @@ +# KASSANDRA PRODUCTION + +Valdemarsgade 1 +DK-8000 Aarhus C, Denmark +Phone: +45 21 63 46 59 +Mail: + +![](lewis.jpg) + +Vimeo: +Facebook: +OmniPresence: +XpositionREVERSE: diff --git a/lewis.jpg b/lewis.jpg new file mode 100644 index 0000000..898492b Binary files /dev/null and b/lewis.jpg differ diff --git a/style.scss b/style.scss new file mode 100644 index 0000000..8edc8da --- /dev/null +++ b/style.scss @@ -0,0 +1,61 @@ +@charset 'utf-8'; + +/*! style.css | @License: GPL-3+ | http://source.couchdesign.dk/site/content.git */ + +@import "h5bp"; +@import "compass/typography"; + +@include h5bp-normalize; +@include h5bp-media; + +h1 { + font-weight: normal; +} + +body { + color: white; + background-color: black; + + @media print { + font-family: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif; + font-size: 10pt; + line-height: 11pt; + } + font-size: 12pt; + line-height: 18pt; + margin: 2em; + max-width: 62em; +} + +a { + @include hover-link; +} + +h1, +p { + text-align: center; +} + +p img { +// width: 90%; + width: 40em; + height: auto; +} + +.topbar { + @media print { + display: none !important; + } + @include inline-list; +} + +@media print { + a[href*=".wikipedia.org/"]:after, + a[href*="//www.openstreetmap.org/"]:after { + content: ""; + } +} + +a { + color: darkgrey; +} diff --git a/topbar.mdwn b/topbar.mdwn new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3