From 82978e7c139e26b53b029e4f55a3afc7755e3a44 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sat, 17 Sep 2022 22:34:34 +1200 Subject: [PATCH] Remove table colour override This is no longer necessary because the table colours are okay because the page theme is now correctly set. --- static/main.css | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/static/main.css b/static/main.css index 7ef51a1..ba0eaad 100644 --- a/static/main.css +++ b/static/main.css @@ -26,6 +26,9 @@ sup { sub { vertical-align: sub; } +.page table { + color: var(--theme-page-text-color); /* no idea why this needs to be specified, it should inherit from .page */ +} /* general page appearance */ body.skin-fandomdesktop, button, input, textarea, .wikitable, .va-table { @@ -58,6 +61,15 @@ p { margin-top: 0; } +/* home page search form */ +.paired__label { + display: grid; +} +.paired__input { + width: auto; + max-width: 240px; +} + /* custom footer with source and license info */ .custom-footer { clear: both; @@ -132,20 +144,6 @@ img { overflow: auto; } -/* table overrides for dark theme pages */ -/* these colours look good in all wikis I tried. colours that don't look good: - --theme-page-background-color--secondary is bad for fallout - --theme-page-accent-mix-color is bad for minecraft */ -.wikitable > tr > th, .wikitable > * > tr > th, .va-table th { - background-color: var(--theme-page-dynamic-color-1--inverted); -} -.wikitable td, .va-table td { - background-color: var(--theme-page-text-mix-color-95); -} -.page table { - color: var(--theme-page-text-color); /* no idea why this needs to be specified, it should inherit from .page */ -} - /* float right. reorganised from their sheet */ .tright { clear: right;