aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/docs/src/css/sr-only.css
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/docs/src/css/sr-only.css')
-rw-r--r--subprojects/docs/src/css/sr-only.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/subprojects/docs/src/css/sr-only.css b/subprojects/docs/src/css/sr-only.css
new file mode 100644
index 00000000..dbd65fd3
--- /dev/null
+++ b/subprojects/docs/src/css/sr-only.css
@@ -0,0 +1,22 @@
1/*
2 * Copyright (c) 2010–2021 Kitty Giraudel
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 * This snippet was copied from
7 * https://kittygiraudel.com/snippets/sr-only-class/
8 */
9
10.sr-only {
11 border: 0 !important;
12 clip: rect(1px, 1px, 1px, 1px) !important;
13 -webkit-clip-path: inset(50%) !important;
14 clip-path: inset(50%) !important;
15 height: 1px !important;
16 overflow: hidden !important;
17 margin: -1px !important;
18 padding: 0 !important;
19 position: absolute !important;
20 width: 1px !important;
21 white-space: nowrap !important;
22}