website/assets/scss/extend.scss

77 lines
1.1 KiB
SCSS
Raw Normal View History

2020-11-05 04:34:37 +00:00
:root {
--accented-border-style: var(--base08) solid 1px;
2019-09-28 12:15:00 +00:00
}
2020-11-05 04:34:37 +00:00
.post__meta--single {
p > span:first-child {
white-space: nowrap;
}
2019-09-28 12:15:00 +00:00
}
2020-11-05 04:34:37 +00:00
// Prism CSS
code[class*="language-"], pre[class*="language-"] {
color: var(--base05);
2019-09-28 12:15:00 +00:00
}
2020-11-05 04:34:37 +00:00
// Asciidoctor-specific styles
.anchor {
&::before {
content: "§";
display: inline-block;
margin-right: 0.25em;
}
}
.quoteblock {
blockquote {
border: var(--accented-border-style);
margin: auto;
padding: 1em 0.5em;
}
}
2019-09-28 12:15:00 +00:00
2020-11-05 04:34:37 +00:00
@keyframes target-fade {
0% {
background: var(--base0D);
color: unset;
}
100% {
background-color: transparent;
}
2019-09-28 12:15:00 +00:00
}
2020-11-05 04:34:37 +00:00
#footnotes > *:not(hr) {
2020-11-05 07:30:02 +00:00
line-height: 1.45;
2020-11-05 04:34:37 +00:00
margin: 1em;
}
*:not(.listingblock) {
> *.attribution,
> *.title {
background: var(--base08);
color: var(--base00);
font-size: 0.9em;
padding: 0.5em;
}
> *.content {
border: var(--accented-border-style);
padding: 0.5em;
}
}
2019-09-28 12:15:00 +00:00
2020-11-05 04:34:37 +00:00
.admonitionblock {
.icon {
background: var(--base08);
border: var(--accented-border-style);
vertical-align: middle;
}
2019-09-28 12:15:00 +00:00
}
2020-11-05 04:34:37 +00:00
.imageblock {
> .content {
2019-09-28 12:15:00 +00:00
display: flex;
justify-content: center;
2020-11-05 04:34:37 +00:00
}
2019-09-28 12:15:00 +00:00
}