drupal/core/themes/olivero/css/components/node.css

85 lines
1.5 KiB
CSS

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Node specific styles.
*/
.node__meta {
display: flex;
align-items: center;
margin-bottom: 1.125rem;
color: #6e7172;
font-size: 0.875rem;
line-height: 1.125rem
}
[dir="ltr"] .node__meta .field--name-user-picture img {
margin-right: 0.5625rem
}
[dir="rtl"] .node__meta .field--name-user-picture img {
margin-left: 0.5625rem
}
.node__meta .field--name-user-picture img {
width: 2.8125rem;
height: 2.8125rem;
-o-object-fit: cover;
object-fit: cover;
border-radius: 50%;
}
.node__meta a {
font-weight: bold;
}
@media (min-width: 31.25rem) {
.node__meta {
margin-bottom: 2.25rem
}
}
.node__title a {
padding-bottom: 0.1875rem;
transition: background-size 0.2s, color 0.2s;
text-decoration: none;
color: #0d1214;
background-color: transparent;
background-image: linear-gradient(#2494db, #2494db); /* 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: #0d77b5;
}
[dir="rtl"] .node__title {
background-position: bottom right;
}
.node__content {
padding-bottom: 1.6875rem
}
@media (min-width: 62.5rem) {
.node__content {
padding-bottom: 3.375rem
}
}
.node--unpublished {
/* There is no variable for the color - #fff4f4. */
background-color: #fff4f4;
}