Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: adopt MDN style for kbd elements
PR-URL: #35460
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott committed Oct 4, 2020
commit cd226c0305a501900a2e7f5cb3bbe4bc4911f09c
16 changes: 11 additions & 5 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -573,12 +573,18 @@ td > *:last-child {
}

kbd {
font-size: 1.2em;
font-weight: 700;
background-color: #eee;
border-radius: 3px;
padding: 1px 2px 0;
border: 1px solid black;
}
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
color: #333;
display: inline-block;
font-size: .85em;
font-weight: 700;
line-height: 1;
padding: 2px 4px;
white-space: nowrap;
}

.changelog > summary {
margin: .5rem 0;
Expand Down