diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:02:48 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:02:48 -0800 |
| commit | 9ff540ba3771a1c0a396ca3f7a685a94b4e0f622 (patch) | |
| tree | 37e9f5baa41270232e785ddb11c125cb57be3484 /src/rustbook/css.rs | |
| parent | 15dd0a5acba78e7d086f0b9fe610e66f3369ed63 (diff) | |
| parent | e371d23486a5b42f41cd220ebef1689d49e3fe94 (diff) | |
| download | rust-9ff540ba3771a1c0a396ca3f7a685a94b4e0f622.tar.gz rust-9ff540ba3771a1c0a396ca3f7a685a94b4e0f622.zip | |
rollup merge of #21494: jatinn/jsnav
Added javascript code to insert next/prev links in the rust book. Related Issue - https://github.com/rust-lang/rust/issues/20835
Diffstat (limited to 'src/rustbook/css.rs')
| -rw-r--r-- | src/rustbook/css.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rustbook/css.rs b/src/rustbook/css.rs index 7af95350c95..8b933fdd6dd 100644 --- a/src/rustbook/css.rs +++ b/src/rustbook/css.rs @@ -48,6 +48,7 @@ body { margin-left: auto; margin-right:auto; max-width: 750px; + padding-bottom: 50px; } .chapter { @@ -125,4 +126,12 @@ body { padding: 0; } +.left { + float: left; +} + +.right { + float: right; +} + "#; |
