From ff4b61d259b541193d26cd9a5e1a3df9df9c5158 Mon Sep 17 00:00:00 2001 From: cark Date: Fri, 20 Aug 2021 01:14:50 +0100 Subject: [PATCH] get some basic content in there --- .gitignore | 1 + sass/main.scss | 20 ++++++++++++++++++++ templates/base.html | 13 +++++++++++++ templates/index.html | 9 +++++++++ 4 files changed, 43 insertions(+) create mode 100644 .gitignore create mode 100644 sass/main.scss create mode 100644 templates/base.html create mode 100644 templates/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d298be1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ \ No newline at end of file diff --git a/sass/main.scss b/sass/main.scss new file mode 100644 index 0000000..81f6768 --- /dev/null +++ b/sass/main.scss @@ -0,0 +1,20 @@ +@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap'); +body { + background-color: #150e41; + color: #d9d5f3; + font-family: 'Crimson Text', serif; + max-width: 900px; + margin: auto; + padding: 48px 24px; +} + +.title { + h1 { + font-weight: 400; + margin: 0.25em 0; + } + p { + margin: 0; + } + line-height: 100%; +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..798ccc4 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,13 @@ + + + + + + the south london library + + + + + {% block content %} {% endblock %} + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..ec0ceeb --- /dev/null +++ b/templates/index.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +
+

Library of South London

+

bad advice from people who don't know anything.

+
+ +{% endblock content %} \ No newline at end of file