1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-16 11:08:49 +00:00

Improve right-to-left language support

This commit is contained in:
Cadence Ember
2020-07-28 03:31:21 +12:00
parent 9e589b5860
commit 08ef1a8f28
8 changed files with 29 additions and 9 deletions

View File

@@ -141,6 +141,7 @@ body
.profile-counter
line-height: 1.3
unicode-bidi: plaintext
&.not-available
font-style: italic
@@ -615,8 +616,6 @@ body
color: map-get($theme, "foreground-go-control")
.text
border-radius: 6px 0px 0px 6px
border-right: none
max-width: 230px
width: 30vw
background-color: map-get($theme, "background-go-input")
@@ -624,8 +623,15 @@ body
@media screen and (max-width: 520px)
width: 80vw
.button
&.dir-ltr .text
border-right: none
border-radius: 6px 0px 0px 6px
&.dir-rtl .text
border-left: none
border-radius: 0px 6px 6px 0px
.button
padding-left: 12px
padding-right: 12px
cursor: pointer
@@ -634,6 +640,12 @@ body
&:hover
background-color: map-get($theme, "background-power-pale")
&.dir-ltr .button
border-radius: 0px 6px 6px 0px
&.dir-rtl .button
border-radius: 6px 0px 0px 6px
.about-container
background-color: map-get($theme, "background-power-secondary")
color: map-get($theme, "foreground-power-secondary")