diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index a14ef214..433480f7 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -383,6 +383,11 @@ a.portal-forumtitle { height: 50px; } +.rtl .portal-clock-wrapper { + /* Arabic clocks are ltr */ + direction: ltr; +} + .portal-clock { position: relative; width: 100%; diff --git a/styles/subsilver2/template/portal/modules/clock_side.html b/styles/subsilver2/template/portal/modules/clock_side.html index 78c01598..3f6d3834 100644 --- a/styles/subsilver2/template/portal/modules/clock_side.html +++ b/styles/subsilver2/template/portal/modules/clock_side.html @@ -2,7 +2,7 @@
-
+
diff --git a/styles/subsilver2/theme/portal.css b/styles/subsilver2/theme/portal.css index 37bc45a1..eecc85ad 100644 --- a/styles/subsilver2/theme/portal.css +++ b/styles/subsilver2/theme/portal.css @@ -2,12 +2,18 @@ -------------------------------------- */ #portal-clock { position: relative; - width: 100%; + width: 128px; + margin: -20px auto; +} + +.rtl #portal-clock { + /* Arabic clocks are ltr */ + direction: ltr; } #portal-clock-front, #portal-clock-back { position: absolute; - top: 0px; + top: 0; } #portal-clock-front-upper div {