From 860947d3c87e8ebd53031ac8077d1dce24716e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 27 May 2007 17:57:48 +0000 Subject: #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. --- modules/node/node-rtl.css | 8 ++++++++ modules/node/node.css | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 modules/node/node-rtl.css (limited to 'modules/node') diff --git a/modules/node/node-rtl.css b/modules/node/node-rtl.css new file mode 100644 index 000000000..d27041892 --- /dev/null +++ b/modules/node/node-rtl.css @@ -0,0 +1,8 @@ +/* $Id $ */ + +#node-admin-buttons { + float: right; + margin-left: inherit; + margin-right: 0.5em; + clear: left; +} diff --git a/modules/node/node.css b/modules/node/node.css index 029e83b8e..67bb8c727 100644 --- a/modules/node/node.css +++ b/modules/node/node.css @@ -13,9 +13,9 @@ width: 100%; } #node-admin-buttons { - float: left; - margin-left: 0.5em; - clear: right; + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ } td.revision-current { background: #ffc; -- cgit v1.2.3