mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 19:57:57 +00:00
103 lines
1.4 KiB
SCSS
103 lines
1.4 KiB
SCSS
:root {
|
|
--accented-border-style: var(--base0C) solid 1px;
|
|
}
|
|
|
|
// Base
|
|
footer {
|
|
margin-bottom: 1.5em;
|
|
> * {
|
|
margin-top: 1em;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
// Layouts
|
|
.site__socials {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.post__meta--single {
|
|
p > span:first-child {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
// Prism CSS
|
|
code[class*="language-"], pre[class*="language-"] {
|
|
color: var(--base05);
|
|
}
|
|
|
|
// 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;
|
|
}
|
|
}
|
|
|
|
@keyframes target-fade {
|
|
0% {
|
|
background: var(--base0D);
|
|
color: unset;
|
|
}
|
|
100% {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
#footnotes > *:not(hr) {
|
|
line-height: 1.45;
|
|
margin: 1em;
|
|
}
|
|
|
|
*:not(.listingblock) {
|
|
> *.attribution,
|
|
> *.title {
|
|
background: var(--base0C);
|
|
color: var(--base00);
|
|
font-size: 0.9em;
|
|
padding: 0.5em;
|
|
|
|
&::selection {
|
|
background: var(--base07);
|
|
}
|
|
}
|
|
|
|
> *.content {
|
|
border: var(--accented-border-style);
|
|
padding: 0.5em;
|
|
}
|
|
}
|
|
|
|
.admonitionblock {
|
|
.icon {
|
|
background: var(--base0C);
|
|
border: var(--accented-border-style);
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.imageblock {
|
|
> .content {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media all and (max-width: 860px) {
|
|
.imageblock {
|
|
> .content {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|