node-teaser.css

Same filename and directory in other branches
  1. 10 core/themes/olivero/css/components/node-teaser.css
  2. 11.x core/themes/olivero/css/components/node-teaser.css
  3. 9 core/themes/olivero/css/components/node-teaser.css

Node Teaser specific styles.

File

core/themes/olivero/css/components/node-teaser.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. * Node Teaser specific styles.
  10. */
  11. .node--view-mode-teaser {
  12. & .node__meta {
  13. margin-block-end: var(--sp);
  14. & a {
  15. color: var(--color-text-primary-medium);
  16. font-weight: bold;
  17. }
  18. }
  19. & .field--tag-ref {
  20. margin-block-start: var(--sp1);
  21. margin-block-end: 0;
  22. margin-inline-start: 0;
  23. margin-inline-end: 0;
  24. padding-block: 0;
  25. padding-inline-start: 0;
  26. padding-inline-end: 0;
  27. background-color: transparent;
  28. @media (min-width: 62.5rem) {
  29. margin-block-start: var(--sp2);
  30. }
  31. }
  32. }

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