Files
com.xaymar.www/_sass/_article.scss
T
Michael Fabian 'Xaymar' Dirks 6c25961683 Initial Public Release
2021-12-24 11:02:16 +01:00

109 lines
1.9 KiB
SCSS

article {
margin: 0px;
padding: 0px;
background: $theme-article-background;
box-shadow: $theme-article-shadow;
color: $theme-article-color;
}
article ~ article {
margin-top: 1.5rem;
}
article > .title {
padding: .25rem 1rem;
margin: 0;
font-size: 1.667em;
font-variant: small-caps;
font-weight: bold;
white-space: nowrap;
text-overflow: ellipsis;
letter-spacing: 0.05ch;
background: $theme-article-title-background;
color: $theme-article-title-color;
}
article > .content {
margin: 0px;
padding: 1rem .75rem;
}
article > .content a,
article > .content a:visited {
color: $theme-article-link-color;
}
article > .content a:focus,
article > .content a:hover {
color: $theme-article-link-color-active;
}
article > .readmore {
margin: 0;
margin-top: -1.0rem;
padding: .25rem;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.667) 90%);
z-index: 100000;
}
article > .readmore > a {
display: block;
margin: 0;
padding: .25rem;
text-align: center;
font-variant: small-caps;
font-weight: bold;
}
article > .readmore > a,
article > .readmore > a:visited {
color: $theme-article-link-color;
}
article > .readmore > a:focus,
article > .readmore > a:active {
color: $theme-article-link-color-active;
}
article > .meta {
padding: .25rem .5rem;
border-radius: .5rem;
font-size: 0.8rem;
background: $theme-article-meta-background;
color: $theme-article-meta-color;
}
article > .meta a,
article > .meta a:visited {
color: $theme-article-meta-link-color;
}
article > .meta a:focus,
article > .meta a:hover {
color: $theme-article-meta-link-color-active;
}
article > .meta > .permalink {
display: inline;
padding: 0 .5rem;
font-variant: small-caps;
}
article > .meta > .tags {
display: inline;
padding: 0 .5rem;
}
article > .meta > .tags > span:first-child {
font-weight: bold;
font-variant: small-caps;
}
article > .meta > .tags > .tag {
}
article > .meta > .tags > .tag:not(:last-child):after {
content: ", ";
}