1
Fork 0

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.

![rustbook](https://cloud.githubusercontent.com/assets/4156987/10717631/7a74f8ae-7b34-11e5-8870-35b5fc2526a4.png)

Fixes https://github.com/rust-lang/rust/issues/29308

r? @steveklabnik
This commit is contained in:
bors 2015-10-26 15:50:45 +00:00
commit c5d650cf74

View file

@ -338,14 +338,17 @@ table th {
.rusttest { display: none; } .rusttest { display: none; }
pre.rust { position: relative; } pre.rust { position: relative; }
.test-arrow { a.test-arrow {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 0;
right: 10px; background-color: #4e8bca;
font-size: 150%; color: #f5f5f5;
-webkit-transform: scaleX(-1); padding: 5px 10px 5px 10px;
transform: scaleX(-1); border-radius: 5px;
font-size: 130%;
top: 5px;
right: 5px;
} }
.unstable-feature { .unstable-feature {