From 8704cc2d91e40417f8f80de96a712d6aab27588e Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Mon, 9 Jan 2023 18:47:25 -0500 Subject: [PATCH] =?UTF-8?q?feat(core):=20=E2=9C=A8=20add=20file=20metadata?= =?UTF-8?q?=20table=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mediawiki.action.view.filepage.less | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less index 1be58f9a..3600720b 100644 --- a/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less +++ b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less @@ -125,3 +125,36 @@ .fullMedia { font-size: 0.875rem; } + +.mw_metadata { + margin: 0; + font-size: 0.8125rem; +} + +.mw_metadata caption { + color: var( --color-base--emphasized ); + font-weight: var( --font-weight-semibold ); +} + +.mw_metadata tr + tr { + border-top: 1px solid var( --border-color-base ); +} + +.mw_metadata td, +.mw_metadata th { + padding: var( --space-xs ); + border: 0; +} + +// Citizen label styles +.mw_metadata th { + background-color: transparent; + color: var( --color-base--subtle ); + font-weight: var( --font-weight-normal ); + letter-spacing: 0.05em; + text-align: start; +} + +.mw_metadata td { + background-color: transparent; +}