blob: 145df9efdbccb490fbc46597ba722575107d8998 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Hello Codemash: {% block title %}TODO: add custom content using child templates{% endblock %}</title>
<style type="text/css">
html * { padding:0; margin:0; height:100%; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; }
h2 { margin-bottom:.8em; }
#summary { background: #e0ebff; }
#summary h2 { font-weight:normal; color:#666; }
#header, #footer { background:#e0ebff; height: 10px; }
#header { margin-bottom:10px; }
#footer { position:absolute; bottom:0; width:100%; }
</style>
</head>
<body>
<div id="header">...header...</div>
{% block main %}TODO: add custom content using child templates{% endblock %}
<div id="footer">...footer...</div>
</body>
</html>
|