Fixing a lot of mobile related bugs.

This commit is contained in:
Ad5001 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; font-size: 1.3em;
height: 3em; height: 3em;
position: absolute; position: absolute;
width: 100%; width: 100vw;
font-family: var(--light-font); font-family: var(--light-font);
.nav-flex { .nav-flex {

View file

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

View file

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