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

This commit is contained in:
Captain ALM 2022-07-27 17:34:49 +01:00
parent 049d5e332a
commit 845105d8e6
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
4 changed files with 17 additions and 10 deletions

View File

@ -17,7 +17,9 @@ main{
text-align: center;
}
.content > p{
word-break: break-all;
word-break: break-word;
-ms-word-wrap: break-word;
word-wrap: break-word;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

View File

@ -18,7 +18,9 @@
text-align: left;
border: black 1px solid;
border-collapse: collapse;
word-break: break-all;
word-break: break-word;
-ms-word-wrap: break-word;
word-wrap: break-word;
}
table, td {
background-color: lightgray;

View File

@ -16,14 +16,14 @@
<body>
<header class="header">
{{ if .Light }}
<a href="?light" class="home-button no-dec"><div><b>&#8962;</b></div></a>
<a href="?{{ .Parameters }}" class="home-button no-dec"><div><b>&#9790;</b></div></a>
<a href="?light" class="home-button no-dec"><div><img src="{{ .Data.LogoImageLocation }}" width="64px" alt="&#8962;"></div></a>
<a href="?{{ .Parameters }}" class="home-button no-dec"><div><img src="{{ .Data.MoonImageLocation }}" width="64px" alt='{{ "{" }}'></div></a>
{{ else }}
<a href="?" class="home-button no-dec"><div><b>&#8962;</b></div></a>
<a href="?" class="home-button no-dec"><div><img src="{{ .Data.LogoImageLocation }}" width="64px" alt="&#8962;"></div></a>
{{ if eq .Parameters "" }}
<a href="?light" class="home-button no-dec"><div><b>&#9737;</b></div></a>
<a href="?light" class="home-button no-dec"><div><img src="{{ .Data.SunImageLocation }}" width="64px" alt='()'></div></a>
{{ else }}
<a href="?light&{{ .Parameters }}" class="home-button no-dec"><div><b>&#9737;</b></div></a>
<a href="?light&{{ .Parameters }}" class="home-button no-dec"><div><img src="{{ .Data.SunImageLocation }}" width="64px" alt='()'></div></a>
{{ end }}
{{ end }}
<input class="sort-menu" type="checkbox" id="sort-menu"/>
@ -81,9 +81,9 @@
<div class="item-table-360">
<div>
{{ if eq .VideoLocation "" }}
<img src="{{ $.Data.NoVideoImageLocation }}" alt="No Video" width="360">
<img src="{{ $.Data.NoVideoImageLocation }}" alt="No Video" width="360px">
{{ else }}
<video controls width="360">
<video controls width="360px">
<source src="{{ .VideoLocation }}" type="{{ .VideoContentType }}">
<a href="{{ .VideoLocation }}">The Video</a>
</video>
@ -95,7 +95,7 @@
<div class="item-table-caption">
<div class="image-box">
{{ range .GetImages }}
<a href="{{ .ImageLocation }}"><img src="{{ .ThumbnailLocation }}" alt="{{ .ImageAltText }}" width="240"></a>
<a href="{{ .ImageLocation }}"><img src="{{ .ThumbnailLocation }}" alt="{{ .ImageAltText }}" width="240px"></a>
{{ end }}
</div>
</div>

View File

@ -9,6 +9,9 @@ type DataYaml struct {
CSSDarkURL template.URL `yaml:"cssDarkURL"`
JScriptURL template.URL `yaml:"jScriptURL"`
NoVideoImageLocation template.URL `yaml:"noVideoImageLocation"`
LogoImageLocation template.URL `yaml:"logoImageLocation"`
SunImageLocation template.URL `yaml:"sunImageLocation"`
MoonImageLocation template.URL `yaml:"moonImageLocation"`
About AboutYaml `yaml:"about"`
Entries []EntryYaml `yaml:"entries"`
}