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_ _2025-02-03 - 5 minute read_

View File

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

View File

@@ -1,56 +1,132 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <title>Document</title>
<style> <style>
html { html {
font-family: Arial, sans-serif; font-family: monospace;
font-size: 1.3em; font-size: 17px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
line-height: 26px;
flex-direction: column; flex-direction: column;
} }
@media screen and (max-width: 800px) {
html {
font-size: 0.9em;
}
}
body { body {
max-width: 800px; max-width: 800px;
color: #fbfbfe; color: #fbfbfe;
background-color: #1c1b22; background-color: #1c1b28;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
pre {
box-sizing: border-box;
border: 1px solid #00FFFF;
padding: 1rem;
}
img { img {
max-width: 100%; max-width: 100%;
border-radius: 8px; border-radius: 4px;
} }
p { p {
margin: 20px; margin: 20px;
margin-top: 20px; margin-top: 20px;
margin-bottom: 0px; 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: 20px;
margin-bottom: 0px; margin-bottom: 0px;
text-transform: capitalize; text-transform: capitalize;
} }
h1+p:has(> i) { h1+p:has(> i) {
font-size: smaller; margin-top: 1rem;
margin-top: 10px; color: #00FFFF;
} }
p:has(> img)+p:has(> i) { p:has(> img)+p:has(> i) {
font-size: smaller; font-size: smaller;
margin-top: 0px; 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> </style>
</head> </head>
<body> <body>
<div class="banner">
<div class="title">
<div class="name"><a href="/">Zackarias Montell</a></div>
</div>
</div>
{{markdown}} {{markdown}}
</body> </body>
</html> </html>