Serialize whole quote
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / base / _global.scss
index 0513cc0..07b9780 100644 (file)
@@ -3,28 +3,35 @@
 ------------------------------ */
 
 *, *:after, *:before {
-       box-sizing: border-box;
+  box-sizing: border-box;
 }
 
-:focus {
-  outline: $color-black auto 2px;
+:root {
+    --focus-ring: #083F4D;
+}
+
+:focus-visible {
+  outline: 2px solid var(--focus-ring);
   outline-offset: 2px;
 }
 
+html {
+  scrollbar-gutter: stable;
+}
+
 html,
 body {
   -webkit-overflow-scrolling: auto;
 }
 
 body {
-       color: $color-black;
-       background-color: $color-white;
+  color: $color-black;
+  background-color: $color-white;
   overflow-x: hidden;
 
-  &.using-mouse {
-    *:focus {
-      outline: 0 !important;
-    }
+  &.popup-open {
+    overflow-y: hidden;
+    height: 100vh;
   }
 }
 
@@ -38,3 +45,11 @@ body {
   align-items: center;
   justify-content: center;
 }
+
+
+a {
+    color: $color-primary;
+    &:hover {
+        text-decoration: underline;
+    }
+}