.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-29 16:16:22 +01:00
parent 2adfde9da6
commit 28396c3c8b
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 41 additions and 41 deletions

View File

@ -140,11 +140,47 @@ main{
box-sizing: content-box; box-sizing: content-box;
background-color: transparent; background-color: transparent;
} }
.flex-col{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-content: center;
align-content: center;
width: 100%;
}
.item-table > div{ .item-table > div{
display: table-row; display: table-row;
background-color: transparent; background-color: transparent;
box-sizing: inherit; box-sizing: inherit;
} }
.flex-row, .item-table > div{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
justify-content: center;
}
.item-table > div > div > div{ .item-table > div > div > div{
padding: 2px; padding: 2px;
} }
@ -207,39 +243,3 @@ main{
display: none; display: none;
} }
} }
.flex-col{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-content: center;
align-content: center;
width: 100%;
}
.flex-row{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
justify-content: center;
}

View File

@ -88,7 +88,7 @@
<main class="main-box flex-col"> <main class="main-box flex-col">
<div> <div>
<div class="item-table flex-col"> <div class="item-table flex-col">
<div class="flex-row"> <div>
<div class="item-table-full"> <div class="item-table-full">
<div class="centered"><h1>{{ .Data.About.Title }}</h1></div> <div class="centered"><h1>{{ .Data.About.Title }}</h1></div>
</div> </div>
@ -96,7 +96,7 @@
<div class="centered"><h4>Email: <a href="mailto:{{ .Data.About.ContactEmail }}">{{ .Data.About.ContactEmail }}</a></h4></div> <div class="centered"><h4>Email: <a href="mailto:{{ .Data.About.ContactEmail }}">{{ .Data.About.ContactEmail }}</a></h4></div>
</div> </div>
</div> </div>
<div class="flex-row"> <div>
<div class="item-table-full"> <div class="item-table-full">
<div class="content">{{ .Data.About.GetContent }}</div> <div class="content">{{ .Data.About.GetContent }}</div>
</div> </div>
@ -109,7 +109,7 @@
{{ range .GetEntries }} {{ range .GetEntries }}
<div> <div>
<div class="item-table flex-col"> <div class="item-table flex-col">
<div class="flex-row"> <div>
<div class="item-table-full"> <div class="item-table-full">
<div class="centered"><h1>{{ .Name }}</h1></div> <div class="centered"><h1>{{ .Name }}</h1></div>
</div> </div>
@ -121,7 +121,7 @@
{{ end }} {{ end }}
</div> </div>
</div> </div>
<div class="flex-row"> <div>
<div class="item-table-full"> <div class="item-table-full">
<div class="content">{{ .GetContent }}</div> <div class="content">{{ .GetContent }}</div>
</div> </div>
@ -139,7 +139,7 @@
</div> </div>
</div> </div>
{{ if not (eq .GetImageCount 0) }} {{ if not (eq .GetImageCount 0) }}
<div class="item-table-caption flex-row"> <div class="item-table-caption">
<div class="image-box flex-row"> <div class="image-box flex-row">
{{ range .GetImages }} {{ range .GetImages }}
<a href="{{ .ImageLocation }}"><img src="{{ .ThumbnailLocation }}" alt="{{ .ImageAltText }}" title="{{ .ImageAltText }}" width="240px"></a> <a href="{{ .ImageLocation }}"><img src="{{ .ThumbnailLocation }}" alt="{{ .ImageAltText }}" title="{{ .ImageAltText }}" width="240px"></a>