Mercurial > web
comparison _layouts/default.html @ 93:92f1ea793bf2
layouts/default: put all this cruft as oneliners
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 05:00:17 -0400 |
parents | 5914d06f72b4 |
children |
comparison
equal
deleted
inserted
replaced
92:a143c3991472 | 93:92f1ea793bf2 |
---|---|
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 <link href="/css/style.css" rel="stylesheet" media="screen"> | 7 <link href="/css/style.css" rel="stylesheet" media="screen"> |
8 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?"> | 8 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?"> |
9 <style> | 9 <style> |
10 body { | 10 body { |
11 {% if page.bgrepeat %} | 11 background-repeat: {% if page.bgrepeat %} {{ page.bgrepeat }} {% else %} repeat {% endif %}; |
12 background-repeat: {{ page.bgrepeat }}; | 12 background-image: {% if page.bgimage %} {% unless page.bgimage == "none" %} url("{{ page.bgimage }}") {% endunless %} {% else %} url("/media/KnitLight.png") {% endif %}; |
13 {% else %} | |
14 background-repeat: repeat; | |
15 {% endif %} | |
16 {% if page.bgimage %} | |
17 {% unless page.bgimage == "none" %} | |
18 background-image: url("{{ page.bgimage }}"); | |
19 {% endunless %} | |
20 {% else %} | |
21 background-image: url("/media/KnitLight.png"); | |
22 {% endif %} | |
23 background-position: center top; | 13 background-position: center top; |
24 {% if page.bgcolor %} | 14 background-color: {% if page.bgcolor %} {% unless page.bgcolor == "none" %} {{ page.bgcolor }} {% endunless %} {% else %} #737373 {% endif %}; |
25 {% unless page.bgcolor == "none" %} | 15 background-size: {% if page.bgsize %} {{ page.bgsize }} {% endif %}; |
26 background-color: {{ page.bgcolor }}; | |
27 {% endunless %} | |
28 {% else %} | |
29 background-color: #737373; | |
30 {% endif %} | |
31 {% if page.bgsize %} | |
32 background-size: {{ page.bgsize }}; | |
33 {% endif %} | |
34 min-height: 100vh; | 16 min-height: 100vh; |
35 } | 17 } |
36 </style> | 18 </style> |
37 </head> | 19 </head> |
38 <body> | 20 <body> |