fix(client): better contrast for code sections when selected (#40461)

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
Paulson J Paul
2020-12-21 21:16:33 +05:30
committed by GitHub
parent 5458b586f0
commit decb879694
4 changed files with 12 additions and 4 deletions

View File

@ -68,6 +68,10 @@ p {
overflow-wrap: break-word;
}
::selection {
background-color: rgba(var(--highlight-color), 0.3);
}
@media (max-width: 500px) {
.big-heading {
font-size: 1.5rem !important;
@ -459,7 +463,7 @@ pre {
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
color: var(--highlight-color);
color: rgb(var(--highlight-color));
}
.has-error .help-block,

View File

@ -14,8 +14,8 @@
--purple-dark: #5a01a7;
--yellow-light: #ffc300;
--yellow-dark: #4d3800;
--blue-light: #99c9ff;
--blue-dark: #002ead;
--blue-light: 153, 201, 255;
--blue-dark: 0, 46, 173;
--green-light: #acd157;
--blue-mid: #198eee;
--purple-mid: darkviolet;

View File

@ -3,7 +3,7 @@
}
.monaco-menu .action-label {
color: var(--highlight-color);
color: rgb(var(--highlight-color));
letter-spacing: 0.02em;
}

View File

@ -16,3 +16,7 @@
#instructions ol {
font-family: 'Lato', sans-serif;
}
#description ::selection {
background-color: rgba(var(--highlight-color), 0.3);
}