rustdoc: improve stability mark arrows
This commit is contained in:
parent
caa231d998
commit
1ffb9cf8d7
3 changed files with 9 additions and 4 deletions
|
@ -542,11 +542,12 @@ h4 > code, h3 > code, .invisible > code {
|
|||
}
|
||||
|
||||
.content .stability::before {
|
||||
content: '˪';
|
||||
font-size: 30px;
|
||||
content: '⤶';
|
||||
transform:rotate(90deg);
|
||||
font-size: 25px;
|
||||
position: absolute;
|
||||
top: -9px;
|
||||
left: -13px;
|
||||
top: -6px;
|
||||
left: -17px;
|
||||
}
|
||||
|
||||
.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…
Add table
Add a link
Reference in a new issue