summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile40
-rw-r--r--footer.mdwn0
-rw-r--r--index.mdwn13
-rw-r--r--lewis.jpgbin0 -> 266869 bytes
-rw-r--r--style.scss61
-rw-r--r--topbar.mdwn0
6 files changed, 114 insertions, 0 deletions
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 <div class=\"$*\">' -e '$$ a </div>' $@
+
+$(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
--- /dev/null
+++ b/footer.mdwn
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: <annika@kassandra-production.dk>
+
+![](lewis.jpg)
+
+Vimeo: <https://vimeo.com/showcase/1903459>
+Facebook: <https://www.facebook.com/KassandraProduction>
+OmniPresence: <https://omni-presence.dk>
+XpositionREVERSE: <http://www.xpositionreverse.org>
diff --git a/lewis.jpg b/lewis.jpg
new file mode 100644
index 0000000..898492b
--- /dev/null
+++ b/lewis.jpg
Binary files 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
--- /dev/null
+++ b/topbar.mdwn