aboutsummaryrefslogtreecommitdiff
path: root/css/theme/template
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-06-20 10:27:04 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-06-20 10:27:04 +0200
commitb7e0d9b1c79a475249777d734a9675b1ba03a47a (patch)
tree6b21f264423c692a0b7045b1583e1618dd63967c /css/theme/template
parent8162855d23601e66a25ba79dd4013ef416c4f1b4 (diff)
downloadperl-software-in-gnu-guix-b7e0d9b1c79a475249777d734a9675b1ba03a47a.tar
perl-software-in-gnu-guix-b7e0d9b1c79a475249777d734a9675b1ba03a47a.tar.gz
fix theme backgrounds in firefox fullscreen mode #1386
Diffstat (limited to 'css/theme/template')
-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;