Improve renderization of RTL (Right-to-left) languages

<screen> and <programlisting> are always ltr and align to the left
because they usually have pieces of code and commands.

This will lock <screen> and <programlisting> and RTL languages
won't change that.

PR:		247184
Approved by:	doceng (bcr)
Differential Revision:	https://reviews.freebsd.org/D25238
This commit is contained in:
Danilo G. Baio 2020-06-27 21:53:38 +00:00
parent d8432b1e37
commit 94930eb969
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54300

View file

@ -289,6 +289,8 @@ pre.screen {
background-color: #edc;
border: 1px solid #ccc;
border-radius: 4px;
text-align: left;
direction: ltr;
}
pre.programlisting {
@ -299,6 +301,8 @@ pre.programlisting {
background-color: #eee;
border: 1px solid #ccc;
border-radius: 4px;
text-align: left;
direction: ltr;
}
@media screen { /* hide from IE3 */