add news to front page and move people to contact page

This commit is contained in:
elisejakob
2024-05-13 02:13:03 +02:00
parent 29cff800db
commit 80421b537a
6 changed files with 86 additions and 18 deletions

View File

@ -1,9 +1,18 @@
.newsWrapper {
background: var(--color-background-secondary);
margin: 0 calc(var(--spacing-sitepadding)*-1);
padding: var(--spacing-sitepadding);
h2 {
margin-bottom: 1rem;
}
}
.newsList {
display: grid;
grid-template-columns: repeat(12, 1fr);
column-gap: var(--spacing-gap-column);
row-gap: var(--spacing-gap-row);
padding-bottom: var(--spacing-section-bottom);
li {
grid-column: span 3;
@ -31,4 +40,17 @@
}
}
}
&.featured {
li {
&:nth-child(1),
&:nth-child(2),
&:nth-child(3),
&:nth-child(4),
&:nth-child(5) {
grid-column: span 4;
}
}
}
}