Skip to content
Snippets Groups Projects
Commit aa2a4a0a authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

scope selection color to .reveal

parent 2104dee1
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,13 @@ ...@@ -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;
......
...@@ -49,12 +49,12 @@ ...@@ -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; }
......
...@@ -45,12 +45,12 @@ section.has-light-background, section.has-light-background h1, section.has-light ...@@ -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; }
......
...@@ -48,12 +48,12 @@ ...@@ -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; }
......
...@@ -51,12 +51,12 @@ ...@@ -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; }
......
...@@ -49,12 +49,12 @@ html * { ...@@ -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; }
......
...@@ -43,12 +43,12 @@ ...@@ -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; }
......
...@@ -45,12 +45,12 @@ ...@@ -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; }
......
...@@ -48,12 +48,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba ...@@ -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; }
......
...@@ -52,12 +52,12 @@ ...@@ -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; }
......
...@@ -49,12 +49,12 @@ html * { ...@@ -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; }
......
...@@ -45,12 +45,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba ...@@ -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; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment