Manual:$wgUseSiteCss/en

Details
Use the site's Cascading Style Sheets (CSS) located at MediaWiki:Common.css.

To make site CSS work on user login and preferences pages, you can enable. Note that this is not recommended, for security reasons (see the linked manual entry for reasons).