From 5aff968bf932f201b1103f2f81255ab58f115241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 19 May 2024 14:57:39 +0200 Subject: feat: scaffold website skeleton --- .gitignore | 3 +++ src/index.md | 21 +++++++++++++++++++++ src/styles/main.css | 38 ++++++++++++++++++++++++++++++++++++++ templates/default | 16 ++++++++++++++++ templates/default.footer | 0 templates/default.head | 11 +++++++++++ templates/default.header | 1 + templates/none | 6 ++++++ 8 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 src/index.md create mode 100644 src/styles/main.css create mode 100644 templates/default create mode 100644 templates/default.footer create mode 100644 templates/default.head create mode 100644 templates/default.header create mode 100644 templates/none diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c472d7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +out/ +tmp/ +.tmp diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..2ca0888 --- /dev/null +++ b/src/index.md @@ -0,0 +1,21 @@ +--- +show_title: false +--- + +cataphiles, toiturophiles, tractophiles, gtekophiles, amoureux·ses des égouts +et du remblais, curieux·ses, amateur·trices des hauteurs + +- [melpiat.com](https://melpiat.com) +- [rgoncalves.se](https://rgoncalves.se) + + + +- [contact@sousleciel.lol](mailto:contact@sousleciel.lol) + + diff --git a/src/styles/main.css b/src/styles/main.css new file mode 100644 index 0000000..489298e --- /dev/null +++ b/src/styles/main.css @@ -0,0 +1,38 @@ +* { + font-family: monospace, monospace; + font-size: 1em; +} + +body { + margin-left: 10vw; + max-width: 96ch; +} + +h1 { + font-size: 2em; + margin-bottom: 30vh; + margin-top: 1em; +} + +h1 > a { + text-decoration-style: wavy; + text-decoration-thickness: 15%; +} + +a, a:hover, a:visited { + color: blue; +} + +ul { + padding-inline-start: 0; +} + +ul li { + display: block; +} + +footer { + color: white; + background-color: black; + margin-top: 4em; +} diff --git a/templates/default b/templates/default new file mode 100644 index 0000000..8414c8b --- /dev/null +++ b/templates/default @@ -0,0 +1,16 @@ + + +include(templates/default.head) + +
+ include(templates/default.header) +
+ sinclude(tmp/tmp.metadata) + sinclude(tmp/tmp.toc) + include(tmp/tmp.body) + sinclude(tmp/tmp.index) + + + diff --git a/templates/default.footer b/templates/default.footer new file mode 100644 index 0000000..e69de29 diff --git a/templates/default.head b/templates/default.head new file mode 100644 index 0000000..98d1406 --- /dev/null +++ b/templates/default.head @@ -0,0 +1,11 @@ +Sous le ciel + + + + + + + + + + diff --git a/templates/default.header b/templates/default.header new file mode 100644 index 0000000..7b540fc --- /dev/null +++ b/templates/default.header @@ -0,0 +1 @@ +

Sous le ciel

diff --git a/templates/none b/templates/none new file mode 100644 index 0000000..a125d9e --- /dev/null +++ b/templates/none @@ -0,0 +1,6 @@ + +include(templates/default.head) + + include(tmp/tmp.body) + + -- cgit v1.2.3