Skip to content

Commit

Permalink
Rollup merge of rust-lang#67959 - liigo:patch-13, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-DPC committed Jan 12, 2020
2 parents 4fc2765 + ae3a53f commit b33b791
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,11 @@ h4 > code, h3 > code, .invisible > code {
}

.content .stability::before {
content: '˪';
font-size: 30px;
content: '';
font-size: 25px;
position: absolute;
top: -9px;
left: -13px;
top: -6px;
left: -19px;
}

.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant {
Expand Down
2 changes: 2 additions & 0 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ pre {
.content .highlighted.primitive { background-color: #00708a; }
.content .highlighted.keyword { background-color: #884719; }

.content .stability::before { color: #ccc; }

.content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
.content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
.content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
Expand Down
2 changes: 2 additions & 0 deletions src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ pre {
.content .highlighted.primitive { background-color: #9aecff; }
.content .highlighted.keyword { background-color: #f99650; }

.content .stability::before { color: #ccc; }

.content span.enum, .content a.enum, .block a.current.enum { color: #508157; }
.content span.struct, .content a.struct, .block a.current.struct { color: #ad448e; }
.content span.type, .content a.type, .block a.current.type { color: #ba5d00; }
Expand Down

0 comments on commit b33b791

Please sign in to comment.