summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2014-02-15 16:02:59 +0000
committerAnika Henke <anika@selfthinker.org>2014-02-15 16:02:59 +0000
commit221cb66533e11a3e20e642d760af06bb19f7e14b (patch)
treec1546e69c053829d57c4ceaeb98cbcfd32e9e59e /lib/tpl
parent04180aa92fd6a23e4a6c154bc248e7b09d60d21d (diff)
downloadrpg-221cb66533e11a3e20e642d760af06bb19f7e14b.tar.gz
rpg-221cb66533e11a3e20e642d760af06bb19f7e14b.tar.bz2
fixed pagetools being inaccessible on screens lacking necessary height, and aligned them to content when on smaller screens
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/dokuwiki/css/mobile.less21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/tpl/dokuwiki/css/mobile.less b/lib/tpl/dokuwiki/css/mobile.less
index 0fbd0e8fe..75ae5dbe4 100644
--- a/lib/tpl/dokuwiki/css/mobile.less
+++ b/lib/tpl/dokuwiki/css/mobile.less
@@ -105,6 +105,15 @@
overflow: auto;
}
+/* push pagetools closer to content */
+#dokuwiki__pagetools {
+ top: 0;
+}
+.showSidebar #dokuwiki__pagetools {
+ top: 3.5em;
+}
+
+
/* _edit */
.dokuwiki div.section_highlight {
margin: 0 -1em;
@@ -299,5 +308,17 @@ body {
}
+} /* /@media */
+
+
+/* for screen heights smaller than the pagetools permit
+********************************************************************/
+@media only screen and (max-height: 400px) {
+// 400px is only roughly the required value, this may be wrong under non-standard circumstances
+
+#dokuwiki__pagetools div.tools {
+ position: static;
+}
+
} /* /@media */