This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
staxman-old/templates/base.html

74 lines
No EOL
1.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>{% block title %}{{ title }} - staxman{% endblock %}</title>
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<style>
:root {
background-color: #13131E;
color: #E0DFFE;
font-family: Inter, sans-serif;
}
a[href],
a[href]:visited {
color: #FFC53D;
&:hover {
color: #e28d0e;
}
}
body {
display: flex;
align-items: center;
flex-direction: column;
}
nav {
display: flex;
width: 100%;
background-color: #171625;
& a {
flex: 1;
display: flex;
text-decoration: none;
padding: 5px 8px;
justify-content: center;
max-width: 100px;
box-shadow: inset 0 -2px #202248;
font-size: 11pt;
text-transform: uppercase;
&[href],
&[href]:visited {
color: #B1A9FF;
}
&:hover {
background-color: #1E160F;
box-shadow: inset 0 -2px #7E451D;
}
}
}
body>* {
width: 100%;
max-width: 1000px;
}
</style>
</head>
<body>
<nav>
<a href="/">Overview</a>
</nav>
{% block content %}{% endblock %}
</body>
</html>