55 lines
1.0 KiB
SCSS
55 lines
1.0 KiB
SCSS
// High contrast mode styles
|
|
[data-high-contrast="true"] {
|
|
--color-bg: #ffffff;
|
|
--color-text: #000000;
|
|
--color-border: #000000;
|
|
--color-alt-bg: #f0f0f0;
|
|
|
|
* {
|
|
border-color: #000000 !important;
|
|
}
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
button {
|
|
border: 2px solid #000000;
|
|
}
|
|
}
|
|
|
|
[data-theme="dark"][data-high-contrast="true"] {
|
|
--color-bg: #000000;
|
|
--color-text: #ffffff;
|
|
--color-border: #ffffff;
|
|
--color-alt-bg: #1a1a1a;
|
|
}
|
|
|
|
.skip-to-main {
|
|
&:focus {
|
|
position: fixed !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
padding: 8px 16px !important;
|
|
background: #000 !important;
|
|
color: #fff !important;
|
|
z-index: 10000 !important;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border-width: 0;
|
|
}
|
|
|