Fixing a lot of mobile related bugs.

This commit is contained in:
Adsooi 2021-08-03 15:34:16 +02:00
parent 29770627da
commit 6067077580
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
5 changed files with 8 additions and 10 deletions

View file

@ -20,7 +20,7 @@ nav {
font-size: 1.3em;
height: 3em;
position: absolute;
width: 100%;
width: 100vw;
font-family: var(--light-font);
.nav-flex {

View file

@ -3,9 +3,7 @@
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{ .Content }}
</div>
<div id="content">{{ .Content }}</div>
{{- partial "footer.html" . -}}
</body>
</html>

View file

@ -1,15 +1,12 @@
<section style="background-image: url({{ .Image }});" class="section1">
<div class="columns-container">
<div class="column">
<div class="column col2">
<br>
<br>
<br>
{{ .Content | safeHTML }}
<br>
</div>
<div class="column">
</div>
</div>
<div class="section-end-triangle"></div>
</section>

View file

@ -1 +1,5 @@
{{ partial "section1.html" (dict "Image" (.Get 0) "Content" (.Inner | markdownify) ) }}
<section style="background-image: url({{ .Get 0 }});" class="section1">
<br><br><br>
{{ .Inner | markdownify }}
<br><br>
</section>

View file

@ -1,4 +1,3 @@
<section class="section-skewed padding-container-3" style="background: {{ .Get 1 | safeCSS }}; background: linear-gradient(170deg, {{ .Get 1 | safeCSS }} 0%, {{ .Get 0 | safeCSS }} 49%, {{ .Get 1 | safeCSS }} 100%);">
{{ .Inner | markdownify }}
</section>