MediaWiki:Gadget-Infobox.css: Difference between revisions
MediaWiki interface page
More actions
Adjusted some DRUID infobox styling and added styling for archive numbers and quality |
Added styling for subtitles |
||
| Line 44: | Line 44: | ||
} | } | ||
.druid-infobox .druid-title { | .druid-infobox .druid-title, | ||
.druid-infobox .druid-subtitle { | |||
background: var(--druid-secondary-background-color); | background: var(--druid-secondary-background-color); | ||
color: var(--druid-secondary-background-label-color); | color: var(--druid-secondary-background-label-color); | ||
| Line 52: | Line 53: | ||
font-family: 'PetitPlanet', 'Montserrat', sans-serif; | font-family: 'PetitPlanet', 'Montserrat', sans-serif; | ||
padding: 0.15em 0.6em; | padding: 0.15em 0.6em; | ||
} | |||
/* Only when subtitle is immediately after title */ | |||
.druid-infobox > div:has(> .druid-title):has(+ div > .druid-subtitle) > .druid-title { | |||
border-bottom-left-radius: 0; | |||
border-bottom-right-radius: 0; | |||
} | |||
.druid-infobox .druid-subtitle { | |||
background: rgba(var(--color-accent--rgb), 0.8); | |||
font-size: 1.2em; | |||
border-top-left-radius: 0; | |||
border-top-right-radius: 0; | |||
} | } | ||