adjust featured post wrapping b/w 48-64rem
This commit is contained in:
parent
a47492aa60
commit
161bcd3cf4
File diff suppressed because one or more lines are too long
@ -89,12 +89,12 @@ html:not([data-theme]) {
|
||||
|
||||
/* center hero images */
|
||||
@media only screen and (min-width: 48rem) {
|
||||
.m-hero__picture img {
|
||||
.headroom + main .m-hero__picture img {
|
||||
margin-top: 67px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 48rem) {
|
||||
.m-hero__picture img {
|
||||
.headroom + main .m-hero__picture img {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
@ -153,7 +153,7 @@ html:not([data-theme]) {
|
||||
.m-article-card__info .m-article-card__info-link {
|
||||
padding-top: 25px !important;
|
||||
}
|
||||
@media only screen and (min-width: 48rem) {
|
||||
@media only screen and (min-width: 64rem) {
|
||||
.l-grid > :nth-child(3n of .m-article-card):last-child {
|
||||
width: calc(66.66666% - 40px);
|
||||
}
|
||||
@ -161,10 +161,10 @@ html:not([data-theme]) {
|
||||
width: 100%;
|
||||
}
|
||||
.l-post-content + .l-grid.centered {
|
||||
margin: 0 calc(50% - 430px);
|
||||
margin: 0 max(calc(50% - 430px), 0px);
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 35.5rem) and (max-width: 48rem) {
|
||||
@media only screen and (min-width: 35.5rem) and (max-width: 64rem) {
|
||||
.l-grid > :nth-child(2n + 1 of .m-article-card):last-child {
|
||||
width: 100%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user