As a followup from T262697:
- Factor out common code across the LESS files to reduce redundancy and increase consistency.
- For the size-specific LESS files, try to structure them more consistently to make it easier to see the differences between them.
As a followup from T262697:
This was addressed in https://gerrit.wikimedia.org/r/c/mediawiki/skins/WikimediaApiPortal/+/629806.