Commit 21bb304c authored by Emma's avatar Emma

add blockquote styling

parent 302e7de5
Pipeline #21291693 passed with stage
in 5 minutes and 18 seconds
......@@ -39,6 +39,24 @@ h1, h2, h3, h4, h5, h6, p, dl, ol, ul, blockquote {
margin-bottom: 1rem;
}
// opinionated blockquote styling - should be safe?
blockquote {
background-color: @blockquote-background-color;
border-left: 1px inset @blockquote-border-color;
margin: 0 0 0 0.5rem;
padding: 0 0.5rem;
& > * {
@day-color: lighten(@page-color, 25%);
@night-color: darken(@page-color, 25%);
color: contrast(@page-color, @day-color, @night-color);
}
a {
color: @page-color;
}
}
ol ol,
ol ul,
ul ol,
......
......@@ -40,3 +40,6 @@
// misc
@markdown-preview-background-color: #422;
// blockquote
@blockquote-background-color: #283028;
......@@ -86,3 +86,7 @@
@diff-table-changed-background-color: #ddf;
@diff-table-line-group-border-color: @page-background-color;
@diff-table-line-no-background-color: lightgrey;
// Blockquote
@blockquote-background-color: #f4f4f4;
@blockquote-border-color: grey;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment