1
0
Fork 0

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;
}
::selection {
.reveal ::selection {
color: $selectionColor;
background: $selectionBackgroundColor;
text-shadow: none;
}
::-moz-selection {
.reveal ::-moz-selection {
color: $selectionColor;
background: $selectionBackgroundColor;
text-shadow: none;

View File

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

View File

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

View File

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

View File

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

4
dist/theme/moon.css vendored
View File

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

View File

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

View File

@ -45,12 +45,12 @@
font-weight: normal;
color: #000; }
::selection {
.reveal ::selection {
color: #fff;
background: #26351C;
text-shadow: none; }
::-moz-selection {
.reveal ::-moz-selection {
color: #fff;
background: #26351C;
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;
color: #000; }
::selection {
.reveal ::selection {
color: #fff;
background: rgba(0, 0, 0, 0.99);
text-shadow: none; }
::-moz-selection {
.reveal ::-moz-selection {
color: #fff;
background: rgba(0, 0, 0, 0.99);
text-shadow: none; }

4
dist/theme/sky.css vendored
View File

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

View File

@ -49,12 +49,12 @@ html * {
font-weight: normal;
color: #657b83; }
::selection {
.reveal ::selection {
color: #fff;
background: #d33682;
text-shadow: none; }
::-moz-selection {
.reveal ::-moz-selection {
color: #fff;
background: #d33682;
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;
color: #222; }
::selection {
.reveal ::selection {
color: #fff;
background: #98bdef;
text-shadow: none; }
::-moz-selection {
.reveal ::-moz-selection {
color: #fff;
background: #98bdef;
text-shadow: none; }