fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deploy fixes
[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
index
5bcfdbe
..
07b9780
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/base/_global.scss
+++ b/
src/wolnelektury/static/2022/styles/base/_global.scss
@@
-6,11
+6,19
@@
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;
}
outline-offset: 2px;
}
+html {
+ scrollbar-gutter: stable;
+}
+
html,
body {
-webkit-overflow-scrolling: auto;
html,
body {
-webkit-overflow-scrolling: auto;
@@
-25,12
+33,6
@@
body {
overflow-y: hidden;
height: 100vh;
}
overflow-y: hidden;
height: 100vh;
}
-
- &.using-mouse {
- *:focus {
- outline: 0 !important;
- }
- }
}
.visibility-hidden {
}
.visibility-hidden {
@@
-43,3
+45,11
@@
body {
align-items: center;
justify-content: center;
}
align-items: center;
justify-content: center;
}
+
+
+a {
+ color: $color-primary;
+ &:hover {
+ text-decoration: underline;
+ }
+}