layout-footer.css
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.css
View 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.
- */
-
- /**
- * 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: 2.25rem;
- padding-bottom: 2.25rem;
- }
-
- @media (min-width: 75rem) {
-
- .site-footer__inner {
- padding-top: 4.5rem;
- padding-bottom: 14.625rem;
- }
- }
-
- .region--footer_top__inner > *,
- .region--footer_bottom__inner > * {
- margin-bottom: 2.25rem;
- }
-
- @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: 2.25rem;
- }
-
- [dir="rtl"] .region--footer_top__inner > *:not(:last-child),
- [dir="rtl"] .region--footer_bottom__inner > *:not(:last-child) {
- margin-left: 2.25rem;
- }
- }
-
- @media (min-width: 43.75rem) {
-
- .region--footer_top__inner,
- .region--footer_bottom__inner {
- display: flex;
- flex-wrap: wrap;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.