Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-10docs(scroll offset): improve a11y for sticky header (#33027)Gaël Poupard
Our current trick works great for headings or landmarks `:target`ed by links activation, however it still allows focus to be hidden under the sticky header. 1. Go to any docs page, 2. use a TOC link to scroll down the page, 3. then `Shift`+`Tab` to navigate backward using keyboard. You should see on some browsers (mainly Firefox from my tests, but it used to do the same in Chrome) that focused elements isn't visible, hidden by our sticky header. Applying `scroll-padding-top` to the `:root` solves this without any side-effect—but it requires to drop `scroll-margin-top` for anchors to prevent doubling the offset. FWIW based on my test, Edgium and Chromium don't really care since they seem to have a new heuristic for such cases, making the focused element scroll to the center of the view.
2020-06-16Update v5 homepage to match v4.5's changesMark Otto
2020-06-15Change breakpoint-max implementationMartijn Cuppens
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-05-26Apply utilities in docs styles (#30866)Gaël Poupard
* docs(theming): apply utilities where possible * Update docs-sidebar.html Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-27Rewrite Theming docs as Customize sectionMark Otto
- Broke up existing theming page into separate pages - Audited and updated each new docs page (some pages include some TBD sections) - Update sidenav to reflect changes - Fix links that pointed to the old Theming page - Update docs styles to reflect recent changes - Rewrite some bits in the Migration page
2020-04-15Slight adjustment to the h3 heading spacing in docsMark Otto
2020-03-12Limit to `scroll-margin-top` to elements with an idMartijn Cuppens
2020-03-12Use `scroll-margin-top` instead of pseudo hackMartijn Cuppens
2020-02-03Cleanup content (#30120)Martijn Cuppens
2019-11-25Enable RFS for font resizingMartijn Cuppens
- Enable RFS - Add documentation - Disable doc font size overrides
2019-09-17Use Hugo for our docs Sass and JS. (#29280)XhmikosR
Now there's only one command needed to run the docs: `npm run docs-serve`. Also, simplify the npm scripts.