Template:Corporation/styles.css
Template page
More actions
/* Container */
.infobox {
width: 320px;
margin: 0 0 1em 1em;
border: 1px solid rgba(255,255,255,0.18);
background: rgba(255,255,255,0.03);
border-collapse: separate;
border-spacing: 0;
}
/* Title header */
.infobox_title {
display: block;
text-align: center;
padding: 0.6em 0.8em;
font-weight: 700;
border-bottom: 1px solid rgba(255,255,255,0.18);
background: rgba(255,255,255,0.06);
}
/* Image cell */
.infobox_image {
text-align: center;
padding: 0.6em;
border-bottom: 1px solid rgba(255,255,255,0.12);
}
.infobox_image img {
max-width: 100%;
height: auto;
}
/* Standard row */
.infobox .ib-row {
padding: 0.45em 0.65em;
border-top: 1px solid rgba(255,255,255,0.12);
line-height: 1.35;
}
/* Subtle striping that adapts to light/dark via alpha */
.infobox tr:nth-child(even) .ib-row { background: rgba(255,255,255,0.025); }
.infobox tr:nth-child(odd) .ib-row { background: transparent; }
/* Make bold labels pop a bit more in dark mode */
.infobox .ib-row b,
.infobox .ib-row strong {
font-weight: 600;
}
/* Dissolved banner */
.infobox .ib-banner {
text-align: center;
font-size: 1.2em;
font-weight: 700;
padding: 0.4em 0.6em;
border-top: 1px solid rgba(255,255,255,0.18);
border-bottom: 1px solid rgba(255,255,255,0.18);
/* Red with alpha so it isn't blinding in light mode, still readable in dark */
background: rgba(255, 60, 60, 0.25);
}
/* Fine-tune links inside */
.infobox .ib-row a { text-decoration: none; }
.infobox .ib-row a:hover { text-decoration: underline; }
/* Compact the “Overview (Status: …)” subline */
.infobox_title + br { display: none; }