Styled note template

Fixed link regex
Fixed pre width

Squashed commit of the following:

commit 20038e290a
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 20:55:21 2025 +0200

    Fix width of pre element

commit 52b49e18a2
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:59:36 2025 +0200

    Fix link regexp

commit 5036b3bca6
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:53:00 2025 +0200

    Changed font size

commit 5063c088eb
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:52:22 2025 +0200

    Fixed margins

commit acd6ed63e1
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:51:03 2025 +0200

    Add leading space to links

commit 8b3c7871ab
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:50:38 2025 +0200

    Add color to links

commit 2658d688ca
Author: wholteza <zackarias@montell.se>
Date:   Sat Sep 20 18:45:49 2025 +0200

    Fixed reloading of browser when developing

commit 03e2361798
Author: wholteza <zackarias@montell.se>
Date:   Fri Sep 19 21:45:40 2025 +0200

    Change header line height

commit a1f6994c02
Author: wholteza <zackarias@montell.se>
Date:   Fri Sep 19 21:42:08 2025 +0200

    Align note with index
This commit is contained in:
2025-09-20 20:57:17 +02:00
parent 07aea5f47a
commit 63a240a8fe
8 changed files with 1412 additions and 734 deletions

View File

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

View File

@@ -7,8 +7,7 @@
<title>Document</title>
<style>
html {
font-family: Arial, sans-serif;
font-size: 17px;
font-size: 18px;
line-height: 26px;
display: flex;
justify-content: center;
@@ -98,25 +97,32 @@
font-family: monospace;
}
.banner .title {
display: flex;
flex-direction: row;
flex: 1;
}
.banner {
.title {
display: flex;
flex-direction: row;
flex: 1;
.banner .title::after {
background: repeating-linear-gradient(90deg, #00FFFF, #00FFFF 2px, transparent 0, transparent 10px);
content: "";
display: block;
width: 100%;
margin-left: 10px;
}
.name {
color: #1c1b28;
background-color: #00FFFF;
white-space: nowrap;
padding: 5px;
.banner .title .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>
@@ -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,146 @@
<!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: 18px;
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;
flex: 1;
}
pre {
box-sizing: border-box;
border: 1px solid #00FFFF;
padding: 1rem;
width: fit-content;
max-width: 100%;
white-space: normal;
}
img {
max-width: 100%;
border-radius: 8px;
border-radius: 4px;
}
p{
margin: 20px;
p {
margin-top: 20px;
margin-bottom: 0px;
}
h1, h2, h3, h4, h5, h6 {
margin: 20px;
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-top: 20px;
margin-bottom: 0px;
text-transform: capitalize;
line-height: 32px;
}
h1 + p:has(> i) {
font-size: smaller;
margin-top: 10px;
h1+p:has(> i) {
margin-top: 1rem;
color: #00FFFF;
}
p:has(> img) + p:has(> i) {
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;
}
}
a {
color: #00FFFF;
}
.content {
display: flex;
flex-direction: column;
flex: 1;
}
</style>
</head>
<body>
<div class="banner">
<div class="title">
<div class="name"><a href="/">Zackarias Montell</a></div>
</div>
</div>
{{markdown}}
</body>
</html>
</html>