Thread:Technobliterator/@comment-37384170-20200628144011

Hello,

In our wiki we are recently updating our Characters' Infobox so it'll be portable.

Before we used a custom infobox that used wiki code's tables as you can see here. basically we'd like to recreate the older infobox's look with our new infobox as close as it's possible, but we were unable to apply the opacity of the background, nor the color to the lables in the same style as the old one.

We have different colors for each character, so we would also want to keep that feature.

Our current css is the following:

.portable-infobox { width: 290px; border-radius: 10px; padding: 8px; background: transparent; } .portable-infobox .pi-title { border-radius: 5px; color: black; } .portable-infobox .pi-header { border-radius: 5px; color: black; } .portable-infobox .pi-image { border-radius: 5px; overflow: hidden; margin-top: 8px; margin-bottom: 8px; } .portable-infobox .pi-type-character .pi-background { background: rgba(31,27,26,0.87); }  