diff --git a/assets/sass/cards.scss b/assets/sass/cards.scss index f6e5d6f..05186d2 100644 --- a/assets/sass/cards.scss +++ b/assets/sass/cards.scss @@ -52,12 +52,6 @@ article.card { border-radius: 50%; } -img.small-image { - flex: 1 1 400px; - overflow: hidden; - max-width: 400px; -} - .article-link { text-decoration: none; color: $font-color; diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 2c77039..7d44222 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -78,11 +78,6 @@ main { flex-basis: 100%; } -.break { - flex-basis: 100%; - height: 0px; -} - a, p, li, h2 { font-size: 1.25rem; } @@ -94,23 +89,27 @@ img { img.featured { border-radius: 8px; max-height: 500px; + display: block; +} + +.margin { + margin: 12px auto; } .small-text { font-size: 1rem; } -.article-header { - display: flex; - justify-content: center; - align-items: center; - gap: 4px 8px; - flex-wrap: wrap; - h1 { - font-size: 2rem; - text-align: center; - flex-basis: 100%; - } +.large-text { + font-size: 2rem; +} + +.left-to-right { + display: flex; + flex-wrap: wrap; + gap: 8px; + justify-content: space-evenly; + align-items: end; } section { diff --git a/layouts/_default/meta-extra.html b/layouts/_default/meta-extra.html deleted file mode 100644 index 7fcdac1..0000000 --- a/layouts/_default/meta-extra.html +++ /dev/null @@ -1,2 +0,0 @@ -

{{ .Date.Format "Mon | Jan 2, 2006" }}

- diff --git a/layouts/authors/list.html b/layouts/authors/list.html index b0f461b..f0738d9 100644 --- a/layouts/authors/list.html +++ b/layouts/authors/list.html @@ -1,24 +1,20 @@ {{ define "main" }} -
-
- {{if not .IsHome }} +
+ {{ with .Resources.GetMatch "avatar" }} + {{ .Params.alt }} + {{ end }} + +

{{ .Params.name }}

-

{{ .Params.bio }}

+

{{ .Params.bio }}

Projects | {{ .Params.email}} +
-
- {{ with .Resources.GetMatch "avatar" }} - {{ .Params.alt }} - {{ end }} - - {{ end }} - -
-
+
diff --git a/layouts/games/meta-extra.html b/layouts/games/meta-extra.html index 94b4c6d..32bff1e 100644 --- a/layouts/games/meta-extra.html +++ b/layouts/games/meta-extra.html @@ -1,6 +1,7 @@ -{{ if .Params.releaseDate }} -

Released {{ dateFormat "Mon | Jan 2, 2006" .Params.releaseDate }}

+{{ with .Params.releaseDate }} +

Released: {{ dateFormat "Mon | Jan 2, 2006" . }}

{{ end }} -

Platforms:

+

Platforms: {{ delimit .Params.platforms " ยท " }} +

diff --git a/layouts/partials/article-meta.html b/layouts/partials/article-meta.html index 6e149ee..31d94e3 100644 --- a/layouts/partials/article-meta.html +++ b/layouts/partials/article-meta.html @@ -1,22 +1,25 @@ -
-

{{ .Title | markdownify }}

+
+

{{ .Title | markdownify }}

- {{- $authors := .Params.authors | default (slice .Site.Params.defaultAuthor) }} - {{- $primaryAuthor := index $authors 0 }} + {{ with .Params.authors }} + {{ $author := (index . 0) }} +

+ Author: {{ $author }} +

+ {{ end }} - {{ with $primaryAuthor }} - -

{{ . }}

-
+ {{ with .Date }} +

Posted: {{ .Format "Mon | Jan 2, 2006" }}

{{ end }} - {{ .Render "meta-extra" }} + {{ .Render "meta-extra" }} {{ range (.GetTerms "tags") }} - {{ .LinkTitle }} + + {{ .LinkTitle }} + {{ end }} {{ $image := (.Resources.GetMatch "featured") }} - {{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "shadow featured") }} - + {{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "shadow featured margin") }}