svn commit: r54300 - head/share/misc
"Danilo G. Baio" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
Author: dbaio (ports committer)
Date: Sat Jun 27 21:53:38 2020
New Revision: 54300
URL: https://svnweb.freebsd.org/changeset/doc/54300
Log:
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
Modified:
head/share/misc/docbook.css
Modified: head/share/misc/docbook.css
==============================================================================
--- head/share/misc/docbook.css Sat Jun 27 18:15:55 2020 (r54299)
+++ head/share/misc/docbook.css Sat Jun 27 21:53:38 2020 (r54300)
@@ -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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"