diff options
| author | Martijn Cuppens <[email protected]> | 2019-10-27 11:01:30 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-11-25 13:05:57 +0200 |
| commit | cd077cd599e55a8a126ce765d8f9adeb595ca3e2 (patch) | |
| tree | aaac33966e8363d5c64631a18926ccd024079df0 /site/assets | |
| parent | 4787347c85771076bf159dfc0df9f1cd5cd20dc8 (diff) | |
| download | bootstrap-cd077cd599e55a8a126ce765d8f9adeb595ca3e2.tar.xz bootstrap-cd077cd599e55a8a126ce765d8f9adeb595ca3e2.zip | |
Enable RFS for font resizing
- Enable RFS
- Add documentation
- Disable doc font size overrides
Diffstat (limited to 'site/assets')
| -rw-r--r-- | site/assets/scss/_algolia.scss | 8 | ||||
| -rw-r--r-- | site/assets/scss/_content.scss | 12 | ||||
| -rw-r--r-- | site/assets/scss/_variables.scss | 5 |
3 files changed, 4 insertions, 21 deletions
diff --git a/site/assets/scss/_algolia.scss b/site/assets/scss/_algolia.scss index f86d2fb4b..5d9951dc3 100644 --- a/site/assets/scss/_algolia.scss +++ b/site/assets/scss/_algolia.scss @@ -47,7 +47,7 @@ .algolia-docsearch-suggestion--category-header { padding: .125rem 1rem !important; margin-top: 0 !important; - @include font-size(.875rem, true); + @include font-size(.875rem !important); font-weight: 600 !important; color: $bd-purple-bright !important; border-bottom: 0 !important; @@ -107,7 +107,7 @@ .algolia-docsearch-suggestion--title { display: block; margin-bottom: 0 !important; - @include font-size(.875rem, true); + @include font-size(.875rem !important); font-weight: 400 !important; } @@ -115,7 +115,7 @@ flex: 0 0 100%; max-width: 100%; padding: .2rem 0; - @include font-size(.8125rem, true); + @include font-size(.8125rem !important); font-weight: 400; line-height: 1.25 !important; color: $gray-600; @@ -126,7 +126,7 @@ width: auto !important; height: auto !important; padding: .75rem 1rem 0; - @include font-size(.75rem, true); + @include font-size(.75rem !important); line-height: 1 !important; color: $gray-600 !important; border-top: 1px solid rgba(0, 0, 0, .1); diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss index 1ce9a1722..9bb9e7e67 100644 --- a/site/assets/scss/_content.scss +++ b/site/assets/scss/_content.scss @@ -58,18 +58,6 @@ // .bd-content { - > h2 { - @include font-size($h2-font-size); - } - - > h3 { - @include font-size($h3-font-size); - } - - > h4 { - @include font-size($h4-font-size); - } - > h2:not(:first-child) { margin-top: 3rem; } diff --git a/site/assets/scss/_variables.scss b/site/assets/scss/_variables.scss index 6cf63600f..4ebe2be71 100644 --- a/site/assets/scss/_variables.scss +++ b/site/assets/scss/_variables.scss @@ -11,8 +11,3 @@ $bd-warning: #f0ad4e; $bd-danger: #d9534f; $dropdown-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>"); $sidebar-collapse-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='none' stroke='rgba(0,0,0,.5)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/></svg>"); - -// Enable responsive font sizes for font sizes defined in the docs -// The weird if test is made as a workaround to prevent a false fusv error. -// -$enable-responsive-font-sizes: if($enable-responsive-font-sizes, true, true); |
