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

98 lines
1.7 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: 18px;
color: #6e7172;
font-size: 14px;
line-height: 18px
}
[dir="ltr"] .node__meta .field--name-user-picture img {
margin-right: 9px
}
[dir="rtl"] .node__meta .field--name-user-picture img {
margin-left: 9px
}
.node__meta .field--name-user-picture img {
width: 45px;
height: 45px;
-o-object-fit: cover;
object-fit: cover;
border-radius: 50%;
}
.node__meta a {
font-weight: bold;
}
@media (min-width: 500px) {
.node__meta {
margin-bottom: 36px
}
}
.node__title a {
padding-bottom: 3px;
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 3px
}
.node__title a:hover {
color: #0d77b5;
}
.node__title a:focus {
color: #0d77b5;
background-size: 100% 3px
}
@media screen and (-ms-high-contrast: active) {
.node__title a:focus {
text-decoration: underline;
outline: medium none invert;
outline: initial
}
}
[dir="rtl"] .node__title {
background-position: bottom right;
}
.node__content {
padding-bottom: 27px
}
@media (min-width: 1000px) {
.node__content {
padding-bottom: 54px
}
}
.node--unpublished {
/* There is no variable for the color - #fff4f4. */
background-color: #fff4f4;
}