Skip to content

Commit

Permalink
auto merge of rust-lang#16165 : tinaun/rust/newcss, r=alexcrichton
Browse files Browse the repository at this point in the history
remove unneeded `pre.rust a' selector

move transform into `.test-arrow`

fixes rust-lang#16138
  • Loading branch information
bors committed Aug 2, 2014
2 parents 020b91b + 42b2dc0 commit 1b44c5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/doc/rust.css
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,14 @@ table th {

.rusttest { display: none; }
pre.rust { position: relative; }
pre.rust a { transform: scaleX(-1); }
.test-arrow {
display: inline-block;
position: absolute;
top: 0;
right: 10px;
font-size: 150%;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}

@media (min-width: 1170px) {
Expand Down
3 changes: 2 additions & 1 deletion src/librustdoc/html/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,14 @@ pre.rust .lifetime { color: #B76514; }

.rusttest { display: none; }
pre.rust { position: relative; }
pre.rust a { transform: scaleX(-1); }
.test-arrow {
display: inline-block;
position: absolute;
top: 0;
right: 10px;
font-size: 150%;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}

.methods .section-header {
Expand Down

0 comments on commit 1b44c5b

Please sign in to comment.