1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 08:20:46 +00:00

CSS tweaks for full screen mode

This commit is contained in:
Jeremy Ruston 2012-09-12 10:45:59 +01:00
parent 8386607092
commit 9e8b665b8b
2 changed files with 38 additions and 0 deletions

View File

@ -5008,6 +5008,35 @@ body {
padding-top: 40px;
}
/*
Tweaks for full screen mode
*/
html:-webkit-full-screen {
width: 100%;
height: 100%;
}
html:-moz-full-screen {
width: 100%;
height: 100%;
}
html:-ms-full-screen {
width: 100%;
height: 100%;
}
html:-o-full-screen {
width: 100%;
height: 100%;
}
html:full-screen {
width: 100%;
height: 100%;
}
/*
Tiddler styles
*/

View File

@ -42,6 +42,15 @@ body {
padding-top: @navbarHeight; // Allow for the navbar
}
/*
Tweaks for full screen mode
*/
html:-webkit-full-screen { width: 100%; height: 100%; }
html:-moz-full-screen { width: 100%; height: 100%; }
html:-ms-full-screen { width: 100%; height: 100%; }
html:-o-full-screen { width: 100%; height: 100%; }
html:full-screen { width: 100%; height: 100%; }
/*
Tiddler styles
*/