fix: site looked really bad on small screens

This commit is contained in:
sel 2026-06-26 16:44:20 +02:00
parent cccc55c306
commit 0c93e2cbe2
Signed by: sel
SSH key fingerprint: SHA256:33R/4Rx5Lu4o81LyJyXdMrmP5CJ6j7j1Soo0Dn7mKc0
2 changed files with 11 additions and 5 deletions

View file

@ -60,7 +60,6 @@ nav > div > a {
section.buttons-wrapper {
display: flex;
flex-direction: column;
align-items: center;
background-color: light-dark(#ebebef, #1A1A29);
width: auto;
@ -89,10 +88,15 @@ section {
padding-bottom: 1rem;
}
.content-wrapper {
display: flex;
justify-content: center;
}
section.content {
max-width: 60ch;
border-bottom: none;
margin: 0 auto;
overflow-x: scroll;
}
section > div.buttons {

View file

@ -9,9 +9,11 @@
<p class="date"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
</section>
<section class="content">
{{ .Content }}
</section>
<div class="content-wrapper">
<section class="content">
{{ .Content }}
</section>
</div>
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }}