Display fixes
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="featuredimage w-400">
|
||||
{{ $img := resources.Get .Site.Params.FeaturedImage }}
|
||||
<img class="w-600" style="margin-top: -100px" src="{{ $img.Permalink }}">
|
||||
<img class="h-600" style="margin-top: -100px" src="{{ $img.Permalink }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-primary reverse w-full">
|
||||
@@ -35,18 +35,20 @@
|
||||
</div>
|
||||
<div class="p-30">
|
||||
<h1 class="container ta-c brandblue">{{ .Site.Params.Section3.Title }}</h1>
|
||||
<div class="container flex-row wrap j-center">
|
||||
{{ range .Site.Params.Section3.List }}
|
||||
<div class="container flex-row ai-center {{ if (eq .side "right") }} direction-row-reverse{{end}}">
|
||||
<div class="container min-w-400 max-w-400 m-20 flex-1 flex-row ai-center {{ if (eq .side "right") }} direction-row-reverse{{end}}">
|
||||
<div class="bg-{{.color}} bg-bubble icon-bubble w-75 h-75 m-20">
|
||||
{{ $icon := resources.Get ( print "images/icons/" .icon ".svg") }}
|
||||
<img src="{{ $icon.Permalink }}" />
|
||||
</div>
|
||||
<div class="flex-1 max-w-500">
|
||||
<h3 class="m-b-0 {{.color}} {{ if (eq .side "right") }} ta-r{{end}}">{{.title}}</h3>
|
||||
<div class="flex-1">
|
||||
<h2 class="m-b-0 {{.color}} {{ if (eq .side "right") }} ta-r{{end}}">{{.title}}</h2>
|
||||
<p class="m-t-0 ta-j">{{.description}}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-secondary p-20" id="section4">
|
||||
<h1 class="container ta-c white p-20">{{ .Site.Params.Section4.Title }}</h1>
|
||||
|
||||
Reference in New Issue
Block a user