diff options
Diffstat (limited to '_sass')
-rw-r--r-- | _sass/code.scss | 10 | ||||
-rw-r--r-- | _sass/media.scss | 5 | ||||
-rw-r--r-- | _sass/theme.scss | 7 |
3 files changed, 15 insertions, 7 deletions
diff --git a/_sass/code.scss b/_sass/code.scss index abec864..cc27a5e 100644 --- a/_sass/code.scss +++ b/_sass/code.scss @@ -10,8 +10,6 @@ pre.highlight { %token_comment { font-style: italic; } %token_keyword { font-weight: 700; } -%token_comment { opacity: .7; } -%token_operator { opacity: .8; } %token_comment { color: var(--code-comment); } %token_keyword { color: var(--code-keyword); } @@ -19,3 +17,11 @@ pre.highlight { %token_number { color: var(--code-number); } %token_operator { color: var(--code-operator); } +:root { + --code-comment: #556885; + --code-keyword: #a72076; + --code-string: #755a1c; + --code-number: #c94f29; + --code-operator: #6327c1; +} + diff --git a/_sass/media.scss b/_sass/media.scss index 2b4fc8b..e7b4aee 100644 --- a/_sass/media.scss +++ b/_sass/media.scss @@ -19,9 +19,10 @@ background-color: #222; color: inherit; } + nav .item.active { - color: inherit; - background-color: black; + color: inherit !important; + background-color: black !important; text-decoration: underline; font-weight: bold; } diff --git a/_sass/theme.scss b/_sass/theme.scss index d599fc4..82e54d6 100644 --- a/_sass/theme.scss +++ b/_sass/theme.scss @@ -28,9 +28,10 @@ blockquote::before { background-color: black; color: white; } -nav a.active { - color: canvastext; - background-color: canvas; + +nav .item.active { + color: canvastext !important; + background-color: canvas !important; } // only show underline when hovering link |