summaryrefslogtreecommitdiff
path: root/lib/styles
diff options
context:
space:
mode:
Diffstat (limited to 'lib/styles')
-rw-r--r--lib/styles/all.css2
-rw-r--r--lib/styles/index.html5
-rw-r--r--lib/styles/print.css20
-rw-r--r--lib/styles/screen.css8
4 files changed, 15 insertions, 20 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/index.html b/lib/styles/index.html
index d614603ac..977f90e10 100644
--- a/lib/styles/index.html
+++ b/lib/styles/index.html
@@ -1,6 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
<head>
<meta http-equiv="refresh" content="0; URL=../../" />
<meta name="robots" content="noindex" />
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; }