mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +01:00
feat(scss): improve blockquote style
This commit is contained in:
parent
0e0f5edbec
commit
18cd83125d
2 changed files with 6 additions and 1 deletions
|
@ -219,7 +219,8 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
border-left: var(--blockquote-border-size) solid var(--card-separator-color);
|
border-left: var(--blockquote-border-size) solid var(--card-separator-color);
|
||||||
padding: 0 calc(var(--content-padding) - var(--blockquote-border-size));
|
padding: 15px calc(var(--content-padding) - var(--blockquote-border-size));
|
||||||
|
background-color: var(--blockquote-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > ul {
|
& > ul {
|
||||||
|
|
|
@ -56,6 +56,8 @@ $on-desktop-large: 1920px;
|
||||||
*/
|
*/
|
||||||
--content-padding: 30px;
|
--content-padding: 30px;
|
||||||
--blockquote-border-size: 4px;
|
--blockquote-border-size: 4px;
|
||||||
|
--blockquote-background-color: #efefee;
|
||||||
|
|
||||||
--heading-border-size: 4px;
|
--heading-border-size: 4px;
|
||||||
|
|
||||||
@media (max-width: $on-desktop-large) {
|
@media (max-width: $on-desktop-large) {
|
||||||
|
@ -105,5 +107,7 @@ $on-desktop-large: 1920px;
|
||||||
|
|
||||||
--table-border-color: #717171;
|
--table-border-color: #717171;
|
||||||
--tr-even-background-color: #545454;
|
--tr-even-background-color: #545454;
|
||||||
|
|
||||||
|
--blockquote-background-color: #545454;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue