summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/baseof.html
blob: 20cf3724fbae76dcab1e7b6213d24d14b05a037d (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!doctype html>
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
<link href="/favicon.ico" rel=icon />
<meta content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" name="description" />
<meta content="{{ .Site.Params.author | default "John Doe" }}" name="author" />
<meta content="width=device-width" name="viewport" />
<style>
	a:hover,a.page-link.a{text-decoration:underline}
	body{margin:0;word-wrap:break-word;font:calc(.75em + 1.3vmin)/1.6 "Segoe UI",Helvetica,Arial,sans-serif}
	h2{margin-top:40px}
	a{text-decoration:none;color:#03c}
	aside ul{list-style:none;white-space:nowrap;padding:10px}
	aside a,aside li{color:#E0E0E0}
	aside{background:#212121;padding:3.75vw;top:0}
	code{background:#eee}
	main{margin:8vh auto;max-width:90%}
	code{font-family:Consolas,monaco,monospace;padding:3px}
	pre>code{display:block;padding:20px;white-space:pre-wrap;font-size:75%;max-width:80ch}
	p,a,li,h1{max-width:70ch}
	blockquote{color:#333;border-left:7px solid #fc9;padding:0 14px;margin:0}
	@media(min-width:1100px){
		aside{position:fixed;min-width:14vw;max-width:17vw;bottom:0;overflow-y:auto}
		#l{margin-top:0}
		main{width:63%;margin-left:31vw;margin-top:0}
	}
</style>
<aside>
	<ul>
		<li><a href="{{ .Site.BaseURL }}"><b>{{ .Site.Title }}</b></a></li>
		<li>&nbsp;</li>
		<li><a href="/about/">About</a></li>
		<li><a href="/reading-list/">Reading List</a></li>
		<li><a href="/hardware/">Hardware</a></li>
		<li><a href="/dreams/">Dreams</a></li>
		<li><a href="/languages/">Languages</a></li>
		<li><a href="/recipes/">Recipes</a></li>
		<li><a href="/status/">Server Status</a></li>
		<li>&nbsp;</li>
		<li><a href="/tags/">Tags</a></li>
		<li><a href="/index.xml">RSS Feed</a></li>
		<li>&nbsp;</li>
		<li>&copy; {{ now.Format "2006" }}</li>
	</ul>
</aside>
<main>
{{ block "main" . }}{{ .Content }}{{ end }}
</main>