From 5e763bc67d140d1a41056c2e63f0fbe80c5d03ab Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 6 Oct 2015 20:16:46 +0200 Subject: fix black background in fullscreen mode #668 #1386 --- css/reveal.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'css/reveal.scss') 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 -- cgit v1.2.3