Skip to content

Commit c5d650c

Browse files
committed
Auto merge of #29310 - mdinger:book_playpen, r=steveklabnik
Makes rustbook code playpen links follow the style set in #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 #29308 r? @steveklabnik
2 parents 0b9edc7 + a3478e0 commit c5d650c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/doc/rust.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,14 +338,17 @@ table th {
338338

339339
.rusttest { display: none; }
340340
pre.rust { position: relative; }
341-
.test-arrow {
341+
a.test-arrow {
342342
display: inline-block;
343343
position: absolute;
344-
top: 0;
345-
right: 10px;
346-
font-size: 150%;
347-
-webkit-transform: scaleX(-1);
348-
transform: scaleX(-1);
344+
345+
background-color: #4e8bca;
346+
color: #f5f5f5;
347+
padding: 5px 10px 5px 10px;
348+
border-radius: 5px;
349+
font-size: 130%;
350+
top: 5px;
351+
right: 5px;
349352
}
350353

351354
.unstable-feature {

0 commit comments

Comments
 (0)