diff options
author | 2021-10-02 21:27:08 +0200 | |
---|---|---|
committer | 2021-10-02 21:53:43 +0200 | |
commit | 3e6b377bb29c661b36329de5f18f69cb3ee6e01a (patch) | |
tree | fecd19a71a32b492dbfc8b057fa3143416ccf494 /styles/global.scss | |
parent | 49652bec567ddb75fb6041c2a34ddb37e9694f08 (diff) | |
download | my_apps-3e6b377bb29c661b36329de5f18f69cb3ee6e01a.tar.gz my_apps-3e6b377bb29c661b36329de5f18f69cb3ee6e01a.tar.bz2 my_apps-3e6b377bb29c661b36329de5f18f69cb3ee6e01a.zip |
styling refactor, player audio mode
Diffstat (limited to 'styles/global.scss')
-rw-r--r-- | styles/global.scss | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/styles/global.scss b/styles/global.scss index 7fcdb41..0b63e98 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -2,31 +2,18 @@ @import "global/themes"; @import "global/window"; -main { +html, +body { position: fixed; - top: 2em; - left: 0; - bottom: 0; + top: 0; right: 0; - - &.noHeader { - top: 0; - } -} - -html { - position: fixed; - height: 100vh; - width: 100vw; + bottom: 0; + left: 0; + overflow: hidden; + overscroll-behavior-y: none; } body { - position: fixed; - height: 100vh; - width: 100vw; - overflow: hidden; - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, Noto Sans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; @@ -39,23 +26,31 @@ textarea, input { } .container { + height: 100%; + width: 100%; + flex-grow: 1; margin: 1.5rem auto; padding-left: 1rem; padding-right: 1rem; + overflow: hidden; } .fixed { - position: fixed; + position: absolute; top: 0; right: 0; bottom: 0; left: 0; } -.hidden { +.hide { display: none; } +.noHeader { + height: 100%; +} + .mobile-only { display: none!important; |