fix gamegrid width
This commit is contained in:
parent
454a245cca
commit
e28b87525d
|
@ -6,6 +6,9 @@
|
||||||
column-gap: 1em
|
column-gap: 1em
|
||||||
row-gap: 1.2em
|
row-gap: 1.2em
|
||||||
|
|
||||||
|
h4
|
||||||
|
margin-bottom: 0
|
||||||
|
|
||||||
*
|
*
|
||||||
margin-block-start: 0.6rem
|
margin-block-start: 0.6rem
|
||||||
|
|
||||||
|
@ -13,6 +16,7 @@
|
||||||
max-inline-size: 100%
|
max-inline-size: 100%
|
||||||
block-size: auto
|
block-size: auto
|
||||||
height: 30vh
|
height: 30vh
|
||||||
|
min-width: 100%
|
||||||
object-fit: cover
|
object-fit: cover
|
||||||
|
|
||||||
p
|
p
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<article>
|
<article>
|
||||||
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon">
|
<a href="{{ .Permalink }}">
|
||||||
{{ $thumb := "/img/logo.png" | absURL }}
|
{{ $thumb := "/img/logo.png" | absURL }}
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }}
|
||||||
{{ $thumb = .Params.image | absURL }}
|
{{ $thumb = .Params.image | absURL }}
|
||||||
|
@ -23,7 +23,9 @@
|
||||||
</a>
|
</a>
|
||||||
<h4><a href="{{ .Permalink }}" class="name">{{ .Params.game_name }}</a></h4>
|
<h4><a href="{{ .Permalink }}" class="name">{{ .Params.game_name }}</a></h4>
|
||||||
<div>
|
<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>
|
<p>
|
||||||
{{ .Params.game_developer }} (<span class="year">{{ .Params.game_release_year }}</span>)<br/>
|
{{ .Params.game_developer }} (<span class="year">{{ .Params.game_release_year }}</span>)<br/>
|
||||||
{{ with .Params.howlongtobeat_hrs }}
|
{{ with .Params.howlongtobeat_hrs }}
|
||||||
|
|
Loading…
Reference in New Issue