Added new design
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / base / _global.scss
diff --git a/src/wolnelektury/static/2022/styles/base/_global.scss b/src/wolnelektury/static/2022/styles/base/_global.scss
new file mode 100644 (file)
index 0000000..0513cc0
--- /dev/null
@@ -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;
+}