Skip to content

Commit 6e741df

Browse files
committed
moved colors of kbd tag into main.css
1 parent 176624f commit 6e741df

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/librustdoc/html/static/rustdoc.css

+2-5
Original file line numberDiff line numberDiff line change
@@ -1113,11 +1113,8 @@ kbd {
11131113
padding: 3px 5px;
11141114
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
11151115
line-height: 10px;
1116-
color: #444d56;
11171116
vertical-align: middle;
1118-
background-color: #fafbfc;
1119-
border: solid 1px #d1d5da;
1120-
border-bottom-color: #c6cbd1;
1117+
border: solid 1px;
11211118
border-radius: 3px;
1122-
box-shadow: inset 0 -1px 0 #c6cbd1;
1119+
box-shadow: inset 0 -1px 0;
11231120
}

src/librustdoc/html/static/styles/main.css

+9
Original file line numberDiff line numberDiff line change
@@ -343,3 +343,12 @@ pre.ignore:hover, .information:hover + pre.ignore {
343343
border-right-color: #000;
344344
}
345345
}
346+
347+
kbd {
348+
color: #444d56;
349+
background-color: #fafbfc;
350+
border-color: #d1d5da;
351+
border-bottom-color: #c6cbd1;
352+
box-shadow-color: #c6cbd1;
353+
}
354+

0 commit comments

Comments
 (0)