FIX image selection?
This commit is contained in:
parent
59b2196395
commit
a841050e84
2 changed files with 3 additions and 3 deletions
|
@ -469,13 +469,13 @@ main > .content {
|
||||||
/* Images */
|
/* Images */
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 3px solid {{ .Site.Params.color.primary }};
|
border: 3px solid {{ .Site.Params.color.primary }};
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
|
|
@ -9,7 +9,7 @@ hero:
|
||||||
url: string
|
url: string
|
||||||
content: string
|
content: string
|
||||||
-->
|
-->
|
||||||
<div id="{{ .id }}" class="section {{if eq .odd 0}} section-even {{end}} row">
|
<div id="{{ .id }}" class="section {{if eq .odd 0}} even {{end}} row">
|
||||||
<div class="content hero">
|
<div class="content hero">
|
||||||
{{ with .hero }}
|
{{ with .hero }}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
Loading…
Reference in a new issue