Rebalance titles in overlays.
[pwl6.git] / src / yuu / data / yuu.css
index a7b3354..4765449 100644 (file)
@@ -1,7 +1,7 @@
 /* Copyright 2014 Yukkuri Games
    Licensed under the terms of the GNU GPL v2 or later
-   @license http://www.gnu.org/licenses/gpl-2.0.html
-   @source: http://yukkurigames.com/yuu/
+   @license https://www.gnu.org/licenses/gpl-2.0.html
+   @source: https://yukkurigames.com/yuu/
 */
 
 @font-face {
@@ -234,8 +234,14 @@ div[data-yuu-command=dismiss] {
     height: 1.25em;
     text-align: center;
     margin-left: -1.3333em;
-    position: sticky;
     top: 0;
+    position: sticky;
+        /* What's really wanted here is 'position: fixed within within the
+           parent' but that's not a thing. position: sticky is close
+           except it leaves it in normal layout flow, which requires
+           another hack... */
+    margin-bottom: -1em;
+        /* Don't take up so much vertical space during layout */
 }
 
 div[data-yuu-command=dismiss]:after {
@@ -372,3 +378,11 @@ dd {
 body.standalone .browser, body.browser .standalone {
     display: none;
 }
+
+#preferences {
+    -webkit-touch-callout: none;
+    -webkit-user-select: none;
+    -moz-user-select: none;
+    -ms-user-select: none;
+    user-select: none;
+}