Skip to content

Commit d893145

Browse files
committed
rustdoc: Adjusted style for unstable feature-name
1 parent ed02a76 commit d893145

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/librustdoc/html/static/main.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ code, pre {
123123
font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", Inconsolata, monospace;
124124
white-space: pre-wrap;
125125
}
126-
.docblock code, .stability code {
126+
.docblock code {
127127
background-color: #F5F5F5;
128128
border-radius: 3px;
129129
padding: 0 0.2em;
@@ -355,6 +355,10 @@ nav.sub {
355355
margin-left: 20px;
356356
}
357357

358+
.content .stability code {
359+
font-size: 90%;
360+
}
361+
358362
nav {
359363
border-bottom: 1px solid #e0e0e0;
360364
padding-bottom: 10px;

0 commit comments

Comments
 (0)