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
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 19s
This commit is contained in:
parent
9d357003e7
commit
ce7c682ef5
@ -4,14 +4,14 @@
|
||||
{{ if .Params.Description }}
|
||||
<div class="container">
|
||||
<h5>{{ .Params.Description }}</h5>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.Thumbnail }}
|
||||
{{ if .Params.ContentThumbnail }}
|
||||
<a href="{{ .Params.Thumbnail }}">
|
||||
<img class="card-img" src="{{ .Params.Thumbnail }}">
|
||||
</a>
|
||||
{{ if .Params.Thumbnail }}
|
||||
{{ if .Params.ContentThumbnail }}
|
||||
<a href="{{ .Params.Thumbnail }}">
|
||||
<img class="card-img" src="{{ .Params.Thumbnail }}">
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="container">{{ .Content }}</div>
|
||||
{{ end }}
|
||||
|
@ -171,13 +171,17 @@ a:hover { color: #EAA221; }
|
||||
width: 80%;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
.feed-container .a .card-img {
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: transparent;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
padding: 1em;
|
||||
margin: 1em;
|
||||
max-width: 75%;
|
||||
max-width: 60%;
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user