layout.css
Same filename in this branch
Same filename in other branches
- 7.x themes/stark/layout.css
- 7.x themes/bartik/css/layout.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
- 8.9.x core/themes/seven/css/layout/layout.css
- 8.9.x core/themes/claro/css/layout/layout.css
- 8.9.x core/themes/stark/css/layout.css
- 8.9.x core/themes/bartik/css/layout.css
- 10 core/profiles/demo_umami/themes/umami/css/layout/layout.css
- 10 core/themes/olivero/css/layout/layout.css
- 10 core/themes/claro/css/layout/layout.css
- 10 core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css
- 11.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
- 11.x core/themes/olivero/css/layout/layout.css
- 11.x core/themes/claro/css/layout/layout.css
- 11.x core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css
Base Layout.
File
-
core/
themes/ olivero/ css/ layout/ layout.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Base Layout.
- */
-
- .container {
- width: 100%;
- max-width: 84.375rem;
- padding-right: 1.125rem;
- padding-left: 1.125rem;
- }
-
- @media (min-width: 75rem) {
-
- .container {
- padding-right: 2.25rem;
- padding-left: 2.25rem;
- }
- }
-
- .page-wrapper {
- max-width: 98.125rem;
- background: #fff;
- }
-
- /**
- * Creates stacking context ensuring that child elements can never appear in
- * front of mobile navigation.
- */
-
- .layout-main-wrapper {
- position: relative;
- z-index: 2; /* Ensure dropdown is not cut off by footer. */
- }
-
- /* Contains the social sidebar, and the primary content area. */
-
- @media (min-width: 75rem) {
-
- .layout-main {
- display: flex;
- flex-direction: row-reverse;
- flex-wrap: wrap;
- }
- }
-
- @media (min-width: 75rem) {
-
- [dir="ltr"] .main-content {
- margin-right: auto;
- }
-
- [dir="rtl"] .main-content {
- margin-left: auto;
- }
-
- .main-content {
- width: calc(100% - 5.625rem);
- }
- }
-
- .main-content__container {
- padding-top: 3.375rem;
- }
-
- @media (min-width: 43.75rem) {
-
- .main-content__container {
- padding-top: 5.625rem;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.