MediaWiki:Gadget-Infobox.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit |
slight style change so the infobox pops out more |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 6: | Line 6: | ||
/* Custom stuff */ | /* Custom stuff */ | ||
.portable-infobox { | .portable-infobox { | ||
--pi-background: var(--theme-page-background-color); | --pi-background: var(--theme-page-background-color); | ||
| Line 14: | Line 13: | ||
border-radius: 5px; | border-radius: 5px; | ||
border-style: unset; | border-style: unset; | ||
border: | border: 3px solid var(--pi-border); | ||
color: var(--theme-page-text-color); | color: var(--theme-page-text-color); | ||
border-radius: 10px !important; | |||
overflow: hidden; | |||
} | } | ||
.skin-vector-legacy .portable-infobox { | .skin-vector-legacy .portable-infobox { | ||
width: 270px; | width: 270px; | ||
} | |||
.skin-minerva .portable-infobox { | |||
margin-bottom: 1em; | |||
} | } | ||
| Line 29: | Line 34: | ||
.portable-infobox .pi-header[data-item-name=secondary_title] { | .portable-infobox .pi-header[data-item-name=secondary_title] { | ||
padding-top: 0; | padding-top: 0; | ||
} | |||
.skin-minerva .portable-infobox .pi-secondary-background { | |||
text-align: center; | |||
} | } | ||
| Line 100: | Line 109: | ||
border-radius: 5px !important; | border-radius: 5px !important; | ||
float: right !important; | float: right !important; | ||
} | } | ||
.portable-infobox.pi-type-anima .pi-title { | .portable-infobox.pi-type-anima .pi-title { | ||
text-align: left; | text-align: left; | ||
} | |||
.skin-minerva .portable-infobox.pi-type-anima .pi-title { | |||
padding-bottom: 9px; | |||
} | } | ||
| Line 121: | Line 128: | ||
padding-top: 10px !important; | padding-top: 10px !important; | ||
text-transform: none; | text-transform: none; | ||
border-bottom: 1px solid var(--theme-border-color); | |||
} | } | ||