Skip to content

Commit

Permalink
improved treatment for kdb elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed May 25, 2021
1 parent 9f346a1 commit 99a56e4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/resources/formats/html/bootstrap/_bootstrap-rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ $indent: 1.2em;
kbd,
.kbd {
color: $body-color;
background-color: $progress-bg;
background-color: $gray-100;
border: 1px solid;
border-radius: 5px;
border-color: $table-border-color;
}

// tweak pandoc default hanging indent
Expand All @@ -223,20 +226,19 @@ div.hanging-indent {
@if $code-border-left {
// Align source code and callout text (not border) with main body text when there is room
@include media-breakpoint-up(lg) {

// Cards with header
.callout:not(.no-icon) {
margin-left: add(add(-0.4em, -$callout-border-width), -1px);
margin-left: add(add(-0.4em, -$callout-border-width), -1px);
}

.callout {
margin-left: add(-0.4em, -$callout-border-width);
}

div.sourceCode {
margin-left: add(add(-$code-padding-left, -$code-border-left-size), 2px);
}
}
}
}

.callout {
Expand Down Expand Up @@ -408,4 +410,3 @@ $callouts: (
border: none;
background-color: transparent;
}

0 comments on commit 99a56e4

Please sign in to comment.