You are here

layout.css in Drupal 9

Base Layout.

File

core/themes/olivero/css/layout/layout.css
View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Base Layout.
  10. */
  11. .container {
  12. width: 100%;
  13. max-width: 84.375rem;
  14. padding-left: 1.125rem;
  15. padding-right: 1.125rem
  16. }
  17. @media (min-width: 75rem) {
  18. .container {
  19. padding-left: 2.25rem;
  20. padding-right: 2.25rem
  21. }
  22. }
  23. .page-wrapper {
  24. max-width: 98.125rem;
  25. background: #fff;
  26. }
  27. /* Contains the social sidebar, and the primary content area. */
  28. @media (min-width: 75rem) {
  29. .layout-main {
  30. display: flex;
  31. flex-direction: row-reverse;
  32. flex-wrap: wrap
  33. }
  34. }
  35. @media (min-width: 75rem) {
  36. [dir="ltr"] .main-content {
  37. margin-right: auto
  38. }
  39. [dir="rtl"] .main-content {
  40. margin-left: auto
  41. }
  42. .main-content {
  43. width: calc(100% - 5.625rem)
  44. }
  45. }
  46. .main-content__container {
  47. padding-top: 3.375rem
  48. }
  49. @media (min-width: 43.75rem) {
  50. .main-content__container {
  51. padding-top: 5.625rem
  52. }
  53. }