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

View File

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