Align note with index

This commit is contained in:
2025-09-19 21:42:08 +02:00
parent 07aea5f47a
commit a1f6994c02
3 changed files with 118 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
# Measuring mash temperatures 🍺 🌡️
# Measuring mash temperatures
_2025-02-03 - 5 minute read_

View File

@@ -7,7 +7,6 @@
<title>Document</title>
<style>
html {
font-family: Arial, sans-serif;
font-size: 17px;
line-height: 26px;
display: flex;
@@ -98,25 +97,32 @@
font-family: monospace;
}
.banner .title {
.banner {
.title {
display: flex;
flex-direction: row;
flex: 1;
.name {
color: #1c1b28;
background-color: #00FFFF;
white-space: nowrap;
padding: 5px;
a {
color: unset;
text-decoration: none;
}
}
}
.banner .title::after {
.title::after {
background: repeating-linear-gradient(90deg, #00FFFF, #00FFFF 2px, transparent 0, transparent 10px);
content: "";
display: block;
width: 100%;
margin-left: 10px;
}
.banner .title .name {
color: #1c1b28;
background-color: #00FFFF;
white-space: nowrap;
padding: 5px;
}
</style>
</head>
@@ -124,7 +130,7 @@
<body>
<div class="banner">
<div class="title">
<div class="name">Zackarias Montell</div>
<div class="name"><a href="/">Zackarias Montell</a></div>
</div>
</div>
<div class="profile">

View File

@@ -1,56 +1,132 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
html {
font-family: Arial, sans-serif;
font-size: 1.3em;
font-family: monospace;
font-size: 17px;
display: flex;
justify-content: center;
align-items: center;
line-height: 26px;
flex-direction: column;
}
@media screen and (max-width: 800px) {
html {
font-size: 0.9em;
}
}
body {
max-width: 800px;
color: #fbfbfe;
background-color: #1c1b22;
background-color: #1c1b28;
display: flex;
flex-direction: column;
align-items: center;
}
pre {
box-sizing: border-box;
border: 1px solid #00FFFF;
padding: 1rem;
}
img {
max-width: 100%;
border-radius: 8px;
border-radius: 4px;
}
p {
margin: 20px;
margin-top: 20px;
margin-bottom: 0px;
}
h1, h2, h3, h4, h5, h6 {
h1 {
color: #00FFFF;
}
h1::after {
margin-top: 1rem;
content: "";
width: 100%;
display: block;
border-top: 3px dotted #00FFFF;
border-bottom: 3px dotted #00FFFF;
height: 8px;
box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 20px;
margin-bottom: 0px;
text-transform: capitalize;
}
h1+p:has(> i) {
font-size: smaller;
margin-top: 10px;
margin-top: 1rem;
color: #00FFFF;
}
p:has(> img)+p:has(> i) {
font-size: smaller;
margin-top: 0px;
}
.banner {
margin-top: 1rem;
width: 100%;
height: 40px;
display: flex;
flex-direction: row;
margin-bottom: 1rem;
align-items: center;
flex: 1;
font-family: monospace;
}
.banner {
.title {
display: flex;
flex-direction: row;
flex: 1;
.name {
color: #1c1b28;
background-color: #00FFFF;
white-space: nowrap;
padding: 5px;
a {
color: unset;
text-decoration: none;
}
}
}
.title::after {
background: repeating-linear-gradient(90deg, #00FFFF, #00FFFF 2px, transparent 0, transparent 10px);
content: "";
display: block;
width: 100%;
margin-left: 10px;
}
}
</style>
</head>
<body>
<div class="banner">
<div class="title">
<div class="name"><a href="/">Zackarias Montell</a></div>
</div>
</div>
{{markdown}}
</body>
</html>