Fixing a few visual bugs and translations.

This commit is contained in:
Ad5001 2021-08-02 20:06:46 +02:00
parent b64d1bdb6a
commit de13fe549a
No known key found for this signature in database
GPG Key ID: 9C87C7D3A69E6BBE
5 changed files with 35 additions and 10 deletions

View File

@ -82,14 +82,14 @@
a img {
width: Min(300px, calc(100% - 2em));
box-shadow: 0px 0px 2px 0px #000000;
box-shadow: 0px 0px 0px 0px #000000;
transition: box-shadow 0.15s ease-in-out, filter 0.15s ease-in-out;
border-radius: 1em;
border-radius: 0.5em;
filter: brightness(100%);
&:hover {
box-shadow: 0px 0px 8px 0px #000000;
filter: brightness(85%);
filter: brightness(90%);
}
}
}

View File

@ -58,6 +58,18 @@
},
"all": {
"other": "Without text"
},
"file": {
"other": "File:"
},
"websiteSource": {
"other": "Website source code"
},
"usingTheme": {
"other": "Using"
},
"poweredBy": {
"other": "Powered by"
}
}

View File

@ -58,6 +58,18 @@
},
"all": {
"other": "Sans texte"
},
"file": {
"other": "Fichier :"
},
"websiteSource": {
"other": "Code source du site"
},
"usingTheme": {
"other": "Utilise"
},
"poweredBy": {
"other": "Fonctionne avec"
}
}

View File

@ -116,21 +116,21 @@
<h3>{{ .Title }}</h3>
{{ if hasPrefix .Title "Flatpak" }}
<a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/flathub.svg"></img>
<img src="/img/badges/{{ $lang }}/flathub.svg"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }}
<a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/snapcraft.svg"></img>
<img src="/img/badges/{{ $lang }}/snapcraft.svg"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
{{ else if hasPrefix .Title "Firefox" }}
<a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/amo.svg"></img>
<img src="/img/badges/{{ $lang }}/amo.svg"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
{{ else }}
File: {{ replace .Name "<version>" $appdata.version }}<br>
{{ i18n "file" }} {{ replace .Name "<version>" $appdata.version }}<br>
<a href="{{ replace .URL "<version>" $appdata.version }}" class="primary" role="button">
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
</a>

View File

@ -10,12 +10,13 @@
</div>
<div class="text-center col3">
<br>
{{ .Site.Copyright }}
{{ .Site.Copyright }}<br>
<a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a><br>
</div>
<div class="col3 text-right padding-container-1">
<br>
{{ .Site.Params.usingTheme }} <a href="/omegamma">Omegamma</a><br>
{{ .Site.Params.poweredBy }} <a href="https://gohugo.io">Hugo</a>
{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a><br>
{{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a>
</div>
</div>
<br>