website/templates/base.html.tera

139 lines
2.8 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
<title>{% block title %}{% endblock title %}</title>
<meta name="author" content="glyph">
<meta name="description" content="Welcome to the personal website of glyph: a mycelial technologist coding and cultivating a decentralized, multispecies future. On my site you will find art, musings and projects relating to carbon-based and silicon-based technologies. Sowing seeds of symbiosis, weaving webs of wu wei.">
<meta name="keywords" content="botany, coding, electronics, fermentation, fungi, meditation, mycology, plants">
<style>
a {
color: #111;
padding: 0.2rem;
}
2020-06-07 16:06:00 +00:00
a:focus {
background-color: #111;
color: #fff;
}
2020-06-10 18:58:43 +00:00
a:hover {
background-color: #111;
color: #fff;
}
2020-06-10 18:58:43 +00:00
article {
max-width: 700px;
}
body {
max-width: 900px;
font-family: monospace;
line-height: 1.4;
margin: 2rem;
}
.card {
border: 1px solid black;
box-shadow: 0.25rem 0.25rem;
width: max-content;
padding: 2rem;
margin-bottom: 2rem;
}
.card ul {
list-style-type: none;
margin: 0;
padding-left: 0;
}
code {
background-color: #111;
color: #fff;
margin-left: 0.5rem;
}
.col {
flex: 1;
padding: 1rem;
2020-11-29 15:26:28 +00:00
overflow: auto;
}
@media (max-width: 400px) {
.col {
flex: 1;
padding: 1rem;
width: 90%;
}
}
figure {
margin: 0;
padding: 0;
}
.flex-grid {
display: flex;
}
@media (max-width: 400px) {
.flex-grid {
display: block;
}
}
html {
background-color: #fefefe;
color: #111;
font-size: 14px;
}
h1 {
color: #222;
}
h2 {
color: #222;
}
2020-06-10 18:58:43 +00:00
li {
padding-bottom: 0.5rem;
}
.list-item {
list-style-type: none;
padding: 0.5rem;
}
.nav-bar {
list-style-type: none;
display: inline-block;
padding-left: 0;
}
.nav-item {
border: solid 1px #111;
color: #111;
display: inline-block;
margin-top: 0.2rem;
padding: 0.5rem;
}
.nav-item a {
text-decoration: none;
}
p.bordered {
border: solid 1px #111;
padding: 2rem;
}
</style>
</head>
<body>
{% block nav %}{% endblock %}
</body>
</html>