diff options
Diffstat (limited to 'lib/styles')
-rw-r--r-- | lib/styles/all.css | 2 | ||||
-rw-r--r-- | lib/styles/print.css | 20 | ||||
-rw-r--r-- | lib/styles/screen.css | 8 |
3 files changed, 13 insertions, 17 deletions
diff --git a/lib/styles/all.css b/lib/styles/all.css index 5d7eb7d14..ff4bd2457 100644 --- a/lib/styles/all.css +++ b/lib/styles/all.css @@ -1,5 +1,5 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic screen and print styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ diff --git a/lib/styles/print.css b/lib/styles/print.css index 76bc6d3bc..a5c39e889 100644 --- a/lib/styles/print.css +++ b/lib/styles/print.css @@ -1,23 +1,15 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic print styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ -/* messages with msg() */ -div.error, +div.error, /* messages with msg() */ div.info, div.success, -div.notify { - display: none; -} - -/* section edit button */ -.secedit { - display: none; -} - -/* modal windows */ -.JSpopup, +div.notify, +.secedit, /* section edit button */ +.a11y, /* accessibly hidden text */ +.JSpopup, /* modal windows */ #link__wiz { display: none; } diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 8ada48932..241904d7c 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -1,5 +1,5 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic screen styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ @@ -73,12 +73,16 @@ div.notify { (e.g. for screen readers or to keep access keys working) */ .a11y { position: absolute !important; - left: -10000px !important; + left: -99999em !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; } +[dir=rtl] .a11y { + left: auto !important; + right: -99999em !important; +} /* syntax highlighting code */ .code .br0 { color: #66cc66; } |