diff options
| author | bors <bors@rust-lang.org> | 2015-10-26 15:50:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-26 15:50:45 +0000 |
| commit | c5d650cf74e76561b97dcbf7e4836f19bf1c1e6e (patch) | |
| tree | 418125d3908a23e298502e54442402f00bb07c8f /src | |
| parent | 0b9edc77c57c86c49cf8413b1022f1279e7f3f38 (diff) | |
| parent | a3478e0d16d3b398de4f86d60b9b2b0eb562fa0c (diff) | |
| download | rust-c5d650cf74e76561b97dcbf7e4836f19bf1c1e6e.tar.gz rust-c5d650cf74e76561b97dcbf7e4836f19bf1c1e6e.zip | |
Auto merge of #29310 - mdinger:book_playpen, r=steveklabnik
Makes rustbook code playpen links follow the style set in https://github.com/rust-lang/rust/pull/28963. This is basically cut and paste from the other one. The link looks better and still works so I assume it's good.  Fixes https://github.com/rust-lang/rust/issues/29308 r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rust.css | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/doc/rust.css b/src/doc/rust.css index 6204f38a377..874f6976619 100644 --- a/src/doc/rust.css +++ b/src/doc/rust.css @@ -338,14 +338,17 @@ table th { .rusttest { display: none; } pre.rust { position: relative; } -.test-arrow { +a.test-arrow { display: inline-block; position: absolute; - top: 0; - right: 10px; - font-size: 150%; - -webkit-transform: scaleX(-1); - transform: scaleX(-1); + + background-color: #4e8bca; + color: #f5f5f5; + padding: 5px 10px 5px 10px; + border-radius: 5px; + font-size: 130%; + top: 5px; + right: 5px; } .unstable-feature { |
