aboutsummaryrefslogtreecommitdiff
path: root/css/theme/template/theme.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/theme/template/theme.scss')
-rw-r--r--css/theme/template/theme.scss11
1 files changed, 11 insertions, 0 deletions
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;