diff --git a/pandoc/template.html4 b/pandoc/template.html4 index 680c173..0fa359d 100644 --- a/pandoc/template.html4 +++ b/pandoc/template.html4 @@ -30,48 +30,30 @@ $endif$ $endif$ - $for(author)$ + $if(author)$

$author$

- $endfor$ + $endif$
My picture
-$for(include-before)$ -$include-before$ -$endfor$ -$if(title)$ -$if(subtitle)$ -

$subtitle$

-$endif$ -$for(author)$ -

$author$

-$endfor$ -$if(date)$ -

$date$

-$endif$ -$if(abstract)$ -
-
$abstract-title$
-$abstract$ -
-$endif$ - -$endif$ -$if(toc)$ -
-$if(toc-title)$ -

$toc-title$

-$endif$ -$table-of-contents$ -
-$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ + $for(include-before)$ + $include-before$ + $endfor$ + $if(toc)$ +
+ $if(toc-title)$ +

$toc-title$

+ $endif$ + $table-of-contents$ +
+ $endif$ + $body$ + $for(include-after)$ + $include-after$ + $endfor$
diff --git a/website/style.css b/website/style.css index 8f414f5..861a4fd 100644 --- a/website/style.css +++ b/website/style.css @@ -1 +1,51 @@ -/* TODO */ +:root { + --bg: #e3e7ed; + --headerbg: #bae5e5; +} + +/*** GENERAL ***/ + +* { + box-sizing: border-box; +} + +body, div, header, footer, main, h1, h2, h3, h4, h5, h6 { + margin: 0; + padding: 0; +} + +html { + min-height: 100%; +} + +body { + font-family: sans-serif; + background: var(--bgcol); +} + +/*** HEADER ***/ + +header { + max-width: 1200px; + width: auto; + margin: auto; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-around; + align-items: center; + padding-top: 30px; + background: var(--headerbg); +} + +header img { + flex: 1; + margin: 10px; + max-width: 200px; +} + +header p { + flex: 3 300px; + padding: 10px; + margin: 10px; +}