scss/typography: use the right color for mark

This commit is contained in:
Kazhnuz 2018-10-24 11:23:44 +02:00
parent a0f8f0eb58
commit 6e5c3d5c96
3 changed files with 4 additions and 16 deletions

View file

@ -272,7 +272,7 @@ pre, .pre, .well-pre {
mark { mark {
border-radius: 0.2em; border-radius: 0.2em;
padding: 0 0.2em 0 0.2em; padding: 0 0.2em 0 0.2em;
background-color: #e33d22; background-color: #fcf2c0;
color: inherit; } color: inherit; }
.night-mode mark { .night-mode mark {
@ -1214,12 +1214,6 @@ a.list-group-item:hover {
color: #75b82d; } color: #75b82d; }
/* Clear-Typography overrides */ /* Clear-Typography overrides */
mark {
background-color: #fcf2c0; }
blockquote, pre {
border-color: #e33d22; }
.card-meta { .card-meta {
border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2);

View file

@ -204,11 +204,3 @@
} }
/* Clear-Typography overrides */ /* Clear-Typography overrides */
mark {
background-color: lighten($color-mark, 30%)
}
blockquote, pre {
border-color: $color-primary;
}

View file

@ -218,10 +218,12 @@ mark {
border-radius: 0.2em; border-radius: 0.2em;
padding:0 0.2em 0 0.2em; padding:0 0.2em 0 0.2em;
background-color: $color-primary; background-color: lighten($color-mark, 30%);
color: inherit; color: inherit;
} }
.night-mode mark { .night-mode mark {
background-color: $color-primary; background-color: $color-primary;
} }