diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-27 17:57:48 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-27 17:57:48 +0000 |
commit | 860947d3c87e8ebd53031ac8077d1dce24716e32 (patch) | |
tree | a333fef28fb5ad71b93a6b933a384f6439ba99d2 /modules/book | |
parent | 7f83d274b5eead1c1dc0a92036afccc11cdbd5d8 (diff) | |
download | brdo-860947d3c87e8ebd53031ac8077d1dce24716e32.tar.gz brdo-860947d3c87e8ebd53031ac8077d1dce24716e32.tar.bz2 |
#145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.
This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book-rtl.css | 8 | ||||
-rw-r--r-- | modules/book/book.css | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/modules/book/book-rtl.css b/modules/book/book-rtl.css new file mode 100644 index 000000000..f9bcde48c --- /dev/null +++ b/modules/book/book-rtl.css @@ -0,0 +1,8 @@ +/* $Id$ */ + +.book-navigation .page-previous { + float: right; +} +.book-navigation .page-up { + float: right; +} diff --git a/modules/book/book.css b/modules/book/book.css index 1c8ab8335..187a5c852 100644 --- a/modules/book/book.css +++ b/modules/book/book.css @@ -14,13 +14,13 @@ text-align: left; width: 42%; display: block; - float: left; + float: left; /* LTR */ } .book-navigation .page-up { margin: 0 5%; width: 4%; display: block; - float: left; + float: left; /* LTR */ } .book-navigation .page-next { text-align: right; |