node.css

Same filename in this branch
  1. 11.x core/profiles/demo_umami/themes/umami/css/components/content/node.css
  2. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/node.css
  3. 11.x core/themes/claro/css/components/node.css
  4. 11.x core/themes/claro/css/classy/components/node.css
  5. 11.x core/themes/starterkit_theme/css/components/node.css
Same filename in other branches
  1. 7.x modules/node/node.css
  2. 9 core/profiles/demo_umami/themes/umami/css/components/content/node.css
  3. 9 core/profiles/demo_umami/themes/umami/css/classy/components/node.css
  4. 9 core/themes/olivero/css/components/node.css
  5. 9 core/themes/seven/css/components/node.css
  6. 9 core/themes/seven/css/classy/components/node.css
  7. 9 core/themes/claro/css/components/node.css
  8. 9 core/themes/claro/css/classy/components/node.css
  9. 9 core/themes/bartik/css/components/node.css
  10. 9 core/themes/bartik/css/classy/components/node.css
  11. 9 core/themes/starterkit_theme/css/components/node.css
  12. 9 core/themes/classy/css/components/node.css
  13. 8.9.x core/profiles/demo_umami/themes/umami/css/components/content/node.css
  14. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/node.css
  15. 8.9.x core/themes/seven/css/components/node.css
  16. 8.9.x core/themes/seven/css/classy/components/node.css
  17. 8.9.x core/themes/claro/css/components/node.css
  18. 8.9.x core/themes/claro/css/classy/components/node.css
  19. 8.9.x core/themes/bartik/css/components/node.css
  20. 8.9.x core/themes/bartik/css/classy/components/node.css
  21. 8.9.x core/themes/classy/css/components/node.css
  22. 10 core/profiles/demo_umami/themes/umami/css/components/content/node.css
  23. 10 core/profiles/demo_umami/themes/umami/css/classy/components/node.css
  24. 10 core/themes/olivero/css/components/node.css
  25. 10 core/themes/claro/css/components/node.css
  26. 10 core/themes/claro/css/classy/components/node.css
  27. 10 core/themes/starterkit_theme/css/components/node.css

Node specific styles.

File

core/themes/olivero/css/components/node.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 specific styles.
  10. */
  11. .node__meta {
  12. display: flex;
  13. align-items: center;
  14. margin-block-end: var(--sp1);
  15. color: var(--color-text-neutral-soft);
  16. font-size: 0.875rem;
  17. line-height: var(--sp);
  18. }
  19. .node__meta a {
  20. font-weight: bold;
  21. }
  22. @media (min-width: 31.25rem) {
  23. .node__meta {
  24. margin-block-end: var(--sp2);
  25. }
  26. }
  27. .node__author-image img {
  28. width: var(--sp2-5);
  29. height: var(--sp2-5);
  30. margin-inline-end: var(--sp0-5);
  31. object-fit: cover;
  32. border-radius: 50%;
  33. }
  34. .node__title a {
  35. padding-block-end: 0.1875rem;
  36. transition:
  37. background-size 0.2s,
  38. color 0.2s;
  39. -webkit-text-decoration: none;
  40. text-decoration: none;
  41. color: var(--color-text-neutral-loud);
  42. background-color: transparent;
  43. background-image: linear-gradient(var(--color--primary-50), var(--color--primary-50)); /* Two values are needed for IE11 support. */
  44. background-repeat: no-repeat;
  45. background-position: bottom left; /* LTR */
  46. background-size: 0 0.1875rem;
  47. }
  48. .node__title a:hover,
  49. .node__title a:focus {
  50. color: var(--color-text-primary-medium);
  51. }
  52. [dir="rtl"] .node__title {
  53. background-position: bottom right;
  54. }
  55. .node__content {
  56. padding-block-end: var(--sp1-5);
  57. }
  58. @media (min-width: 62.5rem) {
  59. .node__content {
  60. padding-block-end: var(--sp3);
  61. }
  62. }
  63. .node--unpublished {
  64. /* There is no variable for the color - #fff4f4. */
  65. background-color: #fff4f4;
  66. }

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