aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-10-06 20:16:46 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-10-06 20:16:46 +0200
commit5e763bc67d140d1a41056c2e63f0fbe80c5d03ab (patch)
tree9eb9e085744a792ccc31a5d2338edef5920f79e9 /css
parent6d93ce574800bc3d262cd273bc679e7aaf2cdbe4 (diff)
downloadperl-software-in-gnu-guix-5e763bc67d140d1a41056c2e63f0fbe80c5d03ab.tar
perl-software-in-gnu-guix-5e763bc67d140d1a41056c2e63f0fbe80c5d03ab.tar.gz
fix black background in fullscreen mode #668 #1386
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css6
-rw-r--r--css/reveal.scss9
2 files changed, 15 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index d2cb1be..116d315 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -47,6 +47,12 @@ body {
background-color: #fff;
color: #000; }
+html:-webkit-full-screen-ancestor {
+ background-color: inherit; }
+
+html:-moz-full-screen-ancestor {
+ background-color: inherit; }
+
/*********************************************
* VIEW FRAGMENTS
*********************************************/
diff --git a/css/reveal.scss b/css/reveal.scss
index 330551b..2b1546f 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -57,6 +57,15 @@ body {
color: #000;
}
+// Ensures that the main background color matches the
+// theme in fullscreen mode
+html:-webkit-full-screen-ancestor {
+ background-color: inherit;
+}
+html:-moz-full-screen-ancestor {
+ background-color: inherit;
+}
+
/*********************************************
* VIEW FRAGMENTS