[openstreetmap/openstreetmap-website] Welcome page html and css cleanup (PR #4810)

Anton Khorev notifications at github.com
Sat May 18 00:35:39 UTC 2024


Mostly I removed custom css and unnecessary markup, but I also changed the image placement from inlined/floated to their own column.

Before:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/f850dc2e-4a0b-4fbe-bfc8-a87be880ae42)

After:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/dbef7518-c681-4672-b072-d4780aae0c41)

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove .small sprite class
  * Convert basic terms to a list
  * Replace .term sprite class with .d-flex container
  * Remove .clearfix
  * Remove font size class from "Start mapping" container
  * Set check/x display property using .d-block
  * Fix css section comments
  * Remove unused .button class

-- File Changes --

    M app/assets/stylesheets/common.scss (19)
    M app/views/site/_any_questions.html.erb (8)
    M app/views/site/welcome.html.erb (52)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4810.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4810.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4810
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4810 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240517/af60fe56/attachment.htm>


More information about the rails-dev mailing list