Previously, the entire main content was fitted inside one element. Now, each section and container handle their own paddings and margins. This allows for more flexibility as to how each container can be styled.
17 lines
404 B
SCSS
17 lines
404 B
SCSS
.page-header {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 2rem 1rem;
|
|
max-width: var(--page--max-width);
|
|
text-align: center;
|
|
h1 {
|
|
margin-top: 0;
|
|
background: -webkit-linear-gradient(45deg, var(--color-red), var(--color-blue));
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.subheading {
|
|
font-style: italic;
|
|
}
|
|
}
|