MediaWiki:Gadget-Infobox.css: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Default stuff */ | /* Default stuff */ | ||
.pi-secondary-background { | .pi-title, .pi-secondary-background { | ||
background: var(--pi-secondary-background); | background: var(--pi-secondary-background); | ||
color: var(--pi-secondary-background--label); | color: var(--pi-secondary-background--label); | ||
| Line 82: | Line 82: | ||
} | } | ||
.portable-infobox.type-anima .pi-anima-id { | .portable-infobox.pi-type-anima .pi-anima-id { | ||
margin-left: 5px !important; | margin-left: 5px !important; | ||
background-color: #fefaf2 !important; | background-color: #fefaf2 !important; | ||
| Line 96: | Line 96: | ||
} | } | ||
.portable-infobox.type-anima .pi-title { | .portable-infobox.pi-type-anima .pi-title { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.portable-infobox.type-anima .pi-title-text { | .portable-infobox.pi-type-anima .pi-title-text { | ||
padding: 2px 0 0 5px; | padding: 2px 0 0 5px; | ||
font-size: 20px; | font-size: 20px; | ||
| Line 169: | Line 169: | ||
} | } | ||
/* | .pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link { | ||
.type-item .pi-item.pi-image { | width: 100%; | ||
max-width: 100%; | |||
margin: -2px 0 0 0; | |||
} | |||
/* HNA Infobox Styling */ | |||
.pi-type-item .pi-item.pi-image { | |||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
| Line 176: | Line 182: | ||
} | } | ||
.type-item .pi-item.pi-image img { | .pi-type-item .pi-item.pi-image img { | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
| Line 182: | Line 188: | ||
} | } | ||
.type-item .pi-item.pi-image:before { | .pi-type-item .pi-item.pi-image:before { | ||
content: ' '; | content: ' '; | ||
display: block; | display: block; | ||
| Line 196: | Line 202: | ||
} | } | ||
/* | /* | ||
.type-item .pi-item.pi-image:after { | .pi-type-item .pi-item.pi-image:after { | ||
content: ' '; | content: ' '; | ||
display: block; | display: block; | ||
| Line 212: | Line 218: | ||
*/ | */ | ||
.pi-theme-1 .pi-item.pi-image:before { | .pi-theme-1 .pi-item.pi-image:before { | ||
background-image: url( | background-image: url("filepath://Item_Frame_1-Star.png"); | ||
} | } | ||
.pi-theme-2 .pi-item.pi-image:before { | .pi-theme-2 .pi-item.pi-image:before { | ||
background-image: url( | background-image: url("filepath://Item_Frame_2-Star.png"); | ||
} | } | ||
.pi-theme-3 .pi-item.pi-image:before { | .pi-theme-3 .pi-item.pi-image:before { | ||
background-image: url( | background-image: url("filepath://Item_Frame_3-Star.png"); | ||
} | } | ||
.pi-theme-4 .pi-item.pi-image:before { | .pi-theme-4 .pi-item.pi-image:before { | ||
background-image: url( | background-image: url("filepath://Item_Frame_4-Star.png"); | ||
} | } | ||
.pi-theme-5 .pi-item.pi-image:before { | .pi-theme-5 .pi-item.pi-image:before { | ||
background-image: url( | background-image: url("filepath://Item_Frame_5-Star.png"); | ||
} | } | ||
/* | /* | ||