microblog/docs/templates/layout.html

110 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2022-07-04 17:02:06 +00:00
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>microblog.pub - A self-hosted, single-user, ActivityPub powered microblog.</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style>
body {
font-family: Helvetica, sans-serif;
font-size: 20px;
line-height: 32px;
color: #111;
background: #ddd;
}
nav.flexbox {
margin: 30px 0;
}
nav.flexbox ul {
display: flex;
flex-wrap: wrap;
align-items: center;
list-style-type: none;
padding: 0;
}
nav.flexbox ul li {
margin-right: 20px;
}
nav.flexbox ul li:last-child {
margin-right: 0px;
}
2022-07-05 19:35:39 +00:00
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}
header h1 {
2022-07-04 17:02:06 +00:00
font-weight: normal;
text-align: center;
margin: 30px auto;
color: #111;
}
h1 span {
color: #1d781d;
}
header p {
text-align:center;
}
a {
text-decoration: none;
}
nav a, main a, header p a {
color: #1d781d;
}
2022-07-05 07:32:43 +00:00
nav a.active, main a.active, header p a.active {
color: #781D78;
font-weight: bold;
}
2022-07-04 17:02:06 +00:00
nav a:hover, main a:hover, header p a:hover {
color: #781D78;
}
#main {
width: 95%;
max-width: 960px;
margin: 50px auto;
}
2022-10-19 18:46:01 +00:00
pre {
2022-07-05 07:15:45 +00:00
padding: 10px;
overflow: auto;
display: block;
2022-07-05 07:32:43 +00:00
font-family: monospace;
2022-07-05 07:15:45 +00:00
}
2022-07-11 20:01:37 +00:00
footer {
margin-top: 50px;
color: #555;
}
2022-07-04 17:02:06 +00:00
</style>
2022-07-22 06:46:14 +00:00
<link rel="stylesheet" href="/static/codehilite.css" type="text/css" />
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
2022-07-04 17:02:06 +00:00
</head>
<body>
<div id="main">
<header>
<a href="/"><h1>microblog<span>.pub</span></h1></a>
<p>A self-hosted, single-user, <a href="https://activitypub.rocks/">ActivityPub</a> powered microblog.</p>
</header>
<nav class="flexbox">
<ul>
2022-07-05 07:32:43 +00:00
<li><a href="/"{% if path == "/" %} class="active"{% endif %}>Home</a>
<li><a href="/installing.html"{% if path == "/installing.html" %} class="active"{% endif %}>Installing</a>
2022-07-11 20:01:37 +00:00
<li><a href="/user_guide.html"{% if path == "/user_guide.html" %} class="active"{% endif %}>User's guide</a>
<li><a href="/developer_guide.html"{% if path == "/developer_guide.html" %} class="active"{% endif %}>Developer's guide</a>
2022-07-04 17:02:06 +00:00
<li><a href="https://sr.ht/~tsileo/microblog.pub/">Source code</a>
<li><a href="https://todo.sr.ht/~tsileo/microblog.pub">Bug tracker</a>
<li><a href="https://sr.ht/~tsileo/microblog.pub/lists">Mailing list</a>
<li><a href="https://github.com/tsileo/microblog.pub">GitHub mirror</a>
2022-07-04 17:02:06 +00:00
</ul>
</nav>
<main>
{{ content | safe }}
</main>
2022-07-11 20:01:37 +00:00
<footer>
<p>Last updated {{ last_updated }} for <code>{{ version }}</p>
</footer>
2022-07-04 17:02:06 +00:00
</div>
</body>
</html>