layout-footer.css in Drupal 10
Same filename and directory in other branches
Grid system definition for the footer top and footer bottom layouts.
File
core/themes/olivero/css/layout/layout-footer.cssView source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Grid system definition for the footer top and footer bottom layouts.
- */
-
- /*
- * 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. */
-
- /**
- * Creates stacking context ensuring that child elements can never appear in
- * front of mobile navigation.
- */
-
- .site-footer {
- position: relative;
- z-index: 1;
- }
-
- .site-footer__inner {
- padding-top: var(--sp2);
- padding-bottom: var(--sp2)
- }
-
- @media (min-width: 75rem) {
-
- .site-footer__inner {
- padding-top: var(--sp4);
- padding-bottom: calc(13 * var(--sp))
- }
- }
-
- .region--footer_top__inner > *, .region--footer_bottom__inner > * {
- margin-bottom: var(--sp2)
- }
-
- @media (min-width: 43.75rem) {
-
- .region--footer_top__inner > *, .region--footer_bottom__inner > * {
- flex: 1;
- margin-bottom: 0
- }
-
- [dir="ltr"] .region--footer_top__inner > *:not(:last-child),[dir="ltr"] .region--footer_bottom__inner > *:not(:last-child) {
- margin-right: var(--sp2);
- }
-
- [dir="rtl"] .region--footer_top__inner > *:not(:last-child),[dir="rtl"] .region--footer_bottom__inner > *:not(:last-child) {
- margin-left: var(--sp2);
- }
- }
-
- @media (min-width: 43.75rem) {
-
- .region--footer_top__inner,
- .region--footer_bottom__inner {
- display: flex;
- flex-wrap: wrap
- }
- }