MediaWiki:CustomTabs.css: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) Created page with "→For Template:CustomTabs: →Hide dummy infobox layout junk on desktop: aside.pi-theme-dummy, aside.pi-theme-dummy ~ aside.portable-infobox + p > br:first-child, aside.pi-theme-dummy ~ aside.portable-infobox + p:empty + p > br:first-child { display: none; } .custom-tabs { display: flex; flex-direction: row; gap: 5px; width: 100%; margin: 5px 0; flex-wrap: wrap; justify-content: space-evenly; > span { border-radius: 10px; display: flex;..." |
ReisuDesign (talk | contribs) No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 88: | Line 88: | ||
.custom-tabs-default { | .custom-tabs-default { | ||
--active-tab-background-color: var(--theme-accent-color); | --active-tab-background-color: var(--theme-accent-color); | ||
--active-tab-color: var(-- | --active-tab-color: var(--color-base); | ||
--inactive-tab-background-color: var(-- | --inactive-tab-background-color: var(--background-color-1); | ||
--inactive-tab-color: var(-- | --inactive-tab-color: var(--color-base); | ||
--inactive-tab-hover-background-color: var(-- | --inactive-tab-hover-background-color: var(--background-color-3); | ||
--inactive-tab-hover-color: var(--inactive-tab-color); | --inactive-tab-hover-color: var(--inactive-tab-color); | ||
.skin-theme-clientpref-night & { | .skin-theme-clientpref-night &, .skin-theme-clientpref-os & { | ||
--active-tab-color: var(- | --active-tab-color: var(--background-color-base); | ||
} | } | ||
} | } | ||