diff options
author | Anika Henke <anika@selfthinker.org> | 2011-09-16 19:03:49 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-09-16 19:03:49 +0100 |
commit | 2495eea27a35c247d41ef34086fff31647714b70 (patch) | |
tree | 3a197f40f492764603916fe8010793445c3098d8 /lib/styles | |
parent | 22129acd14ddbf9f714169ba94269787d675ff7b (diff) | |
download | rpg-2495eea27a35c247d41ef34086fff31647714b70.tar.gz rpg-2495eea27a35c247d41ef34086fff31647714b70.tar.bz2 |
improved core .a11y class
Diffstat (limited to 'lib/styles')
-rw-r--r-- | lib/styles/screen.css | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 218385f88..5269bc206 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -67,6 +67,16 @@ div.notify { border-style: inset; } +/* hide something accessibly + (e.g. for screen readers or to keep access keys working) */ +.a11y { + position: absolute !important; + left: -10000px !important; + top: auto !important; + width: 1px !important; + height: 1px !important; + overflow: hidden !important; +} /* syntax highlighting code */ .code .br0 { color: #66cc66; } @@ -91,9 +101,3 @@ div.notify { .code .re4 { color: #009999; } .code .st0 { color: #ff0000; } .code .sy0 { color: #66cc66; } - -.a11y { - /* No display: none to keep accesskeys working */ - margin-left: -10000px !important; - margin-top: -10000px !important; -} |