new blog post!!! also some small tweaks to css

This commit is contained in:
sel 2026-06-25 21:17:11 +02:00
parent 395eaf1333
commit 7606669394
Signed by: sel
SSH key fingerprint: SHA256:33R/4Rx5Lu4o81LyJyXdMrmP5CJ6j7j1Soo0Dn7mKc0
17 changed files with 239 additions and 9 deletions

View file

@ -76,6 +76,10 @@ section.full-height {
min-height: calc(100vh - 4rem);
}
section.full-height > p {
max-width: 60ch;
}
section {
border-bottom: 1px solid light-dark(#bcc0cc, #313244);
@ -85,8 +89,10 @@ section {
padding-bottom: 1rem;
}
section > p {
section.content {
max-width: 60ch;
border-bottom: none;
margin: 0 auto;
}
section > div.buttons {
@ -117,10 +123,6 @@ main > :first-child {
padding-top: 4rem;
}
main > :first-child.highlighted {
text-align: center;
}
main > :first-child.highlighted > p {
max-width: 100%;
}
@ -156,6 +158,11 @@ small {
color: light-dark(#6c6f85, #a6adc8)
}
img {
max-width: 100%;
border-radius: 0.25rem;
}
table {
width: 100%;
border: 1px solid light-dark(#bcc0cc, #313244);
@ -211,3 +218,7 @@ li {
.tag {
text-decoration: none;
}
h1 {
font-size: 2rem;
}

View file

@ -2,12 +2,14 @@
<section class="highlighted">
<h1>{{ .Title }}</h1>
<p>{{ .Summary }}</p>
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format "2006-01-02, 15:04 -07:00" }}
<p class="date"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
</section>
<section>
<section class="content">
{{ .Content }}
</section>