summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorKatriel Traum <katriel@penguin.org.il>2007-04-07 18:44:09 +0200
committerKatriel Traum <katriel@penguin.org.il>2007-04-07 18:44:09 +0200
commiteca062dcdb31b27a41185626f6d6f01d2a5d2f23 (patch)
tree309b7729eb8e7665dd5d9d06820640e69f826d96 /lib/tpl
parent93ef9bd0c8dec027d1e7bc0597e9dfa8721415dc (diff)
downloadrpg-eca062dcdb31b27a41185626f6d6f01d2a5d2f23.tar.gz
rpg-eca062dcdb31b27a41185626f6d6f01d2a5d2f23.tar.bz2
better RTL support
Attached is a patch I worked on with Dotan Kamber for better RTL support in Dokuwiki. darcs-hash:20070407164409-3c7c8-43c8ae51d85386835840ea17f6a9625157faccc2.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/default/rtl.css51
1 files changed, 29 insertions, 22 deletions
diff --git a/lib/tpl/default/rtl.css b/lib/tpl/default/rtl.css
index d50614356..99ba72022 100644
--- a/lib/tpl/default/rtl.css
+++ b/lib/tpl/default/rtl.css
@@ -43,18 +43,22 @@ div.meta div.doc {
/* ------------------ Design corrections --------------------------------- */
-ul, ol {
+div.dokuwiki ul, ol {
margin: 0.5em 1.5em 0.5em 0;
}
-a.urlextern,a.interwiki,a.windows{
+div.dokuwiki a.urlextern,
+div.dokuwiki a.interwiki,
+div.dokuwiki a.windows,
+div.dokuwiki a.mail,
+div.dokuwiki a.mail.JSnocheck {
/* should work but doesn't - so we just disable icons here*/
/*
background-position: right 1px;
padding-right: 16px;
*/
background-image: none !important;
- padding: 0;
+ padding: 0px 0px 0px 0px;
}
div.secedit input.button {
@@ -62,50 +66,53 @@ div.secedit input.button {
}
/* headlines */
-h1, h2, h3, h4, h5 {
+div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 {
clear: right;
}
/* special headlines */
-h1 {margin-left: 0px; margin-right: 0px;}
-h2 {margin-left: 0px; margin-right: 20px;}
-h3 {margin-left: 0px; margin-right: 40px;}
-h4 {margin-left: 0px; margin-right: 60px;}
-h5 {margin-left: 0px; margin-right: 80px;}
+div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;}
+div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;}
+div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;}
+div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;}
+div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;}
/* indent different sections */
-div.level1 {margin-left: 0px; margin-right: 3px;}
-div.level2 {margin-left: 0px; margin-right: 23px;}
-div.level3 {margin-left: 0px; margin-right: 43px;}
-div.level4 {margin-left: 0px; margin-right: 63px;}
-div.level5 {margin-left: 0px; margin-right: 83px;}
+div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;}
+div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;}
+div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;}
+div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;}
+div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;}
/* TOC control */
-div.toc {
+div.dokuwiki div.toc {
float: left;
- margin-left: 0;
- margin-right: 2em;
}
-div.tocheader {
+div.dokuwiki div.tocheader {
text-align: right;
}
-#tocinside {
+div.dokuwiki #toc__inside {
text-align: right;
}
-ul.toc {
+div.dokuwiki ul.toc {
padding: 0;
padding-right: 1em;
}
-ul.toc li {
+div.dokuwiki ul.toc li {
background-position: right 0.6em;
padding-right:0.4em;
+ direction: rtl;
}
-ul.toc li.clear {
+div.dokuwiki ul.toc li.clear {
padding-right:0.4em;
}
+div.dokuwiki pre {
+ text-align: left;
+}
+