Skip to content

Commit

Permalink
Merge pull request #12 from OpenPecha/feat/text-direction&alignment
Browse files Browse the repository at this point in the history
Feat/text direction&alignment
  • Loading branch information
Lungsangg authored Jan 29, 2024
2 parents c121009 + eec587c commit d749a99
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ input.noselect {
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.interface-hebrew .header {
direction: rtl;
direction: ltr;
}
.headerInner .headerNavSection {
display: flex;
Expand Down Expand Up @@ -825,7 +825,7 @@ div:has(#bannerMessage) + .readerApp.singlePanel .mobileNavMenu {
width: max-content;
}
.interface-hebrew .header .interfaceLinks .interfaceLinks-menu {
left: 0px;
left: -135px;
min-width: 150px;
width: max-content;
}
Expand Down Expand Up @@ -1485,8 +1485,8 @@ div.interfaceLinks-row a {
direction: ltr; /* Even in Hebrew Interface, we want scroll bars on the right */
}
.readerPanel .he {
direction: rtl;
text-align: right;
direction: ltr;
text-align: left;
unicode-bidi: initial;
}
}
Expand All @@ -1504,7 +1504,7 @@ div.interfaceLinks-row a {
.interface-hebrew .readerPanel.bilingual .readerNavMenu .gridBox,
.readerPanel.hebrew .readerNavSection,
.readerPanel.hebrew .readerNavMenu .gridBox {
direction: rtl;
direction: ltr;
}
.interface-english .readerPanel.hebrew .readerNavMenu .readerTocResources .gridBox {
direction: ltr;
Expand All @@ -1530,7 +1530,7 @@ div.interfaceLinks-row a {
}
.readerPanel.hebrew .he {
display: inline;
text-align: right;
text-align: left;
}
.readerPanel.hebrew .en {
display: none;
Expand Down Expand Up @@ -1694,7 +1694,7 @@ div.interfaceLinks-row a {
--hebrew-font: var(--hebrew-sans-serif-font-family);
}
.interface-hebrew .sidebarLayout {
direction: rtl;
direction: ltr;
}
.readerPanel.hebrew .followsContentLang {
direction: rtl;
Expand Down Expand Up @@ -5280,7 +5280,7 @@ body .ui-autocomplete.dictionary-toc-autocomplete .ui-menu-item a.ui-state-focus
}
.bilingual .segment > .he,
.bilingual .segment > p > .he {
text-align: right;
text-align: left;
}
.stacked.bilingual .basetext .segment {
margin-bottom: 14px;
Expand Down

0 comments on commit d749a99

Please sign in to comment.