summaryrefslogtreecommitdiff
path: root/css/layout-fixed-rtl.css
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-31 17:13:33 +0530
committerJayaram R Pai2014-07-31 17:13:33 +0530
commit69f0119c7262602af46fd6a80e4558089835fa01 (patch)
tree783210690cc87ccd6d9139b7d1c184f49d07ec3b /css/layout-fixed-rtl.css
downloadscilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.gz
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.bz2
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.zip
initial commit
Diffstat (limited to 'css/layout-fixed-rtl.css')
-rwxr-xr-xcss/layout-fixed-rtl.css74
1 files changed, 74 insertions, 0 deletions
diff --git a/css/layout-fixed-rtl.css b/css/layout-fixed-rtl.css
new file mode 100755
index 0000000..7e12e0b
--- /dev/null
+++ b/css/layout-fixed-rtl.css
@@ -0,0 +1,74 @@
+/**
+ * @file
+ * RTL companion for the layout-fixed.css file.
+ */
+
+
+/*
+ * Content
+ */
+#content,
+.no-sidebars #content {
+ float: right;
+ margin-left: -960px; /* Negative value of #content's width + right margin. */
+ margin-right: 0;
+}
+
+.sidebar-first #content {
+ margin-left: -960px; /* Negative value of #content's width + right margin. */
+ margin-right: 200px; /* The width of .region-sidebar-first. */
+}
+
+.sidebar-second #content {
+ margin-left: -760px; /* Negative value of #content's width + right margin. */
+ margin-right: 0;
+}
+
+.two-sidebars #content {
+ margin-left: -760px; /* Negative value of #content's width + right margin. */
+ margin-right: 200px; /* The width of .region-sidebar-first */
+}
+
+/*
+ * Navigation
+ */
+#navigation {
+ float: right;
+ margin-left: -100%; /* Negative value of #navigation's width + right margin. */
+ margin-right: 0;
+}
+
+#navigation ul /* Primary and secondary links */ {
+ text-align: right;
+}
+
+#navigation li /* A simple method to get navigation links to appear in one line. */ {
+ float: right;
+ padding: 0 0 0 10px;
+}
+
+/*
+ * First sidebar
+ */
+.region-sidebar-first {
+ float: right;
+ margin-left: -200px; /* Negative value of .region-sidebar-first's width + right margin. */
+ margin-right: 0;
+}
+
+.region-sidebar-first .section {
+ margin: 0 0 0 20px;
+}
+
+/*
+ * Second sidebar
+ */
+.region-sidebar-second {
+ float: right;
+ margin-left: -960px; /* Negative value of .region-sidebar-second's width + right margin. */
+ margin-right: 760px; /* Width of content + sidebar-first. */
+}
+
+.region-sidebar-second .section {
+ margin: 0 20px 0 0;
+}