From dad5c26e02ad2b0da6db461ff8a3c13ff7bd888a Mon Sep 17 00:00:00 2001 From: Aeywoo <65846594+Aeywoo@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:07:04 -0400 Subject: [PATCH] =?UTF-8?q?fix(AccountInfo):=20=F0=9F=90=9B=20resetting=20?= =?UTF-8?q?incorrectly=20styled=20elements=20(#915)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../AccountInfo/ext.AccountInfo.special.less | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/skinStyles/extensions/AccountInfo/ext.AccountInfo.special.less b/skinStyles/extensions/AccountInfo/ext.AccountInfo.special.less index 236b1e8a..628bcf67 100644 --- a/skinStyles/extensions/AccountInfo/ext.AccountInfo.special.less +++ b/skinStyles/extensions/AccountInfo/ext.AccountInfo.special.less @@ -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%; }