[openstreetmap/openstreetmap-website] CSS fixes for headings (#2469)

Andy Allan notifications at github.com
Thu Dec 19 18:42:43 UTC 2019


This fixes a number of issues with the headings, by removing some reset rules (that are acting after the bootstrap reset + defaults and so are messing things up) and by removing some custom heading font sizes and allowing the bootstrap values to be used.

I've overridden the heading sizes for the sidebar temporarily (roughly making h2 the same as bootstrap h3, and h3/h4 the same as bootstrap h5) since there's a bunch of specific style rules preventing me from changing e.g. h2 -> h3. For example, the h2 in sidebar gets extra left padding, since it isn't included in the sidebar browse-section. Fixing all that will come in a future PR.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2469

-- Commit Summary --

  * Minimially invasive fix for sidebar heading sizes
  * Remove more header font size overrides

-- File Changes --

    M app/assets/stylesheets/common.scss (23)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2469.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2469.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/2469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191219/bd74f5f4/attachment.html>


More information about the rails-dev mailing list