diff --git a/styles/prosilver/template/portal/_block_config.html b/styles/prosilver/template/portal/_block_config.html
index 3929d4de..1ded7d7f 100644
--- a/styles/prosilver/template/portal/_block_config.html
+++ b/styles/prosilver/template/portal/_block_config.html
@@ -1,17 +1,17 @@
-
+
-
+
-
+
diff --git a/styles/prosilver/template/portal/assets/portal.js b/styles/prosilver/template/portal/assets/portal.js
index 6807132a..7e4e08ed 100644
--- a/styles/prosilver/template/portal/assets/portal.js
+++ b/styles/prosilver/template/portal/assets/portal.js
@@ -42,21 +42,16 @@ phpbb.b3p_fix_right_column_margin = function() {
} else {
$portal_right.css(marginLeft, - ($portal_right.width() + 1));
}
- $portal_right.css('margin-top', $portal_center.height() + 'px');
- $portal_left.css('margin-top', $portal_center.height() + 'px');
} else {
$portal_right.css(marginLeft, 0);
- $portal_right.css('margin-top', 0);
}
} else {
- $portal_right.css('margin-top', '0px');
if (!$portal_center.length && $portal_left.length) {
$portal_right.css(marginLeft, 0);
} else {
$portal_right.css(marginLeft, -portal_right_width);
}
$portal_right.width(portal_right_width);
- $portal_left.css('margin-top', 0);
phpbb.b3pFixLeftColumnMargin();
}
};
diff --git a/styles/prosilver/template/portal/portal_body.html b/styles/prosilver/template/portal/portal_body.html
index cebf8698..64a74408 100644
--- a/styles/prosilver/template/portal/portal_body.html
+++ b/styles/prosilver/template/portal/portal_body.html
@@ -3,7 +3,7 @@
-
+
-
@@ -25,7 +25,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
@@ -63,7 +63,7 @@
-
+
@@ -79,7 +79,7 @@
-
+
-
diff --git a/styles/prosilver/theme/portal_all.css b/styles/prosilver/theme/portal_all.css
index ff00c5f3..6db95a4c 100644
--- a/styles/prosilver/theme/portal_all.css
+++ b/styles/prosilver/theme/portal_all.css
@@ -4,6 +4,10 @@
display: block;
}
+.rtl .portal-body-wrapper {
+ float: right;
+}
+
#portal-page-body {
clear: both;
margin: 4px 0;
diff --git a/styles/prosilver/theme/portal_all_responsive.css b/styles/prosilver/theme/portal_all_responsive.css
index 7f903b85..a173a691 100644
--- a/styles/prosilver/theme/portal_all_responsive.css
+++ b/styles/prosilver/theme/portal_all_responsive.css
@@ -7,9 +7,20 @@
margin-right: 60%;
}
+ .rtl .portal-body-center ul.topiclist dt .list-inner {
+ margin-right: 0;
+ margin-left: 60%;
+ }
+
.portal-body-center ul.topiclist dt {
margin-right: -60%;
}
+
+ .rtl .portal-body-center ul.topiclist dt {
+ margin-right: 0;
+ margin-left: -60%;
+ }
+
.portal-body-center dd.lastpost { width: auto; }
}
diff --git a/styles/prosilver/theme/portal_responsive.css b/styles/prosilver/theme/portal_responsive.css
index 1fb29713..a1aa7fa8 100644
--- a/styles/prosilver/theme/portal_responsive.css
+++ b/styles/prosilver/theme/portal_responsive.css
@@ -23,8 +23,26 @@
@media only screen and (max-width: 895px), only screen and (max-device-width: 895px)
{
- div#portal-right { width: 49% !important; }
- div#portal-left { width: 50% !important; }
+ div#portal-right {
+ width: 49% !important;
+ margin-left: 1% !important;
+ }
+
+ div#portal-left {
+ width: 50% !important;
+ margin-left: 0 !important;
+ }
+
+ .rtl div#portal-right {
+ margin-left: 0 !important;
+ margin-right: 1% !important;
+ }
+
+ .rtl div#portal-left {
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+ }
+
div#portal-center {
margin-right: 0 !important;
margin-left: 0 !important;