[openstreetmap/openstreetmap-website] Various font size changes (PR #3630)
Andy Allan
notifications at github.com
Wed Jul 27 13:34:12 UTC 2022
Now that we're on Bootstrap 5 we are using RFS, which implements responsive font sizes. Therefore it's worth refactoring places where we have font-sizes declared in our custom.css, particularly for headers, because these custom definitions are not responsive.
I've also refactored the about, welcome and fixthemap pages slightly, to change the headers used, use the bootstrap '[lead](https://getbootstrap.com/docs/5.1/content/typography/#lead)' paragraph styling, and move some more CSS into bootstrap utils.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3630
-- Commit Summary --
* Remove unnecessary br tags
* Fix the font weight on the about page title, and use lead styling for the lede
* Use th tags on trace show table
* Remove font size overrides from sidebar headings
* Remove font size overrides for code and pre blocks
* Rework welcome and fixthemap pages
* Remove extra container div from fixthemap page
-- File Changes --
M app/assets/stylesheets/common.scss (28)
M app/views/site/about.html.erb (4)
M app/views/site/fixthemap.html.erb (38)
M app/views/site/welcome.html.erb (42)
M app/views/traces/show.html.erb (18)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3630.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3630.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3630
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3630 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220727/fa5fb7c0/attachment.htm>
More information about the rails-dev
mailing list