add image support: eleventy-img plugin, hero images, responsive picture elements
All checks were successful
Deploy to S3 / deploy (push) Successful in 46s
All checks were successful
Deploy to S3 / deploy (push) Successful in 46s
This commit is contained in:
@@ -80,6 +80,27 @@ a:hover {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
/* images */
|
||||
|
||||
.column-hero {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.column-hero picture,
|
||||
.column-hero img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.column-body picture,
|
||||
.column-body img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.column-body {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user