summaryrefslogtreecommitdiff
path: root/lib/tpl/dokuwiki/css
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tpl/dokuwiki/css')
-rw-r--r--lib/tpl/dokuwiki/css/mobile.css14
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%;
}