Skip to content

Commit a3478e0

Browse files
committed
Update the playpen link for code in the rust book to agree with rustdoc's new style
1 parent e02ada6 commit a3478e0

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)