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
This commit is contained in:
commit
c5d650cf74
1 changed files with 9 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue