summaryrefslogtreecommitdiff
path: root/css/layout-liquid-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-liquid-rtl.css
downloadscilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.gz
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.bz2
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.zip
initial commit
Diffstat (limited to 'css/layout-liquid-rtl.css')
-rwxr-xr-xcss/layout-liquid-rtl.css68
1 files changed, 68 insertions, 0 deletions
diff --git a/css/layout-liquid-rtl.css b/css/layout-liquid-rtl.css
new file mode 100755
index 0000000..c3aed02
--- /dev/null
+++ b/css/layout-liquid-rtl.css
@@ -0,0 +1,68 @@
+/**
+ * @file
+ * RTL companion for the layout-liquid.css file.
+ */
+
+
+/*
+ * Content
+ */
+#content {
+ float: right;
+ margin-left: -100%; /* Negative value of #content's width + right margin. */
+ margin-right: 0;
+}
+
+.sidebar-first #content .section {
+ padding-left: 0;
+ padding-right: 200px; /* The width + right margin of .region-sidebar-first. */
+}
+
+.sidebar-second #content .section {
+ padding-left: 200px; /* The width + left margin of .region-sidebar-second. */
+ padding-right: 0;
+}
+
+/*
+ * 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: left;
+ margin-left: 0;
+ margin-right: -200px; /* Negative value of .region-sidebar-second's width + left margin. */
+}
+
+.region-sidebar-second .section {
+ margin: 0 20px 0 0;
+}