annotate _layouts/default.html @ 84:5914d06f72b4

css: tweak styles to make things work on older browsers the other thing was hacky; this is weirder, but makes a tiny bit more sense
author Paper <paper@paper.us.eu.org>
date Wed, 05 Jun 2024 21:02:44 -0400
parents 5fdf5f346b92
children 92f1ea793bf2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
1 <!DOCTYPE html>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
2 <html lang="en-US">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
3 <head>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
4 <title>{{ page.title }} - Paper's website</title>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
7 <link href="/css/style.css" rel="stylesheet" media="screen">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
8 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
9 <style>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
10 body {
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
11 {% if page.bgrepeat %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
12 background-repeat: {{ page.bgrepeat }};
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
13 {% else %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
14 background-repeat: repeat;
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
15 {% endif %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
16 {% if page.bgimage %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
17 {% unless page.bgimage == "none" %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
18 background-image: url("{{ page.bgimage }}");
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
19 {% endunless %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
20 {% else %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
21 background-image: url("/media/KnitLight.png");
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
22 {% endif %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
23 background-position: center top;
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
24 {% if page.bgcolor %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
25 {% unless page.bgcolor == "none" %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
26 background-color: {{ page.bgcolor }};
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
27 {% endunless %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
28 {% else %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
29 background-color: #737373;
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
30 {% endif %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
31 {% if page.bgsize %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
32 background-size: {{ page.bgsize }};
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
33 {% endif %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
34 min-height: 100vh;
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
35 }
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
36 </style>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
37 </head>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
38 <body>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
39 {% include navigation.html %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
40
84
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
41 <div class="catchall">
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
42
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
43 {{ content }}
84
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
44
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
45 </div>
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
46 </body>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
47 </html>