node.css

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

Visual styles for Bartik's node component.

File

core/themes/bartik/css/components/node.css

View source
  1. /**
  2. * @file
  3. * Visual styles for Bartik's node component.
  4. */
  5. .node__content {
  6. margin-top: 10px;
  7. font-size: 1.071em;
  8. }
  9. /* View mode teaser styles. */
  10. .node--view-mode-teaser {
  11. margin-bottom: 30px;
  12. padding-bottom: 15px;
  13. border-bottom: 1px solid #d3d7d9;
  14. }
  15. .node--view-mode-teaser h2 {
  16. margin-top: 0;
  17. padding-top: 0.5em;
  18. }
  19. .node--view-mode-teaser h2 a {
  20. color: #181818;
  21. }
  22. .node--view-mode-teaser.node--sticky {
  23. padding: 0 15px 15px;
  24. border: 1px solid #d3d7d9;
  25. background: #f9f9f9;
  26. background: rgba(0, 0, 0, 0.024);
  27. }
  28. .node--view-mode-teaser .node__content {
  29. clear: none;
  30. font-size: 1em;
  31. line-height: 1.6;
  32. }
  33. /* Node metadata styles. */
  34. .node__meta {
  35. margin-bottom: -5px;
  36. color: #68696b;
  37. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  38. font-size: 0.857em;
  39. }
  40. .node__meta .field--name-user-picture img {
  41. float: left; /* LTR */
  42. margin: 1px 20px 0 0; /* LTR */
  43. }
  44. [dir="rtl"] .node__meta .field--name-user-picture img {
  45. float: right;
  46. margin-right: 0;
  47. margin-left: 20px;
  48. }
  49. /* Node links styles. */
  50. .node__links {
  51. text-align: right; /* LTR */
  52. font-size: 0.93em;
  53. }
  54. [dir="rtl"] .node__links {
  55. text-align: left;
  56. }
  57. /* Unpublished node styles. */
  58. .node--unpublished {
  59. padding: 20px 15px 0;
  60. }
  61. .node--unpublished .comment-text .comment-arrow {
  62. border-right: 1px solid #fff4f4;
  63. border-left: 1px solid #fff4f4;
  64. }

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