Release post for 2.91 #34
21
themes/lix/assets/scss/shared/_blockquote.scss
Normal file
21
themes/lix/assets/scss/shared/_blockquote.scss
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
@use 'sass:color';
|
||||||
|
|
||||||
|
$blockquote-y-padding: 0.7rem;
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
border-left-color: desaturate($primary, 20%);
|
||||||
|
border-left-width: 0.4rem;
|
||||||
|
border-left-style: solid;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
padding-top: $blockquote-y-padding;
|
||||||
|
padding-bottom: $blockquote-y-padding;
|
||||||
|
|
||||||
|
>:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
>:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
12
themes/lix/assets/scss/shared/_code.scss
Normal file
12
themes/lix/assets/scss/shared/_code.scss
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
$code-colour: darken($light, 5%);
|
||||||
|
pre {
|
||||||
|
background-color: $code-colour;
|
||||||
|
padding: 0.8rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
:not(pre)>code {
|
||||||
|
background-color: $code-colour;
|
||||||
|
font-size: 0.85em;
|
||||||
|
padding: 0.2em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
}
|
|
@ -3,6 +3,8 @@
|
||||||
@import "fonts";
|
@import "fonts";
|
||||||
@import "utilities";
|
@import "utilities";
|
||||||
|
|
||||||
|
@import "blockquote";
|
||||||
|
@import "code";
|
||||||
@import "header";
|
@import "header";
|
||||||
@import "footer";
|
@import "footer";
|
||||||
@import "buttons";
|
@import "buttons";
|
||||||
|
|
Loading…
Reference in a new issue