Skip to content

Commit a3cbaae

Browse files
authored
2 parents c40b394 + ae3a53f commit a3cbaae

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/librustdoc/html/static/rustdoc.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,11 @@ h4 > code, h3 > code, .invisible > code {
542542
}
543543

544544
.content .stability::before {
545-
content: '˪';
546-
font-size: 30px;
545+
content: '';
546+
font-size: 25px;
547547
position: absolute;
548-
top: -9px;
549-
left: -13px;
548+
top: -6px;
549+
left: -19px;
550550
}
551551

552552
.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant {

src/librustdoc/html/static/themes/dark.css

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ pre {
105105
.content .highlighted.primitive { background-color: #00708a; }
106106
.content .highlighted.keyword { background-color: #884719; }
107107

108+
.content .stability::before { color: #ccc; }
109+
108110
.content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
109111
.content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
110112
.content span.type, .content a.type, .block a.current.type { color: #ff7f00; }

src/librustdoc/html/static/themes/light.css

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ pre {
105105
.content .highlighted.primitive { background-color: #9aecff; }
106106
.content .highlighted.keyword { background-color: #f99650; }
107107

108+
.content .stability::before { color: #ccc; }
109+
108110
.content span.enum, .content a.enum, .block a.current.enum { color: #508157; }
109111
.content span.struct, .content a.struct, .block a.current.struct { color: #ad448e; }
110112
.content span.type, .content a.type, .block a.current.type { color: #ba5d00; }

0 commit comments

Comments
 (0)