From 4bcfd6dada13f82a1f183b04ddc376461c601da6 Mon Sep 17 00:00:00 2001 From: Anika Date: Wed, 10 Apr 2019 19:59:04 +0200 Subject: [PATCH] Create base template and stylesheet --- static/main.css | 4 ++++ templates/base.html | 11 +++++++++++ templates/index.html | 11 +---------- 3 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 static/main.css create mode 100644 templates/base.html diff --git a/static/main.css b/static/main.css new file mode 100644 index 0000000..7f71b68 --- /dev/null +++ b/static/main.css @@ -0,0 +1,4 @@ +html{ + font-family:'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; + font-size:0.9em; +} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7b8df7b --- /dev/null +++ b/templates/base.html @@ -0,0 +1,11 @@ + + + + + {{ title }} + + +

{{ text }}

+ + diff --git a/templates/index.html b/templates/index.html index 7f68735..94d9808 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,10 +1 @@ - - - - - {{ title }} - - -

{{ text }}

- - +{% extends "base.html" %}