X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/14eaee7aef2e0f89f0210f087d10eeaed0bedf43..a8282aa69e00292bec986722c5230ff89f96f450:/src/wolnelektury/static/2022/styles/base/_global.scss?ds=sidebyside diff --git a/src/wolnelektury/static/2022/styles/base/_global.scss b/src/wolnelektury/static/2022/styles/base/_global.scss new file mode 100644 index 000000000..0513cc0fe --- /dev/null +++ b/src/wolnelektury/static/2022/styles/base/_global.scss @@ -0,0 +1,40 @@ +/* ------------------------------ + Base: Global +------------------------------ */ + +*, *:after, *:before { + box-sizing: border-box; +} + +:focus { + outline: $color-black auto 2px; + outline-offset: 2px; +} + +html, +body { + -webkit-overflow-scrolling: auto; +} + +body { + color: $color-black; + background-color: $color-white; + overflow-x: hidden; + + &.using-mouse { + *:focus { + outline: 0 !important; + } + } +} + +.visibility-hidden { + visibility: hidden !important; +} + +.simpleParallax { + width: 100%; + display: flex; + align-items: center; + justify-content: center; +}