[openstreetmap/openstreetmap-website] Use bootstrap defaults for body CSS (#3239)
Andy Allan
notifications at github.com
Wed Jun 30 17:13:42 UTC 2021
This PR removes some of our overrides of basic CSS, which is handled through bootstrap. This reduces our custom CSS without having much impact on the rendered results. For example:
* color: `#222` -> `#212529`
* line-height: `1.6666` -> `1.5`;
* font-family: `'Helvetica Neue',Arial,sans-serif;` -> `-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;`
My plan with the body `font-size` is to tackle all of our font-size settings in one go as a separate PR.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3239
-- Commit Summary --
* Remove some default styling from body
* Use bootstrap font family
* Alight the max-width of the content to one of the bootstrap breakpoints
-- File Changes --
M app/assets/stylesheets/common.scss (10)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3239.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3239.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210630/7c90cddb/attachment.htm>
More information about the rails-dev
mailing list