Skip to content

Commit 49944ae

Browse files
Rollup merge of #53043 - GuillaumeGomez:improve-unstable-msg-display, r=QuietMisdreavus
Improve unstable message display Fixes #51387. Reopening of #51563. New display: <img width="1440" alt="screen shot 2018-08-04 at 00 01 39" src="https://user-images.githubusercontent.com/3050060/43667793-dc14f708-9779-11e8-9808-f3ff126fc213.png"> r? @QuietMisdreavus
2 parents ede5551 + 110e727 commit 49944ae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,19 @@ h4 > code, h3 > code, .invisible > code {
497497
font-size: 90%;
498498
}
499499

500+
.content .stability {
501+
position: relative;
502+
margin-left: 33px;
503+
margin-top: -13px;
504+
}
505+
.content .stability::before {
506+
content: '˪';
507+
font-size: 30px;
508+
position: absolute;
509+
top: -9px;
510+
left: -13px;
511+
}
512+
500513
nav {
501514
border-bottom: 1px solid;
502515
padding-bottom: 10px;

0 commit comments

Comments
 (0)