fix(AccountInfo): 🐛 resetting incorrectly styled elements (#915)

* Update ext.AccountInfo.special.less

Fixing some incorrectly styled elements as a result of AccountInfo's terrible CSS selector choices, this change resets two overwritten elements to their default values in Citizen and limits their effects to the Special:AccountInfo page.

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
This commit is contained in:
Aeywoo 2024-07-24 23:07:04 -04:00 committed by GitHub
parent 1703d29945
commit dad5c26e02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,13 +3,27 @@
*
* SkinStyles for Extension:AccountInfo
* Module: ext.AccountInfo.special
* Version: REL1_39 (3145de8)
* Version: REL1_39 (2e529e7)
*
* Date: 2024-07-13
* Date: 2024-07-24
*/
.mw-special-AccountInfo table,
.mw-special-AccountInfo #mw-content-text > p {
.mw-special-AccountInfo h1 {
margin-bottom: 0.25em;
font-size: var( --font-size-xxx-large );
font-weight: var( --font-weight-semibold );
border-bottom: none;
}
.mw-special-AccountInfo p {
width: 100%;
padding: 0;
margin-bottom: none;
background: none;
border-radius: 0;
}
.mw-special-AccountInfo table {
width: 100%;
}