add some style stuff

This commit is contained in:
Rhiannon Morris 2020-08-18 10:33:25 +02:00
parent 2872dca785
commit 22b4411641
109 changed files with 699 additions and 1 deletions

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
*.eot filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.woff filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text
style/fonts/**/*.svg filter=lfs diff=lfs merge=lfs -text

View File

@ -7,17 +7,25 @@ TEMPLATE ?= $(DATADIR)/template.html
PAGES != find $(PAGESDIR) -name '*.md'
OUTPUTPAGES = $(patsubst $(PAGESDIR)/%.md,$(BUILDDIR)/%.html,$(PAGES))
STYLE != find style -type f
OUTPUTSTYLE = $(patsubst %,$(BUILDDIR)/%,$(STYLE))
OUTPUT = $(OUTPUTPAGES) $(OUTPUTSTYLE)
.PHONY: all
all: build
.PHONY: build
build: $(OUTPUTPAGES)
build: $(OUTPUT)
$(BUILDDIR)/%.html: $(PAGESDIR)/%.md $(TEMPLATE)
mkdir -p $(dir $@)
pandoc -s --toc --template $(TEMPLATE) -o $@ $<
$(BUILDDIR)/%: %
mkdir -p $(dir $@)
cp $< $@
.PHONY: clean distclean
clean:
rm -rf $(BUILDDIR)

View File

@ -2,6 +2,7 @@
<html lang=$lang$$if(dir)$ dir=$dir$$endif$>
<meta charset=utf-8>
<link rel=stylesheet href=/style/page.css>
$for(css)$
<link rel=stylesheet href=/style/$css$>
$endfor$
@ -32,7 +33,9 @@ $if(toc)$
</nav>
$endif$
<main>
$body$
</main>
$for(include-after)$
$include-after$

62
style/counters.css Normal file
View File

@ -0,0 +1,62 @@
:root {
--section-prefix: '§ ';
}
main h1 {
counter-increment: h1;
counter-reset: h2 h3 h4 h5 h6;
}
main h1::before {
content: var(--section-prefix) counter(h1);
}
main h2 {
counter-increment: h2;
counter-reset: h3 h4 h5 h6;
}
main h2::before {
content: var(--section-prefix) counter(h1) '.' counter(h2);
}
main h3 {
counter-increment: h3;
counter-reset: h4 h5 h6;
}
main h3::before {
content: var(--section-prefix) counter(h1) '.' counter(h2) '.' counter(h3);
}
main h4 {
counter-increment: h4;
counter-reset: h5 h6;
}
main h4::before {
content: var(--section-prefix)
counter(h1) '.' counter(h2) '.' counter(h3) '.' counter(h4);
}
main h5 {
counter-increment: h5;
counter-reset: h6;
}
main h5::before {
content: var(--section-prefix)
counter(h1) '.' counter(h2) '.' counter(h3) '.' counter(h4) '.'
counter(h5);
}
main h6 {
counter-increment: h6;
}
main h6::before {
content: var(--section-prefix)
counter(h1) '.' counter(h2) '.' counter(h3) '.' counter(h4) '.'
counter(h5) '.' counter(h6);
}

BIN
style/fonts/andika/Andika-R.woff (Stored with Git LFS) Executable file

Binary file not shown.

View File

@ -0,0 +1,4 @@
@font-face {
font-family: Andika;
src: url(Andika-R.woff);
}

BIN
style/fonts/muller/050.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/050i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/100i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/200i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/300i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/400i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/500i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/600i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/700i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800i.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800i.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800i.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800i.woff (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/800i.woff2 (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/900.eot (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/900.svg (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/900.ttf (Stored with Git LFS) Executable file

Binary file not shown.

BIN
style/fonts/muller/900.woff (Stored with Git LFS) Executable file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More