add news to front page and move people to contact page
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user