diff options
Diffstat (limited to 'greenbox/templates/base_generic.html')
-rw-r--r-- | greenbox/templates/base_generic.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/greenbox/templates/base_generic.html b/greenbox/templates/base_generic.html new file mode 100644 index 0000000..29e05b2 --- /dev/null +++ b/greenbox/templates/base_generic.html | |||
@@ -0,0 +1,66 @@ | |||
1 | <html> | ||
2 | <head> | ||
3 | <title>{% block page_title %}Home{% endblock %} :: the Green Box</title> | ||
4 | <style type="text/css" media="screen"> | ||
5 | |||
6 | /* LAYOUT ELEMENTS */ | ||
7 | |||
8 | body { | ||
9 | margin: 0px; | ||
10 | padding: 0px; | ||
11 | font: 12px Verdana, sans-serif; | ||
12 | } | ||
13 | |||
14 | #contents { | ||
15 | margin: 20px; | ||
16 | } | ||
17 | |||
18 | /* HEADLINES */ | ||
19 | |||
20 | h1, h2, h3, h4, h5 { | ||
21 | font-weight: lighter; | ||
22 | font-family: Georgia, Times, 'Times New Roman', serif; | ||
23 | } | ||
24 | |||
25 | h1 { font-size: 4em; } | ||
26 | h2 { font-size: 3em; } | ||
27 | h3 { font-size: 2em; } | ||
28 | |||
29 | h1 { | ||
30 | padding: 20px; | ||
31 | background-color: darkgreen; | ||
32 | color: white; | ||
33 | } | ||
34 | |||
35 | h1 .trivial { | ||
36 | color: green; | ||
37 | } | ||
38 | |||
39 | /* LINKS */ | ||
40 | |||
41 | a { | ||
42 | color: green; | ||
43 | text-decoration: none; | ||
44 | border-bottom: 1px dashed lightgreen; | ||
45 | } | ||
46 | |||
47 | a:hover { | ||
48 | border-bottom: 1px solid green; | ||
49 | } | ||
50 | |||
51 | /* TEXT STYLES */ | ||
52 | |||
53 | #recipe_description { | ||
54 | font-style: italic; | ||
55 | } | ||
56 | </style> | ||
57 | </head> | ||
58 | |||
59 | <body> | ||
60 | <h1><span class="trivial">the</span> Green Box</h1> | ||
61 | <div id="contents"> | ||
62 | <h2>{% block title %}{% endblock %}</h2> | ||
63 | {% block contents %}{% endblock %} | ||
64 | </div> | ||
65 | </body> | ||
66 | </html> | ||