X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=src%2Fyuu%2Fdata%2Fyuu.css;h=4765449953a4d13313efdac1c72b68f72d3d5e05;hp=4e2eb23cfb32720356173d26a581eb1f206b0113;hb=044a2130750065789dc88986bc8560c95af4b565;hpb=5b542bda6765c3dc032990f18ea86958b9e9ece6 diff --git a/src/yuu/data/yuu.css b/src/yuu/data/yuu.css index 4e2eb23..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 { @@ -196,6 +196,10 @@ pre#yuu-licensing { -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; } +noscript .yuu-overlay { + display: block; +} + /* Overlays are focusable but should not show it - they are always somewhere in the event tree when visible. */ .yuu-overlay:focus { @@ -230,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 { @@ -294,6 +304,7 @@ input[type=checkbox][data-yuu-command]:focus + label[for] { input[type=range][data-yuu-command] { -webkit-appearance: none; background-color: gray; + width: 95%; } input[type=range][data-yuu-command]::-moz-range-track { @@ -367,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; +}