diff options
author | Anika Henke <anika@selfthinker.org> | 2012-09-25 19:47:10 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-09-25 19:47:10 +0100 |
commit | 07834a7c661d05ab5c707e1c428421c87af565bf (patch) | |
tree | 3cb70b54e9c792a92f2647c1ed522bfc288eb9e4 /lib/tpl/dokuwiki/css | |
parent | 89fd993fad76fc527d1f0e1546043908b728547e (diff) | |
download | rpg-07834a7c661d05ab5c707e1c428421c87af565bf.tar.gz rpg-07834a7c661d05ab5c707e1c428421c87af565bf.tar.bz2 |
de-couple mobile JS from widths to actual media query equivalent (fixes FS#2623)
Diffstat (limited to 'lib/tpl/dokuwiki/css')
-rw-r--r-- | lib/tpl/dokuwiki/css/mobile.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/tpl/dokuwiki/css/mobile.css b/lib/tpl/dokuwiki/css/mobile.css index 6e07f23ec..cc61ab06c 100644 --- a/lib/tpl/dokuwiki/css/mobile.css +++ b/lib/tpl/dokuwiki/css/mobile.css @@ -5,10 +5,20 @@ * @author Anika Henke <anika@selfthinker.org> */ +/* for detecting media queries in JavaScript (see script.js): */ +#screen__mode { + position: relative; + z-index: 0; +} + /* 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) */ +} + /* structure */ #dokuwiki__aside { width: 100%; @@ -107,6 +117,10 @@ ********************************************************************/ @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%; } |