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/forum | |
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/forum')
-rw-r--r-- | modules/forum/forum-rtl.css | 18 | ||||
-rw-r--r-- | modules/forum/forum.css | 14 |
2 files changed, 25 insertions, 7 deletions
diff --git a/modules/forum/forum-rtl.css b/modules/forum/forum-rtl.css new file mode 100644 index 000000000..cb5a7ba33 --- /dev/null +++ b/modules/forum/forum-rtl.css @@ -0,0 +1,18 @@ +/* $Id $ */ + +#forum tr td.forum { + padding-left: inherit; + padding-right: 25px; + background-position: 98% 2px; +} +.forum-topic-navigation { + padding: 1em 3em 0 0; +} +.forum-topic-navigation .topic-previous { + text-align: left; + float: right; +} +.forum-topic-navigation .topic-next { + text-align: right; + float: left; +} diff --git a/modules/forum/forum.css b/modules/forum/forum.css index 875cf608c..6e13dae23 100644 --- a/modules/forum/forum.css +++ b/modules/forum/forum.css @@ -11,8 +11,8 @@ text-align: center; } #forum tr td.forum { - padding-left: 25px; - background-position: 2px 2px; + padding-left: 25px; /* LTR */ + background-position: 2px 2px; /* LTR */ background-image: url(../../misc/forum-default.png); background-repeat: no-repeat; } @@ -20,19 +20,19 @@ background-image: url(../../misc/forum-new.png); } .forum-topic-navigation { - padding: 1em 0 0 3em; + padding: 1em 0 0 3em; /* LTR */ border-top: 1px solid #888; border-bottom: 1px solid #888; text-align: center; padding: 0.5em; } .forum-topic-navigation .topic-previous { - text-align: right; - float: left; + text-align: right; /* LTR */ + float: left; /* LTR */ width: 46%; } .forum-topic-navigation .topic-next { - text-align: left; - float: right; + text-align: left; /* LTR */ + float: right; /* LTR */ width: 46%; } |