Skip to content

Commit 99a56e4

Browse files
committed
improved treatment for kdb elements
1 parent 9f346a1 commit 99a56e4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/resources/formats/html/bootstrap/_bootstrap-rules.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,10 @@ $indent: 1.2em;
196196
kbd,
197197
.kbd {
198198
color: $body-color;
199-
background-color: $progress-bg;
199+
background-color: $gray-100;
200+
border: 1px solid;
201+
border-radius: 5px;
202+
border-color: $table-border-color;
200203
}
201204

202205
// tweak pandoc default hanging indent
@@ -223,20 +226,19 @@ div.hanging-indent {
223226
@if $code-border-left {
224227
// Align source code and callout text (not border) with main body text when there is room
225228
@include media-breakpoint-up(lg) {
226-
227229
// Cards with header
228230
.callout:not(.no-icon) {
229-
margin-left: add(add(-0.4em, -$callout-border-width), -1px);
231+
margin-left: add(add(-0.4em, -$callout-border-width), -1px);
230232
}
231233

232234
.callout {
233235
margin-left: add(-0.4em, -$callout-border-width);
234236
}
235-
237+
236238
div.sourceCode {
237239
margin-left: add(add(-$code-padding-left, -$code-border-left-size), 2px);
238240
}
239-
}
241+
}
240242
}
241243

242244
.callout {
@@ -408,4 +410,3 @@ $callouts: (
408410
border: none;
409411
background-color: transparent;
410412
}
411-

0 commit comments

Comments
 (0)