Org: html, make verbatim padding size-proportional

This commit is contained in:
TEC 2021-04-26 04:20:42 +08:00
parent d2bf2b84db
commit be914efb61
Signed by: tec
GPG Key ID: 779591AFDB81F06C
3 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ code {
kbd {
display: inline-block;
padding: 3px 5px;
padding: 0.25em 0.35em;
font: 80% $code-font;
line-height: normal;
line-height: 80%;
@ -52,7 +52,7 @@ kbd {
vertical-align: middle;
background-color: $back-light;
border: 1px solid #91959a88;
border-radius: 3px;
border-radius: 0.35em;
box-shadow: inset 0 -1px 0 #91959a88;
}

View File

@ -611,7 +611,7 @@ code {
kbd {
display: inline-block;
padding: 3px 5px;
padding: 0.25em 0.35em;
font: 80% SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
line-height: normal;
line-height: 80%;
@ -619,7 +619,7 @@ kbd {
vertical-align: middle;
background-color: var(--back-light);
border: 1px solid #91959a88;
border-radius: 3px;
border-radius: 0.35em;
box-shadow: inset 0 -1px 0 #91959a88; }
li code {

File diff suppressed because one or more lines are too long