get some basic content in there

This commit is contained in:
leah 2021-08-20 01:14:50 +01:00
parent e123d673e6
commit ff4b61d259
4 changed files with 43 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public/

20
sass/main.scss Normal file
View File

@ -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%;
}

13
templates/base.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>the south london library</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
</head>
<body>
{% block content %} {% endblock %}
</body>
</html>

9
templates/index.html Normal file
View File

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<div class="title">
<h1><b>Library</b> of South London</h1>
<p>bad advice from people who don't know anything.</p>
</div>
{% endblock content %}