clone of olivero for island lives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.3 KiB

1 year ago
/**
* @file
* Node specific styles.
*/
@import "../base/media-queries.pcss.css";
.node__meta {
display: flex;
align-items: center;
margin-block-end: var(--sp1);
color: var(--color-text-neutral-soft);
font-size: 14px;
line-height: var(--sp);
& a {
font-weight: bold;
}
@media (--sm) {
margin-block-end: var(--sp2);
}
}
.node__author-image img {
width: var(--sp2-5);
height: var(--sp2-5);
margin-inline-end: var(--sp0-5);
object-fit: cover;
border-radius: 50%;
}
.node__title {
& a {
padding-block-end: 3px;
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 3px;
&:hover,
&:focus {
color: var(--color-text-primary-medium);
}
}
}
[dir="rtl"] .node__title {
background-position: bottom right;
}
.node__content {
padding-block-end: var(--sp1-5);
@media (--lg) {
padding-block-end: var(--sp3);
}
}
.node--unpublished {
/* There is no variable for the color - #fff4f4. */
background-color: #fff4f4;
}