MediaWiki:Gadget-Tooltip.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit |
i honestly see no reason for TT and EE to be visually distinguished so much, let's just make them both look good and they can diverge later where needed |
||
| Line 3: | Line 3: | ||
.skin-minerva .hover-tooltip { display: none; } | .skin-minerva .hover-tooltip { display: none; } | ||
.skin-minerva .custom-tt-wrapper.hnaw-collapsible .mw-collapsible-toggle { display: none !important; } | .skin-minerva .custom-tt-wrapper.hnaw-collapsible .mw-collapsible-toggle { display: none !important; } | ||
/* Colors */ | |||
:root .wgl-darkmode, :root .wgl-theme-dark { | |||
--tooltip-bg: #0c0c0cd6; | |||
} | |||
:root .wgl-lightmode, :root .wgl-theme-light { | |||
--tooltip-bg: #ecececd6; | |||
} | |||
/** Text styling **/ | /** Text styling **/ | ||
| Line 38: | Line 47: | ||
width: fit-content; | width: fit-content; | ||
height: fit-content; | height: fit-content; | ||
background: var(-- | background: var(--tooltip-bg); | ||
color: var(--theme-page-text-color); | color: var(--theme-page-text-color); | ||
border-radius: 5px 0 5px 5px; | border-radius: 5px 0 5px 5px; | ||
| Line 72: | Line 81: | ||
width: calc(100% - 1em + 2px); | width: calc(100% - 1em + 2px); | ||
height: 125px; | height: 125px; | ||
background: var(--tooltip-bg); | |||
color: var(--theme-page-text-color); | color: var(--theme-page-text-color); | ||
border-radius: 20px 20px 5px 5px; | border-radius: 20px 20px 5px 5px; | ||
| Line 126: | Line 135: | ||
} | } | ||
@keyframes extra-effect-appear { | @keyframes extra-effect-appear { | ||
| Line 145: | Line 147: | ||
} | } | ||
} | } | ||
e | |||