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;
|
||||
height: 3em;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
width: 100vw;
|
||||
font-family: var(--light-font);
|
||||
|
||||
.nav-flex {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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%);">
|
||||
{{ .Inner | markdownify }}
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue