mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
Rollup merge of #67959 - liigo:patch-13, r=GuillaumeGomez
rustdoc: improve stability mark arrows ### current ![old-stability-arrow](https://user-images.githubusercontent.com/346530/71863520-134d8b00-3138-11ea-86f9-a98068b3cff9.png) ### new ![new-stability-arrow](https://user-images.githubusercontent.com/346530/71863539-1b0d2f80-3138-11ea-843e-d79b9e5d9eec.png) ### new dark ![dark-stability-arrow](https://user-images.githubusercontent.com/346530/71863563-26f8f180-3138-11ea-9514-050e2c779f90.png)
This commit is contained in:
commit
bc031e30fa
@ -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 {
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user