WordPress / wporg-main-2022

A block-based child theme for WordPress.org, plus local environment
62 stars 22 forks source link

Theme: Add a stylesheet to be used for rosetta site overrides #380

Closed ryelle closed 6 months ago

ryelle commented 6 months ago

This adds a place for polyglots teams to add page & section-specific overrides for their sites. Anything more global should go in the parent theme, see the related PR: https://github.com/WordPress/wporg-parent-2021/pull/120.

Specifically in this PR, I've added some code to shrink the headings on the About page, as they're defined in the CSS, not theme.json settings.

See #266, https://github.com/WordPress/wporg-parent-2021/pull/120.

Screenshots

Locale Before After
Albanian about-sq-before about-sq-after
Japanese about-ja-before about-ja-after

How to test the changes in this Pull Request:

You can test localized sites by following the instructions on wporg-main-2022.

I also tested this on my sandbox with the top completed languages for wporg.