node.css
Same filename in this branch
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/content/node.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/node.css
- 8.9.x core/themes/seven/css/components/node.css
- 8.9.x core/themes/seven/css/classy/components/node.css
- 8.9.x core/themes/claro/css/components/node.css
- 8.9.x core/themes/claro/css/classy/components/node.css
- 8.9.x core/themes/bartik/css/classy/components/node.css
- 8.9.x core/themes/classy/css/components/node.css
Same filename in other branches
- 7.x modules/node/node.css
- 9 core/profiles/demo_umami/themes/umami/css/components/content/node.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/node.css
- 9 core/themes/olivero/css/components/node.css
- 9 core/themes/seven/css/components/node.css
- 9 core/themes/seven/css/classy/components/node.css
- 9 core/themes/claro/css/components/node.css
- 9 core/themes/claro/css/classy/components/node.css
- 9 core/themes/bartik/css/components/node.css
- 9 core/themes/bartik/css/classy/components/node.css
- 9 core/themes/starterkit_theme/css/components/node.css
- 9 core/themes/classy/css/components/node.css
- 10 core/profiles/demo_umami/themes/umami/css/components/content/node.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/node.css
- 10 core/themes/olivero/css/components/node.css
- 10 core/themes/claro/css/components/node.css
- 10 core/themes/claro/css/classy/components/node.css
- 10 core/themes/starterkit_theme/css/components/node.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/content/node.css
- 11.x core/profiles/demo_umami/themes/umami/css/classy/components/node.css
- 11.x core/themes/olivero/css/components/node.css
- 11.x core/themes/claro/css/components/node.css
- 11.x core/themes/claro/css/classy/components/node.css
- 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
- /**
- * @file
- * Visual styles for Bartik's node component.
- */
-
- .node__content {
- margin-top: 10px;
- font-size: 1.071em;
- }
-
- /* View mode teaser styles. */
- .node--view-mode-teaser {
- margin-bottom: 30px;
- padding-bottom: 15px;
- border-bottom: 1px solid #d3d7d9;
- }
- .node--view-mode-teaser h2 {
- margin-top: 0;
- padding-top: 0.5em;
- }
- .node--view-mode-teaser h2 a {
- color: #181818;
- }
- .node--view-mode-teaser.node--sticky {
- padding: 0 15px 15px;
- border: 1px solid #d3d7d9;
- background: #f9f9f9;
- background: rgba(0, 0, 0, 0.024);
- }
- .node--view-mode-teaser .node__content {
- clear: none;
- font-size: 1em;
- line-height: 1.6;
- }
-
- /* Node metadata styles. */
- .node__meta {
- margin-bottom: -5px;
- color: #68696b;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 0.857em;
- }
- .node__meta .field--name-user-picture img {
- float: left; /* LTR */
- margin: 1px 20px 0 0; /* LTR */
- }
- [dir="rtl"] .node__meta .field--name-user-picture img {
- float: right;
- margin-right: 0;
- margin-left: 20px;
- }
-
- /* Node links styles. */
- .node__links {
- text-align: right; /* LTR */
- font-size: 0.93em;
- }
- [dir="rtl"] .node__links {
- text-align: left;
- }
-
- /* Unpublished node styles. */
- .node--unpublished {
- padding: 20px 15px 0;
- }
- .node--unpublished .comment-text .comment-arrow {
- border-right: 1px solid #fff4f4;
- border-left: 1px solid #fff4f4;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.