mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
Fixture code and footer content tags in rtl content (#1433)
Part of #671 and #1413 In the code part of content which always is in english and must be `text-align: left` but with `<html ... dir=rtl >` cuz conflict. --------- Co-authored-by: Kaveh <hamidrkp@riseup.net>
This commit is contained in:
parent
9d2043e17f
commit
8f42baf968
@ -35,6 +35,7 @@ additional-css = [
|
|||||||
"theme/css/speaker-notes.css",
|
"theme/css/speaker-notes.css",
|
||||||
"theme/css/language-picker.css",
|
"theme/css/language-picker.css",
|
||||||
"theme/css/frontmatter.css",
|
"theme/css/frontmatter.css",
|
||||||
|
"theme/css/rtl.css",
|
||||||
]
|
]
|
||||||
site-url = "/comprehensive-rust/"
|
site-url = "/comprehensive-rust/"
|
||||||
git-repository-url = "https://github.com/google/comprehensive-rust"
|
git-repository-url = "https://github.com/google/comprehensive-rust"
|
||||||
|
7
theme/css/rtl.css
Normal file
7
theme/css/rtl.css
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[dir="rtl"] .hljs,
|
||||||
|
[dir="rtl"] pre > code {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
[dir="rtl"] #cookieBar {
|
||||||
|
direction: ltr;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user