add highlight

This commit is contained in:
minoplhy 2021-06-11 12:42:21 +07:00
parent 8adaac2d48
commit 758097234e
3 changed files with 6 additions and 0 deletions

View File

@ -293,3 +293,7 @@ table {
-ms-overflow-style: -ms-autohiding-scrollbar; -ms-overflow-style: -ms-autohiding-scrollbar;
} }
} }
::selection {
background: var(--highlight-color);
}

View File

@ -13,6 +13,7 @@ $subhead-color: rgba(4, 240, 91, 0.995) !default;
$bold-color: rgb(2, 255, 19) !default; $bold-color: rgb(2, 255, 19) !default;
$background-color: #0e0e0e !default; $background-color: #0e0e0e !default;
$code-background-color: #483908 !default; $code-background-color: #483908 !default;
$highlight: #7df45f !default;
$link-base-color: #1eea92 !default; $link-base-color: #1eea92 !default;
$link-visited-color: rgb(137, 49, 49) !default; $link-visited-color: rgb(137, 49, 49) !default;

View File

@ -7,4 +7,5 @@
// Override some variables on the home page // Override some variables on the home page
:root { :root {
--content-width: 1180px; --content-width: 1180px;
--highlight-color: $highlight;
} }