diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-10-06 10:49:22 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-10-06 10:49:22 +0200 |
commit | 4bc5fe9843afbd99c79d27faa4d5c1de1aa2eb1b (patch) | |
tree | 6db315c71eade74c0c903df9714b201bb72638c5 /lib/tpl/dokuwiki/css | |
parent | 93a7873eb0646b5712d75b031cd8b8b143968ba2 (diff) | |
parent | 1fe8f13dbbf0b227079aadee9d206936fbb96852 (diff) | |
download | rpg-4bc5fe9843afbd99c79d27faa4d5c1de1aa2eb1b.tar.gz rpg-4bc5fe9843afbd99c79d27faa4d5c1de1aa2eb1b.tar.bz2 |
Merge branch 'master' into future
* master:
Always load the parser in the test environment
Escape filename in regex in search_index()
Changed XHTML validator icon to HTML5 (FS#2619)
fixed wrong apple-touch-icon extension (FS#2627)
Revert "removed html dependency from media query detection JS in new template"
removed html dependency from media query detection JS in new template
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%; } |