fix gamegrid width

This commit is contained in:
Wouter Groeneveld 2022-12-03 15:21:24 +01:00
parent 454a245cca
commit e28b87525d
2 changed files with 8 additions and 2 deletions

View File

@ -6,6 +6,9 @@
column-gap: 1em
row-gap: 1.2em
h4
margin-bottom: 0
*
margin-block-start: 0.6rem
@ -13,6 +16,7 @@
max-inline-size: 100%
block-size: auto
height: 30vh
min-width: 100%
object-fit: cover
p

View File

@ -1,5 +1,5 @@
<article>
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon">
<a href="{{ .Permalink }}">
{{ $thumb := "/img/logo.png" | absURL }}
{{ if .Params.image }}
{{ $thumb = .Params.image | absURL }}
@ -23,7 +23,9 @@
</a>
<h4><a href="{{ .Permalink }}" class="name">{{ .Params.game_name }}</a></h4>
<div>
<time datetime='{{ .Date.Format "2006-01-02" }}' class="date" title="Created Date">{{ .Date.Format "2006-01-02" }}</time>
<time datetime='{{ .Date.Format "2006-01-02" }}' class="date" title="Created Date">
{{ .Date.Format "2006-01-02" }}
</time>
<p>
{{ .Params.game_developer }} (<span class="year">{{ .Params.game_release_year }}</span>)<br/>
{{ with .Params.howlongtobeat_hrs }}