scss/typography: use the right color for blockquote

This commit is contained in:
Kazhnuz 2018-10-24 11:26:37 +02:00
parent 6e5c3d5c96
commit d6828eaf21
2 changed files with 3 additions and 12 deletions

View file

@ -250,9 +250,7 @@ blockquote, .quote, .well {
margin: -0.75em -0.2em 0.75em -0.2em; margin: -0.75em -0.2em 0.75em -0.2em;
padding: 0.75em 1em 0.75em 1em; padding: 0.75em 1em 0.75em 1em;
max-width: 100%; max-width: 100%;
border-color: rgba(1, 1, 1, 0.15); } border-color: #e33d22; }
.night-mode blockquote, .night-mode .quote, .night-mode .well {
border-color: rgba(255, 255, 255, 0.15); }
pre, .pre, .well-pre { pre, .pre, .well-pre {
border-width: 0 0 0 0.2em; border-width: 0 0 0 0.2em;
@ -261,7 +259,7 @@ pre, .pre, .well-pre {
margin: -0.75em -0.2em 0.75em -0.2em; margin: -0.75em -0.2em 0.75em -0.2em;
padding: 0.75em 1em 0.75em 1em; padding: 0.75em 1em 0.75em 1em;
max-width: 100%; max-width: 100%;
border-color: rgba(1, 1, 1, 0.2); border-color: #e33d22;
background-color: #EEE; background-color: #EEE;
overflow-x: scroll; } overflow-x: scroll; }
.night-mode pre, .night-mode .pre, .night-mode .well-pre { .night-mode pre, .night-mode .pre, .night-mode .well-pre {

View file

@ -187,20 +187,15 @@ hr {
padding: 0.75em 1em 0.75em 1em; padding: 0.75em 1em 0.75em 1em;
max-width: 100%; max-width: 100%;
border-color: $color-primary;
} }
blockquote, .quote, .well { blockquote, .quote, .well {
@include well(); @include well();
border-color: rgba(1, 1, 1, 0.15);
.night-mode & {
border-color: rgba(255, 255, 255, 0.15)
}
} }
pre, .pre, .well-pre { pre, .pre, .well-pre {
@include well(); @include well();
border-color: rgba(1,1,1,0.20);
background-color:#EEE; background-color:#EEE;
overflow-x: scroll; overflow-x: scroll;
@ -222,8 +217,6 @@ mark {
color: inherit; color: inherit;
} }
.night-mode mark { .night-mode mark {
background-color: $color-primary; background-color: $color-primary;
} }