mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 06:20:32 +02:00
09d1265cbb
This updates our `mdbook` version to the latest version in Git. I copied the `index.hbs` file from that version and back-ported our changes into it. I checked English and Danish locally and they both look fine. The new version has support for right-to-left languages: https://github.com/rust-lang/mdBook/pull/1641. We have an in-progress Persian translation. Download the `fa.zip` artifact after building the PR to check how it looks. I checked Persian locally and it looks mirrored like I expect (but we will need someone who can read Persian to actually verify this). Fixes #1164.
14 lines
147 B
CSS
14 lines
147 B
CSS
#language-list {
|
|
left: auto;
|
|
right: 10px;
|
|
}
|
|
|
|
[dir=rtl] #language-list {
|
|
left: 10px;
|
|
right: auto;
|
|
}
|
|
|
|
#language-list a {
|
|
color: inherit;
|
|
}
|