From b7e0d9b1c79a475249777d734a9675b1ba03a47a Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 20 Jun 2016 10:27:04 +0200 Subject: fix theme backgrounds in firefox fullscreen mode #1386 --- css/theme/template/theme.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'css/theme/template') diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index bcbaf0c..8d4b8a7 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -9,6 +9,17 @@ body { background-color: $backgroundColor; } +// Ensures that the main background color matches the +// theme in fullscreen mode +html:-webkit-full-screen-ancestor { + @include bodyBackground(); + background-color: $backgroundColor; +} +html:-moz-full-screen-ancestor { + @include bodyBackground(); + background-color: $backgroundColor; +} + .reveal { font-family: $mainFont; font-size: $mainFontSize; -- cgit v1.2.3