Create base template and stylesheet
This commit is contained in:
parent
969b730291
commit
4bcfd6dada
4
static/main.css
Normal file
4
static/main.css
Normal file
@ -0,0 +1,4 @@
|
||||
html{
|
||||
font-family:'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
||||
font-size:0.9em;
|
||||
}
|
||||
11
templates/base.html
Normal file
11
templates/base.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='main.css') }}"
|
||||
</head>
|
||||
<body>
|
||||
<p>{{ text }}</p>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,10 +1 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>{{ text }}</p>
|
||||
</body>
|
||||
</html>
|
||||
{% extends "base.html" %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user