mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Support kbd tag
This commit is contained in:
parent
175f571a36
commit
c509abbc39
3 changed files with 16 additions and 2 deletions
|
@ -315,6 +315,20 @@
|
|||
border-top: 0;
|
||||
}
|
||||
|
||||
.markdown-body kbd {
|
||||
display: inline-block;
|
||||
padding: 3px 5px;
|
||||
font-size: 11px;
|
||||
line-height: 10px;
|
||||
color: #555;
|
||||
vertical-align: middle;
|
||||
background-color: #fcfcfc;
|
||||
border: solid 1px #ccc;
|
||||
border-bottom-color: #bbb;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 -1px 0 #bbb
|
||||
}
|
||||
|
||||
.news .alert .markdown-body blockquote {
|
||||
padding: 0 0 0 40px;
|
||||
border: 0 none;
|
||||
|
|
2
public/css/html.min.css
vendored
2
public/css/html.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
var whiteListTag = ['style', '!--'];
|
||||
var whiteListTag = ['style', '!--', 'kbd'];
|
||||
var whiteListAttr = ['id', 'class', 'style'];
|
||||
|
||||
var filterXSSOptions = {
|
||||
|
|
Loading…
Reference in a new issue