summaryrefslogtreecommitdiff
path: root/lib/styles
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2006-03-02 15:36:43 +0100
committerAndreas Gohr <gohr@cosmocode.de>2006-03-02 15:36:43 +0100
commit7c96e92f0ca5a86b89ff1e7eb72cdde27cf1b57c (patch)
tree4cb1f655de10cee037de445680073baa0a104866 /lib/styles
parent9edac8a88163139d215ee39ec2c907478b9c9402 (diff)
downloadrpg-7c96e92f0ca5a86b89ff1e7eb72cdde27cf1b57c.tar.gz
rpg-7c96e92f0ca5a86b89ff1e7eb72cdde27cf1b57c.tar.bz2
load spellchecker styles only when needed fixes #539
darcs-hash:20060302143643-6e07b-ff99705142a057d0c53b1b6b5c5e2cfc73ff8902.gz
Diffstat (limited to 'lib/styles')
-rw-r--r--lib/styles/spellcheck.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/styles/spellcheck.css b/lib/styles/spellcheck.css
new file mode 100644
index 000000000..c2d43e0cd
--- /dev/null
+++ b/lib/styles/spellcheck.css
@@ -0,0 +1,27 @@
+/**
+ * Basic styles for the spellchecker. Only included when the spellchek option
+ * is enabled. These styles are the absolute minimum to make the spellchecker
+ * work. Templates should add addional styles for making it look nice.
+ */
+
+div.dokuwiki div#spell__suggest {
+ position: absolute;
+ left: 0;
+ top: 0;
+ display: none;
+ z-index: 2;
+}
+
+div.dokuwiki div#spell__result {
+ display:none;
+ font-family:monospace;
+ overflow: auto;
+ z-index: 1;
+
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+