Template:Infobox/styles.css

Revision as of 17:24, 11 September 2026 by Parijat (talk | contribs) (Created page with ".infobox { float: right; clear: right; width: 300px; margin: 0 0 1em 1.5em; border: 1px solid #a2a9b1; background: #f8f9fa; font-size: 0.9em; line-height: 1.5; } .infobox-image { text-align: center; padding: 8px; } .infobox-image img { max-width: 100%; height: auto; } .infobox-caption { padding: 0 8px 8px; text-align: center; font-size: 0.85em; color: #54595d; } .infobox-title { padding: 8px; fon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.infobox {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 1em 1.5em;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    font-size: 0.9em;
    line-height: 1.5;
}

.infobox-image {
    text-align: center;
    padding: 8px;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
}

.infobox-caption {
    padding: 0 8px 8px;
    text-align: center;
    font-size: 0.85em;
    color: #54595d;
}

.infobox-title {
    padding: 8px;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
}

.infobox-subtitle {
    padding: 0 8px 8px;
    text-align: center;
    color: #54595d;
}

.infobox-row {
    display: grid;
    grid-template-columns: 40% 60%;
    border-top: 1px solid #eaecf0;
}

.infobox-label {
    padding: 5px 8px;
    font-weight: bold;
}

.infobox-value {
    padding: 5px 8px;
}

.infobox-footer {
    border-top: 1px solid #eaecf0;
    padding: 8px;
    font-size: 0.85em;
}

@media (max-width: 600px) {
    .infobox {
        float: none;
        width: 100%;
        margin: 0 0 1em 0;
    }
}