Compare commits

...

4 commits

3 changed files with 15 additions and 15 deletions

2
.gitignore vendored
View file

@ -6,5 +6,5 @@
public public
resources resources
# from docker build # From docker build
_site _site

View file

@ -44,8 +44,8 @@
/* Variables */ /* Variables */
:root { :root {
--base-grid : 60px; --base-grid : 40px;
--base-font-size : 22px; --base-font-size : 20px;
--text-color : #4b3aba; --text-color : #4b3aba;
--bg-color : #fff; --bg-color : #fff;
@ -186,7 +186,7 @@ aside nav footer ol li a {
aside header a img { aside header a img {
display : block; display : block;
width : 100%; width : auto;
height : 140px; height : 140px;
} }
@ -204,6 +204,10 @@ aside > footer img:hover {
opacity : 1; opacity : 1;
} }
.badge-icon {
width: 30px;
height: auto;
}
dl.dl-services { dl.dl-services {
display : grid; display : grid;

View file

@ -1,26 +1,22 @@
<h2>{{ i18n "badges_headline" }}</h2> <h2>{{ i18n "badges_headline" }}</h2>
<dl class="dl-badges">
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }} {{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
<dt>{{ title .name }}</dt> <h3>
{{ title .name }}
<img src="{{ "/static/img" | absURL }}/badges/{{ .icon }}" class="badge-icon">
</h3>
<dd>{{ markdownify .description }}</dd> {{ markdownify .description }}
{{ end }} {{ end }}
</dl>
<h2>{{ i18n "status_headline" }}</h2> <h2>{{ i18n "status_headline" }}</h2>
<dl class="dl-status">
{{ range $.Site.Data.badges.da.status.status }} {{ range $.Site.Data.badges.da.status.status }}
<dt>{{ title .name }}</dt> <h3>{{ title .name }}</h3>
<dd>{{ markdownify .description }}</dd> {{ markdownify .description }}
{{ end }} {{ end }}
</dl>