Add positioning styles for below-site-header-outlet
- Set margin: 2em auto for below-site-header-outlet - Apply max-width using sidebar and content width variables - Add 20px horizontal margin to hero-section in below_header position - Remove redundant max-width rule from welcome-card media query
This commit is contained in:
parent
f83ed8a616
commit
a1ea8ebe83
1 changed files with 9 additions and 4 deletions
|
|
@ -24,16 +24,17 @@
|
|||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.below-site-header-outlet {
|
||||
margin: 2em auto;
|
||||
max-width: calc(var(--d-sidebar-width) + var(--d-max-width));
|
||||
}
|
||||
|
||||
@media (min-width: 800px) {
|
||||
.welcome-card {
|
||||
max-width: 1500px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.below-site-header-outlet .welcome-card {
|
||||
max-width: calc(var(--d-sidebar-width, 0px) + var(--d-max-width, 1110px));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 769px) {
|
||||
|
|
@ -56,6 +57,10 @@
|
|||
color: #fff;
|
||||
background: var(--page-bg);
|
||||
}
|
||||
|
||||
.below-site-header-outlet .hero-section {
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 1100px) {
|
||||
.hero-section {
|
||||
|
|
|
|||
Loading…
Reference in a new issue