X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=src%2Fyuu%2Fdata%2Fyuu.css;h=4765449953a4d13313efdac1c72b68f72d3d5e05;hp=a7b3354eae5822cce66f7051f35560945b895544;hb=044a2130750065789dc88986bc8560c95af4b565;hpb=5418dde975e33d4fcd8991ea29a06ef92ade1669 diff --git a/src/yuu/data/yuu.css b/src/yuu/data/yuu.css index a7b3354..4765449 100644 --- a/src/yuu/data/yuu.css +++ b/src/yuu/data/yuu.css @@ -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; +}