view _layouts/default.html @ 99:e83a48ef3bf4

cheese: make the style much more mobile-friendly
author Paper <paper@tflc.us>
date Fri, 27 Dec 2024 17:06:48 -0500
parents 92f1ea793bf2
children
line wrap: on
line source

<!DOCTYPE html>
<html lang="en-US">
<head>
	<title>{{ page.title }} - Paper's website</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="/css/style.css" rel="stylesheet" media="screen">
	<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
	<style>
		body {
			background-repeat: {% if page.bgrepeat %} {{ page.bgrepeat }} {% else %} repeat {% endif %};
			background-image: {% if page.bgimage %} {% unless page.bgimage == "none" %} url("{{ page.bgimage }}") {% endunless %} {% else %} url("/media/KnitLight.png") {% endif %};
			background-position: center top;
			background-color: {% if page.bgcolor %} {% unless page.bgcolor == "none" %} {{ page.bgcolor }} {% endunless %} {% else %} #737373 {% endif %};
			background-size: {% if page.bgsize %} {{ page.bgsize }} {% endif %};
			min-height: 100vh;
		}
	</style>
</head>
<body>
	{% include navigation.html %}

	<div class="catchall">

	{{ content }}

	</div>
</body>
</html>