Main Page
Difference between revisions of "MediaWiki:Liberty.css"
Jump to navigation
Jump to search
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Liberty skin */ | /* CSS placed here will affect users of the Liberty skin */ | ||
+ | .fixed-toc-button { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .liberty-expand { | ||
+ | width: 75px!important; | ||
+ | } | ||
+ | |||
+ | .liberty-expand-2 { | ||
+ | width: 90px!important; | ||
+ | } | ||
+ | |||
+ | .dropdown-item-unit { | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | padding: 0.25rem 1.5rem; | ||
+ | clear: both; | ||
+ | font-weight: 400; | ||
+ | text-align: inherit; | ||
+ | white-space: nowrap; | ||
+ | border: 0; | ||
+ | } | ||
+ | |||
+ | div.title > h1 { | ||
+ | font-size: 30px; | ||
+ | } | ||
+ | |||
+ | .card-body { | ||
+ | padding: 12px; | ||
+ | padding-top: 1px; | ||
+ | padding-bottom: 15px; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] table.darkmode-text > tbody > tr > td > a { | ||
+ | color: #2b2b2b!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] td.navbox-list > div > ul > li > a.new { | ||
+ | color: #cc1515!important; | ||
+ | } | ||
+ | |||
+ | table.darkmode-text > tbody > tr > td > a { | ||
+ | color: #2b2b2b!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] table.navbox { | ||
+ | background: #1c1e22!important; | ||
+ | border: 1px solid rgba(0, 0, 0, 0.6) | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] th.navbox-group { | ||
+ | color: #aaa!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] th.navbox-title { | ||
+ | background: #2e3236!important; | ||
+ | color: #aaa!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] th.navbox-group { | ||
+ | background: #2e3236!important; | ||
+ | border-right: 2px solid grey!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] td.navbox-list > div, | ||
+ | [data-theme="dark"] td.navbox-list > div > p { | ||
+ | color: #aaa!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] .navbox-abovebelow { | ||
+ | background: #2e3236!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] .navbox-abovebelow > div { | ||
+ | color: #aaa!important; | ||
+ | } | ||
+ | |||
+ | [data-theme="dark"] .navbox-subgroup { | ||
+ | background: #1c1e22!important; | ||
+ | border: 1px solid rgba(0, 0, 0, 0.6) | ||
+ | } |
Latest revision as of 02:41, 1 March 2021
/* CSS placed here will affect users of the Liberty skin */ .fixed-toc-button { display:none; } .liberty-expand { width: 75px!important; } .liberty-expand-2 { width: 90px!important; } .dropdown-item-unit { display: block; width: 100%; padding: 0.25rem 1.5rem; clear: both; font-weight: 400; text-align: inherit; white-space: nowrap; border: 0; } div.title > h1 { font-size: 30px; } .card-body { padding: 12px; padding-top: 1px; padding-bottom: 15px; } [data-theme="dark"] table.darkmode-text > tbody > tr > td > a { color: #2b2b2b!important; } [data-theme="dark"] td.navbox-list > div > ul > li > a.new { color: #cc1515!important; } table.darkmode-text > tbody > tr > td > a { color: #2b2b2b!important; } [data-theme="dark"] table.navbox { background: #1c1e22!important; border: 1px solid rgba(0, 0, 0, 0.6) } [data-theme="dark"] th.navbox-group { color: #aaa!important; } [data-theme="dark"] th.navbox-title { background: #2e3236!important; color: #aaa!important; } [data-theme="dark"] th.navbox-group { background: #2e3236!important; border-right: 2px solid grey!important; } [data-theme="dark"] td.navbox-list > div, [data-theme="dark"] td.navbox-list > div > p { color: #aaa!important; } [data-theme="dark"] .navbox-abovebelow { background: #2e3236!important; } [data-theme="dark"] .navbox-abovebelow > div { color: #aaa!important; } [data-theme="dark"] .navbox-subgroup { background: #1c1e22!important; border: 1px solid rgba(0, 0, 0, 0.6) }