From 6e5c3d5c969fe5c3eb7897e17141c1c706b5fe15 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 24 Oct 2018 11:23:44 +0200 Subject: [PATCH] scss/typography: use the right color for mark --- css/style.css | 8 +------- scss/_colorize.scss | 8 -------- scss/_typography.scss | 4 +++- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/css/style.css b/css/style.css index a93aa14..c7c6d98 100644 --- a/css/style.css +++ b/css/style.css @@ -272,7 +272,7 @@ pre, .pre, .well-pre { mark { border-radius: 0.2em; padding: 0 0.2em 0 0.2em; - background-color: #e33d22; + background-color: #fcf2c0; color: inherit; } .night-mode mark { @@ -1214,12 +1214,6 @@ a.list-group-item:hover { color: #75b82d; } /* Clear-Typography overrides */ -mark { - background-color: #fcf2c0; } - -blockquote, pre { - border-color: #e33d22; } - .card-meta { 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); diff --git a/scss/_colorize.scss b/scss/_colorize.scss index 94b7e6d..8bb315e 100644 --- a/scss/_colorize.scss +++ b/scss/_colorize.scss @@ -204,11 +204,3 @@ } /* Clear-Typography overrides */ - -mark { - background-color: lighten($color-mark, 30%) -} - -blockquote, pre { - border-color: $color-primary; -} diff --git a/scss/_typography.scss b/scss/_typography.scss index 3334bb2..86c4416 100644 --- a/scss/_typography.scss +++ b/scss/_typography.scss @@ -218,10 +218,12 @@ mark { border-radius: 0.2em; padding:0 0.2em 0 0.2em; - background-color: $color-primary; + background-color: lighten($color-mark, 30%); color: inherit; } + + .night-mode mark { background-color: $color-primary; }