Compare commits

...

2 Commits

Author SHA1 Message Date
ce7c682ef5 Fixing the sizing on images in feeds and posts
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 19s
2024-10-07 16:22:06 -07:00
9d357003e7 Updating git link 2024-09-30 16:15:14 -07:00
3 changed files with 13 additions and 9 deletions

View File

@ -10,7 +10,7 @@ Params:
description: I like to make stuff description: I like to make stuff
name: temper.tv name: temper.tv
twitch: https://twitch.tv/shockrah twitch: https://twitch.tv/shockrah
gitlab: https://gitlab.com/shockrah gitlab: https://git.shockrah.xyz/shockrah
github: https://github.com/tempersama github: https://github.com/tempersama
mastodon: https://mastodon.social/@tempertv mastodon: https://mastodon.social/@tempertv

View File

@ -4,14 +4,14 @@
{{ if .Params.Description }} {{ if .Params.Description }}
<div class="container"> <div class="container">
<h5>{{ .Params.Description }}</h5> <h5>{{ .Params.Description }}</h5>
</div> {{ if .Params.Thumbnail }}
{{ end }} {{ if .Params.ContentThumbnail }}
{{ if .Params.Thumbnail }} <a href="{{ .Params.Thumbnail }}">
{{ if .Params.ContentThumbnail }} <img class="card-img" src="{{ .Params.Thumbnail }}">
<a href="{{ .Params.Thumbnail }}"> </a>
<img class="card-img" src="{{ .Params.Thumbnail }}"> {{ end }}
</a>
{{ end }} {{ end }}
</div>
{{ end }} {{ end }}
<div class="container">{{ .Content }}</div> <div class="container">{{ .Content }}</div>
{{ end }} {{ end }}

View File

@ -171,13 +171,17 @@ a:hover { color: #EAA221; }
width: 80%; width: 80%;
padding-bottom: 1em; padding-bottom: 1em;
} }
.feed-container .a .card-img {
max-width: 60%;
}
.card { .card {
background-color: transparent; background-color: transparent;
border-style: solid; border-style: solid;
border-width: 3px; border-width: 3px;
padding: 1em; padding: 1em;
margin: 1em; margin: 1em;
max-width: 75%; max-width: 60%;
min-width: 250px; min-width: 250px;
} }