fix gamegrid width
This commit is contained in:
parent
454a245cca
commit
e28b87525d
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue