Loading docs/app/_code.scss 0 → 100644 +56 −0 Original line number Diff line number Diff line @use "sass:math"; @use "bootstrap/variables" as bootstrap; code, kbd, pre, samp { font-family: bootstrap.$font-family-monospace; } code { padding: 2px 4px; font-size: 90%; color: bootstrap.$code-color; background-color: bootstrap.$code-bg; border-radius: bootstrap.$border-radius-base; } kbd { padding: 2px 4px; font-size: 90%; color: bootstrap.$kbd-color; background-color: bootstrap.$kbd-bg; border-radius: bootstrap.$border-radius-small; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); kbd { padding: 0; font-size: 100%; font-weight: 700; box-shadow: none; } } pre { display: block; padding: math.div((bootstrap.$line-height-computed - 1), 2); margin: 0 0 math.div(bootstrap.$line-height-computed, 2); font-size: (bootstrap.$font-size-base - 1); // 14px to 13px line-height: bootstrap.$line-height-base; color: bootstrap.$pre-color; word-break: break-all; word-wrap: break-word; background-color: bootstrap.$pre-bg; border: 1px solid bootstrap.$pre-border-color; border-radius: bootstrap.$border-radius-base; code { padding: 0; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border-radius: 0; } } docs/app/docs.scss +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ $fa-font-path: "fonts"; @import "bootstrap/mixins/text-overflow"; @import "bootstrap/normalize"; @import "bootstrap/type"; @import "bootstrap/code"; // Highlight.js @import "github"; Loading @@ -29,6 +28,7 @@ $fa-font-path: "fonts"; @import "layout"; @import "anchorlink"; @import "button"; @import "code"; @import "config-tabs"; @import "container"; @import "jumbotron"; Loading Loading
docs/app/_code.scss 0 → 100644 +56 −0 Original line number Diff line number Diff line @use "sass:math"; @use "bootstrap/variables" as bootstrap; code, kbd, pre, samp { font-family: bootstrap.$font-family-monospace; } code { padding: 2px 4px; font-size: 90%; color: bootstrap.$code-color; background-color: bootstrap.$code-bg; border-radius: bootstrap.$border-radius-base; } kbd { padding: 2px 4px; font-size: 90%; color: bootstrap.$kbd-color; background-color: bootstrap.$kbd-bg; border-radius: bootstrap.$border-radius-small; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); kbd { padding: 0; font-size: 100%; font-weight: 700; box-shadow: none; } } pre { display: block; padding: math.div((bootstrap.$line-height-computed - 1), 2); margin: 0 0 math.div(bootstrap.$line-height-computed, 2); font-size: (bootstrap.$font-size-base - 1); // 14px to 13px line-height: bootstrap.$line-height-base; color: bootstrap.$pre-color; word-break: break-all; word-wrap: break-word; background-color: bootstrap.$pre-bg; border: 1px solid bootstrap.$pre-border-color; border-radius: bootstrap.$border-radius-base; code { padding: 0; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border-radius: 0; } }
docs/app/docs.scss +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ $fa-font-path: "fonts"; @import "bootstrap/mixins/text-overflow"; @import "bootstrap/normalize"; @import "bootstrap/type"; @import "bootstrap/code"; // Highlight.js @import "github"; Loading @@ -29,6 +28,7 @@ $fa-font-path: "fonts"; @import "layout"; @import "anchorlink"; @import "button"; @import "code"; @import "config-tabs"; @import "container"; @import "jumbotron"; Loading