scope selection color to .reveal

This commit is contained in:
Hakim El Hattab 2020-05-11 11:28:36 +02:00
parent 2104dee1c1
commit aa2a4a0a36
12 changed files with 24 additions and 24 deletions

View File

@ -18,13 +18,13 @@
color: $mainColor; color: $mainColor;
} }
::selection { .reveal ::selection {
color: $selectionColor; color: $selectionColor;
background: $selectionBackgroundColor; background: $selectionBackgroundColor;
text-shadow: none; text-shadow: none;
} }
::-moz-selection { .reveal ::-moz-selection {
color: $selectionColor; color: $selectionColor;
background: $selectionBackgroundColor; background: $selectionBackgroundColor;
text-shadow: none; text-shadow: none;

View File

@ -49,12 +49,12 @@
font-weight: normal; font-weight: normal;
color: #333; } color: #333; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: rgba(79, 64, 28, 0.99); background: rgba(79, 64, 28, 0.99);
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: rgba(79, 64, 28, 0.99); background: rgba(79, 64, 28, 0.99);
text-shadow: none; } text-shadow: none; }

View File

@ -45,12 +45,12 @@ section.has-light-background, section.has-light-background h1, section.has-light
font-weight: normal; font-weight: normal;
color: #fff; } color: #fff; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #bee4fd; background: #bee4fd;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #bee4fd; background: #bee4fd;
text-shadow: none; } text-shadow: none; }

View File

@ -48,12 +48,12 @@
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #a23; background: #a23;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #a23; background: #a23;
text-shadow: none; } text-shadow: none; }

View File

@ -51,12 +51,12 @@
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #FF5E99; background: #FF5E99;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #FF5E99; background: #FF5E99;
text-shadow: none; } text-shadow: none; }

4
dist/theme/moon.css vendored
View File

@ -49,12 +49,12 @@ html * {
font-weight: normal; font-weight: normal;
color: #93a1a1; } color: #93a1a1; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #d33682; background: #d33682;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #d33682; background: #d33682;
text-shadow: none; } text-shadow: none; }

View File

@ -43,12 +43,12 @@
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #e7ad52; background: #e7ad52;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #e7ad52; background: #e7ad52;
text-shadow: none; } text-shadow: none; }

View File

@ -45,12 +45,12 @@
font-weight: normal; font-weight: normal;
color: #000; } color: #000; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #26351C; background: #26351C;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #26351C; background: #26351C;
text-shadow: none; } text-shadow: none; }

View File

@ -48,12 +48,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
font-weight: normal; font-weight: normal;
color: #000; } color: #000; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: rgba(0, 0, 0, 0.99); background: rgba(0, 0, 0, 0.99);
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: rgba(0, 0, 0, 0.99); background: rgba(0, 0, 0, 0.99);
text-shadow: none; } text-shadow: none; }

4
dist/theme/sky.css vendored
View File

@ -52,12 +52,12 @@
font-weight: normal; font-weight: normal;
color: #333; } color: #333; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #134674; background: #134674;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #134674; background: #134674;
text-shadow: none; } text-shadow: none; }

View File

@ -49,12 +49,12 @@ html * {
font-weight: normal; font-weight: normal;
color: #657b83; } color: #657b83; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #d33682; background: #d33682;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #d33682; background: #d33682;
text-shadow: none; } text-shadow: none; }

View File

@ -45,12 +45,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
font-weight: normal; font-weight: normal;
color: #222; } color: #222; }
::selection { .reveal ::selection {
color: #fff; color: #fff;
background: #98bdef; background: #98bdef;
text-shadow: none; } text-shadow: none; }
::-moz-selection { .reveal ::-moz-selection {
color: #fff; color: #fff;
background: #98bdef; background: #98bdef;
text-shadow: none; } text-shadow: none; }