mirror of
https://gitlab.wasp.best/sel/web.git
synced 2026-07-30 00:48:40 +02:00
fix: site looked really bad on small screens
This commit is contained in:
parent
cccc55c306
commit
0c93e2cbe2
2 changed files with 11 additions and 5 deletions
|
|
@ -60,7 +60,6 @@ nav > div > a {
|
||||||
section.buttons-wrapper {
|
section.buttons-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
background-color: light-dark(#ebebef, #1A1A29);
|
background-color: light-dark(#ebebef, #1A1A29);
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|
@ -89,10 +88,15 @@ section {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content-wrapper {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
section.content {
|
section.content {
|
||||||
max-width: 60ch;
|
max-width: 60ch;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin: 0 auto;
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
section > div.buttons {
|
section > div.buttons {
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,11 @@
|
||||||
<p class="date"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
|
<p class="date"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<div class="content-wrapper">
|
||||||
<section class="content">
|
<section class="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue