diff options
author | Anika Henke <anika@selfthinker.org> | 2012-09-25 20:25:54 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-09-25 20:25:54 +0100 |
commit | 20391a36885910a616110df30f3ce30f8d23639d (patch) | |
tree | 389afb5a4ac24088182ef1e362acb81b1c626382 /lib/tpl/dokuwiki/css | |
parent | 07834a7c661d05ab5c707e1c428421c87af565bf (diff) | |
download | rpg-20391a36885910a616110df30f3ce30f8d23639d.tar.gz rpg-20391a36885910a616110df30f3ce30f8d23639d.tar.bz2 |
removed html dependency from media query detection JS in new template
Diffstat (limited to 'lib/tpl/dokuwiki/css')
-rw-r--r-- | lib/tpl/dokuwiki/css/mobile.css | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/tpl/dokuwiki/css/mobile.css b/lib/tpl/dokuwiki/css/mobile.css index cc61ab06c..ea32fb11d 100644 --- a/lib/tpl/dokuwiki/css/mobile.css +++ b/lib/tpl/dokuwiki/css/mobile.css @@ -5,18 +5,16 @@ * @author Anika Henke <anika@selfthinker.org> */ -/* for detecting media queries in JavaScript (see script.js): */ -#screen__mode { - position: relative; - z-index: 0; +body { + min-height: 0; /* for detecting media queries in JavaScript (see script.js): */ } /* up to 979px screen widths ********************************************************************/ @media only screen and (max-width: 979px) { -#screen__mode { - z-index: 1; /* for detecting media queries in JavaScript (see script.js) */ +body { + min-height: 1px; /* for detecting media queries in JavaScript (see script.js) */ } /* structure */ @@ -117,12 +115,9 @@ ********************************************************************/ @media only screen and (max-width: 480px) { -#screen__mode { - z-index: 2; /* for detecting media queries in JavaScript (see script.js) */ -} - body { font-size: 100%; + min-height: 2px; /* for detecting media queries in JavaScript (see script.js) */ } /*____________ structure ____________*/ |