Specifies text highlight color, and adds variable
This commit is contained in:
@@ -15,6 +15,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Custom highlight color */
|
||||
.highlight {
|
||||
::selection {
|
||||
background-color: var(--highlight-background);
|
||||
color: var(--highlight-color);
|
||||
}
|
||||
::-moz-selection, ::-o-selection, ::-ms-selection, ::-webkit-selection {
|
||||
background-color: var(--highlight-background);
|
||||
color: var(--highlight-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Single-style helpers */
|
||||
.bold { font-weight: bold; }
|
||||
.light { font-weight: lighter; }
|
||||
|
||||
Reference in New Issue
Block a user