aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.html
blob: d389ca859755a4c66d5883f6105a255bae3f3a74 (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crane</title>
<style>
html { font-family: Helvetica,Arial,sans-serif; }
body { width: 45em; max-width: 90%; margin: auto; line-height: 1.45; }

h1 { 
  float: left;
}

nav {
  text-align: right;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 1em;
  font-size: 0.875rem;
}

body p {
  clear: both;
}

a {
  color: #18181a;
  overflow: hidden;
  text-decoration: none;
  font-weight: 400;
}

a:hover {
  color: #6c5edc;
}

a.crane-title {
  font-size: 2rem;
  font-weight: 400;
}

div.header-desc {
  font-weight: 200;
  font-size: .875rem;
  color: #5a5a60;
}

div.header-desc a {
  color: #5a5a60;
  border-bottom: 1px solid #9f9fa5;
}

a.category-title {
  font-size: 1.5rem;
}

a.paper-title { 
  font-size: 1rem;
  border-bottom: 1px solid #9f9fa5;
}

div.paper { 
  padding-bottom: 1em;
}

div.paper-meta {
  color: #5a5a60;
  font-size: .875rem;
}

div.paper-meta a {
  color: inherit;
}

span.paper-year {
  background-color: #f3f3f3;
  border-radius: 5px;
  display: inline-block;
  padding: 0 6px;
}
</style>
</head>
<body>
<h1 id="CRANE"><a class="crane-title" href="/">CRANE</a></h1>
<nav>
  <ul>
    <li><a href="/admin">Manage</a></li>
  </ul>
</nav>
{{ block "content" . }}{{ end }}
<a href='https://git.jordan.im/crane'>crane</a>
</body>
</html>