fix theme backgrounds in firefox fullscreen mode #1386

This commit is contained in:
Hakim El Hattab
2016-06-20 10:27:04 +02:00
parent 8162855d23
commit b7e0d9b1c7
14 changed files with 135 additions and 15 deletions

View File

@ -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;