Add pictures to homepage

This commit is contained in:
Edgar P. Burkhart 2022-05-07 18:31:47 +02:00
parent 2b94c09c80
commit 9f352d5a16
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
7 changed files with 23 additions and 3 deletions

View file

@ -25,11 +25,10 @@ body {
padding: 1rem;
font-weight: 350;
font-feature-settings: "ss01", "ss02", "ss03", "cv05", "cv08";
column-width: 288px;
max-width: 1440px;
column-width: 18rem;
max-width: 90rem;
}
h1, h2, h3 {font-weight: 250}
h1 {
font-size: 3rem;
@ -86,6 +85,18 @@ ul {list-style-type: ""}
ol {list-style-type: decimal-leading-zero}
li {padding-left: .5rem}
.img-block {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: .2rem;
grid-auto-rows: auto;
}
.img-block > img {
width: 100%;
aspect-ratio: 1;
object-fit: cover;
}
footer {
background: var(--bg-01);
bottom: 0;