Template:Infocard/styles.css

From MB Wiki
< Template:Infocard
Revision as of 08:47, 20 February 2026 by Ais (talk | contribs) (Created page with ".infocard { background: #f8f9fa; border: 1px solid #a2a9b1; border-radius: 4px; padding: 10px; margin: 10px 0; overflow: hidden; } .infocard .card { float: left; margin-right: 15px; } .infocard .image { background: #fff; border: 1px solid #a2a9b1; border-radius: 4px; padding: 5px; margin-bottom: 10px; } .infocard .content { background: #fff; border: 1px solid #a2a9b1; border-radius: 4px; padding: 8px;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.infocard {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.infocard .card {
    float: left;
    margin-right: 15px;
}

.infocard .image {
    background: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 10px;
}

.infocard .content {
    background: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 8px;
}

.infocard .intro,
.infocard .outro {
    margin: 5px 0;
    padding: 3px 0;
}

.infocard-header {
    min-height: 60px;
    position: relative;
    padding: 5px 0;
}

.infocard-title {
    float: left;
}

.infocard-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.infocard-namenote {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
    margin-left: 5px;
}

.infocard-subname {
    font-size: 1.1em;
    color: #555;
    font-style: italic;
}

.infocard-type {
    font-size: 0.9em;
    color: #777;
    text-transform: uppercase;
}

.infocard-icon {
    float: right;
    margin-left: 10px;
}

.infocard-row {
    clear: both;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    margin-left: 150px;
}

.infocard-row:last-child {
    border-bottom: none;
}

.infocard-label {
    float: left;
    width: 120px;
    font-weight: bold;
    color: #555;
}

.infocard-value {
    margin-left: 130px;
    color: #333;
}

/* Clearfix */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}