48 lines
887 B
CSS
48 lines
887 B
CSS
.title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.title h1 {
|
|
font-size: 3rem;
|
|
font-weight: 300;
|
|
text-align: center;
|
|
margin: 0 2rem 2rem 2rem;
|
|
}
|
|
.title img {
|
|
width: 100%;
|
|
}
|
|
.content {
|
|
padding: 2rem 2rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.alternating-background-container > :nth-child(2n-1) {
|
|
background-color: var(--primary-alternating-color);
|
|
}
|
|
.alternating-background-container > :nth-child(2n) {
|
|
background-color: var(--secondary-alternating-color);
|
|
}
|
|
.alternating-background-container > div {
|
|
padding: 2rem 0;
|
|
}
|
|
.alternating-primary-brown {
|
|
--primary-alternating-color: rgba(var(--brown), .21);
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.title {
|
|
flex-direction: row;
|
|
}
|
|
.title-reverse {
|
|
flex-direction: row-reverse;
|
|
}
|
|
.title > div {
|
|
width: 50%;
|
|
}
|
|
.content {
|
|
padding: 0 2rem;
|
|
}
|
|
.alternating-background-container > div {
|
|
padding: 4rem 0;
|
|
}
|
|
} |