layout.css in Drupal 9
Same filename in this branch
Same filename and directory in other branches
Base Layout.
File
core/themes/olivero/css/layout/layout.cssView 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-left: 1.125rem;
- padding-right: 1.125rem
- }
-
- @media (min-width: 75rem) {
-
- .container {
- padding-left: 2.25rem;
- padding-right: 2.25rem
- }
- }
-
- .page-wrapper {
- max-width: 98.125rem;
- background: #fff;
- }
-
- /* 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
- }
- }