From c595cc510632b1d2a2357b88cf387e8564265736 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 12 Aug 2021 09:13:46 -0700 Subject: [PATCH] Add wikibase skin style Bug: T287206 Change-Id: I6e38ad106eeaaafba21ac55b067be00b8d2a0972 --- skin.json | 1 + skinStyles/wikibase.client.init.less | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 skinStyles/wikibase.client.init.less diff --git a/skin.json b/skin.json index 29938bd5c..61ce488e6 100644 --- a/skin.json +++ b/skin.json @@ -212,6 +212,7 @@ }, "ResourceModuleSkinStyles": { "vector": { + "+wikibase.client.init": "skinStyles/wikibase.client.init.less", "+ext.echo.styles.alert": "skinStyles/ext.echo.styles.alert.less", "+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less", "+ext.uls.pt": "skinStyles/ext.uls.pt.less", diff --git a/skinStyles/wikibase.client.init.less b/skinStyles/wikibase.client.init.less new file mode 100644 index 000000000..46649dbc9 --- /dev/null +++ b/skinStyles/wikibase.client.init.less @@ -0,0 +1,11 @@ +// Can be removed when edit language links is part of ULS +.skin-vector .wb-langlinks-link { + text-align: left; + float: none; + + a { + /* Must use !important to override !important already used in Wikibase */ + /* stylelint-disable-next-line declaration-no-important */ + color: #0645ad !important; + } +}