Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
questions/qa-ltr-scripts-in-rtl-data: Upgrade to 2022 styling
Replace links to test files with in-document tests. Clarify final mirroring section. Add local.css & webfont for Tifinagh
- Loading branch information
Showing
4 changed files
with
206 additions
and
98 deletions.
There are no files selected for viewing
Binary file added
BIN
+6.49 KB
questions/qa-ltr-scripts-in-rtl-data/NotoSansTifinagh-Regularwebfont.woff2
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@font-face { | ||
font-family: 'Noto Sans Tifinagh WF'; | ||
src: url('NotoSansTifinagh-Regularwebfont.woff2') format('woff2'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
|
||
|
||
.browser_output { | ||
font-size: 1.15rem; | ||
border: 1px solid #ccc; | ||
padding: 1rem; | ||
line-height: 1.4; | ||
margin-inline-start: 7.5%; | ||
margin-inline-end: 32%; | ||
} | ||
.browser_output p { | ||
margin: 0; | ||
} | ||
.browser_output_title { | ||
font-size: .8rem; | ||
font-weight: bold; | ||
} | ||
.browser_output p:first-of-type { | ||
margin-block-end: .25rem; | ||
} | ||
|
||
|
||
|
||
|
||
/* STYLING FOR EXAMPLES */ | ||
|
||
.browser_output h2 { | ||
margin-block-start: 1rem; | ||
} | ||
|
||
[lang=ber] { | ||
font-family: 'Noto Sans Tifinagh WF'; | ||
} | ||
|
||
#out_bdo_mirrored bdo { | ||
transform: rotateY(180deg); display: inline-block; | ||
} | ||
#out_styled_rlo .rlo { | ||
unicode-bidi: bidi-override; direction: rtl; text-align: right; | ||
} | ||
#out_styled_rlo_bidi .rlo { unicode-bidi: bidi-override; direction: rtl; text-align: right; } | ||
#out_styled_rlo_bidi .lro { unicode-bidi: bidi-override; direction: ltr; } | ||
#out_mirrored bdo { transform: rotateY(180deg); display: inline-block; } | ||
#out_styling_bdo .rlo { unicode-bidi: bidi-override; direction: rtl; text-align: right; } | ||
#out_styling_bidi .rlo { unicode-bidi: bidi-override; direction: rtl; text-align: right; } | ||
#out_styling_bidi .lro { unicode-bidi: bidi-override; direction: ltr; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
var trans = { } | ||
|
||
trans.versions = ['en']; | ||
trans.versions = ['en'] | ||
|
||
trans.outofdatetranslations = []; | ||
trans.outofdatetranslations = [] | ||
|
||
trans.updatedtranslations = []; | ||
trans.updatedtranslations = [] | ||
|
||
trans.unlinkedtranslations = []; | ||
trans.unlinkedtranslations = [] |
Oops, something went wrong.