Skip to content

Commit

Permalink
Fix css layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
meel-hd committed Jan 20, 2025
1 parent cf35cc9 commit 3582ef3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions weblate_web/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ html[dir="rtl"] .logo {
html[dir="rtl"] .logo a {
background-position: right center;
padding-right: 120px;
padding-left: unset;
float: right;
}

Expand Down Expand Up @@ -678,6 +679,10 @@ section {
float: left;
}

html[dir="rtl"] section {
float: right;
}

a.button,
input.button {
background-color: #2eccaa;
Expand Down Expand Up @@ -1189,9 +1194,7 @@ section.pricing .pricing-tabs li,

html[dir="rtl"] section.pricing .pricing-tabs li,
html[dir="rtl"] .pricing-table-tabs-menu ul li {
float: right;
margin-right: 0;
margin-left: 5px;
}

section.pricing .pricing-tabs li {
Expand Down Expand Up @@ -1348,7 +1351,6 @@ section.bottom .box {

html[dir="rtl"] section.bottom .box {
float: right;
margin-left: 0;
margin-right: 3%;
}

Expand Down Expand Up @@ -3330,7 +3332,7 @@ html[dir="rtl"] .contribution-list .box p {
}

html[dir="rtl"] .aboutus-list .box {
border-radius: 20px 0 20px 20px;
border-radius: 20px 20px 0 20px;
}

.aboutus-list .box:nth-child(4) {
Expand All @@ -3340,7 +3342,6 @@ html[dir="rtl"] .aboutus-list .box {
}

html[dir="rtl"] .aboutus-list .box:nth-child(4) {
margin-right: 0;
margin-left: 10%;
}

Expand Down Expand Up @@ -3396,8 +3397,9 @@ html[dir="rtl"] .aboutus-list .box::before {

html[dir="rtl"] .aboutus-list .box.blue::before {
border-width: 0 0 31px 31px;
right: inherit;
border-color: transparent transparent transparent #00d2e6;
left: 0;
right: inherit;
}

.aboutus-list .box.blue {
Expand Down Expand Up @@ -4441,7 +4443,7 @@ input.fullwidth {
padding: 0 20px;
}

.half-img.rotate img {
html[dir="rtl"] .half-img.rotate img {
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
Expand Down

0 comments on commit 3582ef3

Please sign in to comment.