Files
blog/templates/header.html

102 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$<title default="Guus' blog" pre="Guus - "></title>
<style>
body {
font-family: system-ui, -apple-system, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
line-height: 1.6;
color: #333;
}
nav {
border-bottom: 2px solid #333;
padding-bottom: 10px;
margin-bottom: 30px;
}
nav #title {
font-size: 1.2em;
font-weight: bold;
margin-right: 20px;
}
nav a {
margin-right: 20px;
text-decoration: none;
color: #0066cc;
}
nav a:hover {
text-decoration: underline;
}
.post-list {
list-style: none;
padding: 0;
}
.post-list li {
margin-bottom: 10px;
padding: 10px;
border-left: 3px solid #0066cc;
padding-left: 15px;
}
.post-list a {
text-decoration: none;
color: #333;
font-weight: bold;
}
.post-list a:hover {
color: #0066cc;
}
.date {
color: #666;
font-size: 0.9em;
float: right;
}
article {
margin-top: 30px;
}
h1, h2, h3 {
color: #222;
}
code {
background: #f4f4f4;
padding: 2px 6px;
border-radius: 3px;
}
pre {
background: #f4f4f4;
padding: 15px;
border-radius: 5px;
overflow-x: auto;
}
pre code {
padding: 0;
}
.social-link {
display: inline-block;
width: 24px;
height: 24px;
vertical-align: middle;
margin: 0 8px;
}
.social-link svg {
fill: #666;
transition: fill 0.2s;
}
.social-link:hover svg {
fill: #0066cc;
}
footer .social-links {
margin-bottom: 10px;
}
</style>
</head>
<body>
<nav>
<a href="/" id="title">Guus' things</a>
<a href="/all">All Posts</a>
<a href="/work">Work</a>
</nav>