Add style for <kbd> element in markdown

Fixes #5825
This commit is contained in:
afc163 2015-05-14 23:57:01 +08:00
parent 8dde52cc09
commit 2738978111
2 changed files with 17 additions and 0 deletions

View file

@ -62,6 +62,7 @@ v 7.11.0 (unreleased)
- Call merge request web hook for each new commits (Arthur Gautier) - Call merge request web hook for each new commits (Arthur Gautier)
- Use SIGKILL by default in Sidekiq::MemoryKiller - Use SIGKILL by default in Sidekiq::MemoryKiller
- Fix mentioning of private groups. - Fix mentioning of private groups.
- Add style for <kbd> element in markdown
v 7.10.2 v 7.10.2
- Fix CI links on MR page - Fix CI links on MR page

View file

@ -73,6 +73,22 @@
padding: 0; padding: 0;
} }
kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #FCFCFC;
border-width: 1px;
border-style: solid;
border-color: #CCC #CCC #BBB;
border-image: none;
border-radius: 3px;
box-shadow: 0px -1px 0px #BBB inset;
}
h1 { h1 {
margin-top: 45px; margin-top: 45px;
font-size: 2.5em; font-size: 2.5em;