hero.css

Same filename and directory in other branches
  1. 10 core/themes/olivero/css/components/hero.css
  2. 9 core/themes/olivero/css/components/hero.css
  3. main core/themes/olivero/css/components/hero.css

Main Hero.

File

core/themes/olivero/css/components/hero.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. * Main Hero.
  10. */
  11. .hero__content {
  12. grid-column: 1 / 7;
  13. @media (min-width: 43.75rem) {
  14. /* 700px */
  15. grid-column: 3 / 13;
  16. }
  17. @media (min-width: 62.5rem) {
  18. grid-column: 3 / 11;
  19. }
  20. }
  21. .hero__img {
  22. grid-column: 1 / 7;
  23. margin-block-start: var(--sp2);
  24. margin-block-end: var(--sp2);
  25. & img {
  26. width: 100%;
  27. }
  28. @media (min-width: 31.25rem) {
  29. margin-block-start: var(--sp3);
  30. margin-block-end: var(--sp3);
  31. }
  32. @media (min-width: 43.75rem) {
  33. grid-column: 1 / 15;
  34. margin-block-start: var(--sp4);
  35. margin-block-end: var(--sp4);
  36. }
  37. @media (min-width: 62.5rem) {
  38. grid-column: 2 / 14;
  39. }
  40. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.