diff options
| author | Martijn Cuppens <[email protected]> | 2019-06-17 20:08:37 +0200 |
|---|---|---|
| committer | Martijn Cuppens <[email protected]> | 2019-07-25 19:26:27 +0200 |
| commit | 855d763ae57fd1dea1c26af1f197d3d84002dc55 (patch) | |
| tree | eae6333538a68f50170acaf7061dd0384268dcfd /scss/_code.scss | |
| parent | 39b88d42938151b27c67d8d373130a39041d76f8 (diff) | |
| download | bootstrap-855d763ae57fd1dea1c26af1f197d3d84002dc55.tar.xz bootstrap-855d763ae57fd1dea1c26af1f197d3d84002dc55.zip | |
Reboot updates
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842)
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
Diffstat (limited to 'scss/_code.scss')
| -rw-r--r-- | scss/_code.scss | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/scss/_code.scss b/scss/_code.scss deleted file mode 100644 index ccaff4382..000000000 --- a/scss/_code.scss +++ /dev/null @@ -1,40 +0,0 @@ -// Inline code -code { - @include font-size($code-font-size); - color: $code-color; - word-wrap: break-word; - - // Streamline the style when inside anchors to avoid broken underline and more - a > & { - color: inherit; - } -} - -// User input typically entered via keyboard -kbd { - padding: $kbd-padding-y $kbd-padding-x; - @include font-size($kbd-font-size); - color: $kbd-color; - background-color: $kbd-bg; - @include border-radius($border-radius-sm); - - kbd { - padding: 0; - @include font-size(100%); - font-weight: $nested-kbd-font-weight; - } -} - -// Blocks of code -pre { - display: block; - @include font-size($code-font-size); - color: $pre-color; - - // Account for some code outputs that place code tags in pre tags - code { - @include font-size(inherit); - color: inherit; - word-break: normal; - } -} |
