X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a8282aa69e00292bec986722c5230ff89f96f450..2c101e78aee8cd3ccf3f24a0ecaa22fa77593c5c:/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 index 0513cc0fe..d81a0af56 100644 --- a/src/wolnelektury/static/2022/styles/base/_global.scss +++ b/src/wolnelektury/static/2022/styles/base/_global.scss @@ -3,7 +3,7 @@ ------------------------------ */ *, *:after, *:before { - box-sizing: border-box; + box-sizing: border-box; } :focus { @@ -17,10 +17,15 @@ body { } body { - color: $color-black; - background-color: $color-white; + color: $color-black; + background-color: $color-white; overflow-x: hidden; + &.popup-open { + overflow-y: hidden; + height: 100vh; + } + &.using-mouse { *:focus { outline: 0 !important; @@ -38,3 +43,11 @@ body { align-items: center; justify-content: center; } + + +a { + color: $color-primary; + &:hover { + text-decoration: underline; + } +}