drupal/core/themes/olivero/css/components/hero.css

77 lines
1.0 KiB
CSS
Raw Normal View History

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Main Hero.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.hero__content {
grid-column: 1 / 7
}
@media (min-width: 43.75rem) {
.hero__content { /* 700px */
grid-column: 3 / 13
}
}
@media (min-width: 62.5rem) {
.hero__content {
grid-column: 3 / 11
}
}
.hero__img {
grid-column: 1 / 7;
margin-top: var(--sp2);
margin-bottom: var(--sp2)
}
.hero__img img {
width: 100%;
}
@media (min-width: 31.25rem) {
.hero__img {
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
}
@media (min-width: 43.75rem) {
.hero__img {
grid-column: 1 / 15;
margin-top: var(--sp4);
margin-bottom: var(--sp4)
}
}
@media (min-width: 62.5rem) {
.hero__img {
grid-column: 2 / 14
}
}