Add style for blockquote
This commit is contained in:
parent
86fba0f682
commit
9176cc8312
1 changed files with 20 additions and 0 deletions
|
@ -84,3 +84,23 @@ pre {
|
|||
.inline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 2px solid var(--color-green);
|
||||
padding-left: 1rem;
|
||||
strong.highlight {
|
||||
color: var(--color-green);
|
||||
}
|
||||
&.warn {
|
||||
border-left-color: var(--color-warn);
|
||||
strong.highlight {
|
||||
color: var(--color-warn);
|
||||
}
|
||||
}
|
||||
&.danger {
|
||||
border-left-color: var(--color-error);
|
||||
strong.highlight {
|
||||
color: var(--color-error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue