Skip to content

Commit

Permalink
Update Bootstrap to version 5 (#26)
Browse files Browse the repository at this point in the history
* Update Bootstrap to version 5
* Use bootstrap.min.css instead of bootstrap.css (also .map versions)
* Fix logo stack and break. Fix header height. Correct some containers. Fix sidebar behaviour. Remove deprecated property 'speak'.
* Adapt markup of templates to work properly under Bootstrap 5.3, mostly affecting cards. Remove some CSS classes that are not needed anymore. Fix issues with hero image.
* Fix bad rendering of menu at lower resolutions, before the mobile menu breakpoint (between 768 and 992 px). Add custom style to example-custom-styles.css. Fix rendering of footer.
* Fix remaining issues in All pages, Hero, Cards, Gallery, Blog. Clean up a little.
* Fix side nav menu order
* Fix some regressions on the breakpoints of cards. Fix breakpoint of text in hero section.
* Update .browserslistrc to > 0.4%
* Fix bad spacing in footer (remove extra paragraph tag)
* Fix hero height issue. Add small padding the navbar for better logo display.
* Fix hero section failing to vertically fill the viewport. Fix alignment issues with the hero section and the sticky header. Simplify hero section js/css. Fix services template, avoiding rendering of content div if there is no content.
* Fix regression with hero section and stellar.js
* Fix value of `topVal` in `clickMenu` function
* Fix regression on header not resizing properly
* Replace old var definitions with const or let
* Fix bad breakpoint and header issues. Fix vertical margins of navbar items. Fix top padding of inner page and blog.
* Fix remaining issues with header and responsiveness. Fix padding on inner template on resize event.
  • Loading branch information
conradolandia authored Feb 15, 2024
1 parent 57a43e1 commit 6ea6988
Show file tree
Hide file tree
Showing 16 changed files with 349 additions and 609 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Browsers that we support

>0.25%
>0.4%
last 3 versions
defaults
not Android < 5
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default_language_version:

default_stages: [commit]

exclude: '\.min\.(css|js)$|jquery\.stellar\.js$|icomoon\.css$|magnific-popup\.css$|^example-site/themes/lektor-icon$'
exclude: '\.min\.(css|js)(\.map)?$|jquery\.stellar\.js$|icomoon\.css$|magnific-popup\.css$|^example-site/themes/lektor-icon$'


repos:
Expand Down
6 changes: 6 additions & 0 deletions assets/static/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/static/css/bootstrap.min.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6ea6988

Please sign in to comment.