diff options
| author | Patrick H. Lauke <[email protected]> | 2020-11-30 05:02:03 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-30 07:02:03 +0200 |
| commit | 948f8343474d8fea4bf8fa01ad2d71e9428d53d8 (patch) | |
| tree | 2f8c33602465924b0f6c5ef04b3d3ba902441e6d | |
| parent | 04674f88b0a2f7ad21bbe36a8d18b08357c8eafa (diff) | |
| download | bootstrap-948f8343474d8fea4bf8fa01ad2d71e9428d53d8.tar.xz bootstrap-948f8343474d8fea4bf8fa01ad2d71e9428d53d8.zip | |
Add mention of link underline change to migration and typography (#32281)
x-ref https://github.com/twbs/bootstrap/discussions/32276#discussioncomment-141850
Co-authored-by: XhmikosR <[email protected]>
| -rw-r--r-- | site/content/docs/5.0/content/typography.md | 2 | ||||
| -rw-r--r-- | site/content/docs/5.0/migration.md | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/site/content/docs/5.0/content/typography.md b/site/content/docs/5.0/content/typography.md index b8e4f558a..d93702eea 100644 --- a/site/content/docs/5.0/content/typography.md +++ b/site/content/docs/5.0/content/typography.md @@ -13,7 +13,7 @@ Bootstrap sets basic global display, typography, and link styles. When more cont - Use a [native font stack]({{< docsref "/content/reboot#native-font-stack" >}}) that selects the best `font-family` for each OS and device. - For a more inclusive and accessible type scale, we use the browser's default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed. - Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `<body>`. -- Set the global link color via `$link-color` and apply link underlines only on `:hover`. +- Set the global link color via `$link-color`. - Use `$body-bg` to set a `background-color` on the `<body>` (`#fff` by default). These styles can be found within `_reboot.scss`, and the global variables are defined in `_variables.scss`. Make sure to set `$font-size-base` in `rem`. diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index dab1bd7df..296bdd427 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -267,6 +267,7 @@ Changes to Reboot, typography, tables, and more. - Removed individual `$display-*-weight` variables for a single `$display-font-weight`. - Added two new `.display-*` heading styles, `.display-5` and `.display-6`. - Resized existing display headings for a slightly more consistent set of `font-size`s. +- Links are underlined by default (not just on hover), unless they're part of specific components. ### Forms |
