styles: fix content height

This commit is contained in:
SerKo 2022-05-10 14:06:38 +08:00
parent 3ecaf6bbc1
commit 98abc546e5
2 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
<body class="bg:fade-84@dark font:fade-16@dark"> <body class="bg:fade-84@dark font:fade-16@dark">
{{ partial "header.html" . -}} {{ partial "header.html" . -}}
<div class="d:flex flex:column@<=sm pt:90 px:32 jc:center gap:44"> <div class="d:flex flex:column@<=sm pt:90 px:24 jc:center gap:44">
{{- block "side" . }}{{- end }} {{- block "side" . }}{{- end }}
<div class="max-w:700 w:700 box:content-box"> <div class="max-w:700 w:full box:content-box">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</div> </div>

View File

@ -1,4 +1,4 @@
<footer class="py:32"> <footer class="py:24">
<div class="f:fade-30 f:14 mb:8">{{ .Site.Params.copyright }}</div> <div class="f:fade-30 f:14 mb:8">{{ .Site.Params.copyright }}</div>
<div class="f:fade-60 f:12">Theme <a class="f:bold" href="https://github.com/serkodev/holy" _target="_blank">Holy</a></div> <div class="f:fade-60 f:12">Theme <a class="f:bold" href="https://github.com/serkodev/holy" _target="_blank">Holy</a></div>
</footer> </footer>