Fixing a lot of mobile related bugs.
This commit is contained in:
parent
29770627da
commit
6067077580
5 changed files with 8 additions and 10 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue