diff options
author | 2024-04-16 21:00:37 +0200 | |
---|---|---|
committer | 2024-04-18 17:00:12 +0200 | |
commit | 9e202ee524f7fd4657be343c2c020c8e5191180f (patch) | |
tree | 02787b98f5490d48fa03577ed589f03c20cdc878 /subprojects/docs/src/css/sr-only.css | |
parent | docs: contributing guide (diff) | |
download | refinery-9e202ee524f7fd4657be343c2c020c8e5191180f.tar.gz refinery-9e202ee524f7fd4657be343c2c020c8e5191180f.tar.zst refinery-9e202ee524f7fd4657be343c2c020c8e5191180f.zip |
docs: update landing page
Diffstat (limited to 'subprojects/docs/src/css/sr-only.css')
-rw-r--r-- | subprojects/docs/src/css/sr-only.css | 22 |
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 | } | ||