2021-06-08 01:23:25 +05:30
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
2023-03-04 22:38:38 +05:30
|
|
|
@include gl-font-sm;
|
2021-06-08 01:23:25 +05:30
|
|
|
line-height: 10px;
|
|
|
|
color: var(--gray-700, $gray-700);
|
2023-03-04 22:38:38 +05:30
|
|
|
vertical-align: unset;
|
2021-06-08 01:23:25 +05:30
|
|
|
background-color: var(--gray-10, $gray-10);
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: var(--gray-100, $gray-100) var(--gray-100, $gray-100) var(--gray-200, $gray-200);
|
|
|
|
border-image: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 -1px 0 var(--gray-200, $gray-200) inset;
|
2021-12-11 22:18:48 +05:30
|
|
|
|
|
|
|
&.flat {
|
|
|
|
color: $code-color;
|
|
|
|
background-color: $gray-100;
|
|
|
|
border-color: var(--gray-10, $gray-10) var(--gray-10, $gray-10) var(--gray-50, $gray-50);
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
font-family: $monospace-font;
|
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
line-height: 1;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
// Safari
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
2021-06-08 01:23:25 +05:30
|
|
|
}
|