...fixed column gap on mobile (padding was bad)

master
Quentin Duchemin 2022-11-07 02:05:58 +01:00
parent 87b0f5b3ba
commit 43a5d7e6c8
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@
with all other blog posts belonging to that case, emphasis to the current.
Still use empty container if nothing to show for homogeneous layout
-->
<div class="columns">
<aside class="menu column mt-2 pr-6 is-one-quarter">
<div class="columns is-variable is-8">
<aside class="menu column mt-2 is-one-quarter">
{{ if (and .IsPage (eq .FirstSection.Section "posts"))}}
{{ with .CurrentSection }}
{{ if .Params.Title }}

View File

@ -30,9 +30,9 @@
</div>
<div class="hero-body {{ if not $background }}pb-0{{ end }} container has-text-centered">
<p class="title is-size-1-desktop is-size-2-mobile is-uppercase">{{ .Title }}</p>
<p class="title is-size-1-desktop is-size-3-mobile is-uppercase">{{ .Title }}</p>
{{ with .Params.subtitle }}
<p class="subtitle is-size-2-desktop is-size-4-mobile">{{ . }}</p>
<p class="mt-5 subtitle is-size-2-desktop is-size-5-mobile">{{ . }}</p>
{{ end }}
</div>
<!-- Words and date stuff makes sens only for blog posts, not other pages -->