From d94a012f9d2deaf651da74b774fb03791a54be37 Mon Sep 17 00:00:00 2001 From: Isarra Date: Mon, 7 Dec 2020 17:22:40 +0000 Subject: [PATCH] More stupid fixes * Actually make firefox's 'smart' scrollbars semi-cooperate, maybe * Saner .center styles * Add mw_metadata to table styles Change-Id: If14b551e4bd52240748a7681be38ebfe56bebc09 --- resources/screen-common.less | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/screen-common.less b/resources/screen-common.less index 097280c..10f6a8c 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -6,18 +6,21 @@ html, body { margin: 0; padding: 0; - /* Make firefox's stupid scrollbars actually match the content */ - scrollbar-color: @base70 @base90; } body { font-family: @fonts; color: @text; - background: @base30; + /* Make firefox's 'smart' scrollbars actually match the content */ + background: @base100; font-size: @font-size; line-height: 1.5; } +#mw-wrapper { + background: @base30; +} + #mw-content { .box; background: @background; @@ -587,7 +590,8 @@ ul { } .center { - margin: auto; + margin-right: auto; + margin-left: auto; text-align: center; } @@ -715,6 +719,7 @@ body :not( :checked ) > .toctogglespan:after { .mw-changeslist-legend, .mw-body .mw-search-profile-tabs, .mw-body fieldset#mw-searchoptions, +.mw_metadata, .wikitable, .mw-datatable { color: @text; @@ -725,6 +730,7 @@ body :not( :checked ) > .toctogglespan:after { padding: 0.5em; } +.mw_metadata, .mw-datatable, .wikitable { border-color: @base70; @@ -747,10 +753,15 @@ body :not( :checked ) > .toctogglespan:after { background: @blue-bright; } +.mw_metadata th, .wikitable th { background: @base80; } +.mw_metadata { + border-bottom-width: 3px; +} + /* Color bars */ .color-bar {