node.css in Drupal 10
Same filename in this branch
- 10 core/themes/starterkit_theme/css/components/node.css
- 10 core/themes/classy/css/components/node.css
- 10 core/themes/claro/css/components/node.css
- 10 core/themes/seven/css/components/node.css
- 10 core/themes/olivero/css/components/node.css
- 10 core/themes/bartik/css/components/node.css
- 10 core/themes/claro/css/classy/components/node.css
- 10 core/themes/seven/css/classy/components/node.css
- 10 core/themes/bartik/css/classy/components/node.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/node.css
- 10 core/profiles/demo_umami/themes/umami/css/components/content/node.css
Same filename and directory in other branches
Node specific styles.
File
core/themes/olivero/css/components/node.cssView source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Node specific styles.
- */
-
- /*
- * Media query breakpoints.
- * Processed by postcss/postcss-custom-media.
- */
-
- /* Navigation related breakpoints */
-
- /* Grid related breakpoints */
-
- /* Grid shifts from 6 to 14 columns. */
-
- /* Width of the entire grid maxes out. */
-
- .node__meta {
- display: flex;
- align-items: center;
- margin-bottom: var(--sp1);
- color: var(--color-text-neutral-soft);
- font-size: 0.875rem;
- line-height: var(--sp)
- }
-
- .node__meta a {
- font-weight: bold;
- }
-
- @media (min-width: 31.25rem) {
-
- .node__meta {
- margin-bottom: var(--sp2)
- }
- }
-
- [dir="ltr"] .node__author-image img {
- margin-right: var(--sp0-5)
- }
-
- [dir="rtl"] .node__author-image img {
- margin-left: var(--sp0-5)
- }
-
- .node__author-image img {
- width: var(--sp2-5);
- height: var(--sp2-5);
- object-fit: cover;
- border-radius: 50%;
- }
-
- .node__title a {
- padding-bottom: 0.1875rem;
- transition: background-size 0.2s, color 0.2s;
- text-decoration: none;
- color: var(--color-text-neutral-loud);
- background-color: transparent;
- background-image: linear-gradient(var(--color--primary-50), var(--color--primary-50)); /* Two values are needed for IE11 support. */
- background-repeat: no-repeat;
- background-position: bottom left; /* LTR */
- background-size: 0 0.1875rem
- }
-
- .node__title a:hover,
- .node__title a:focus {
- color: var(--color-text-primary-medium);
- }
-
- [dir="rtl"] .node__title {
- background-position: bottom right;
- }
-
- .node__content {
- padding-bottom: var(--sp1-5)
- }
-
- @media (min-width: 62.5rem) {
-
- .node__content {
- padding-bottom: var(--sp3)
- }
- }
-
- .node--unpublished {
- /* There is no variable for the color - #fff4f4. */
- background-color: #fff4f4;
- }