Template:Infobox/styles.css: Difference between revisions

From Commonwealth of Sovereign States
No edit summary
No edit summary
Line 43: Line 43:
.infotable .officetitle {
.infotable .officetitle {
     background-color: lavender;
     background-color: lavender;
     border: 2px solid rgb(248, 249, 250);
     padding: 2px;
}
}



Revision as of 16:30, 7 May 2025

.infotable {
    float: right;
    min-width: 320px;
    margin: 5px;
    line-height: 1.1em;
}

.infotable th {
    background-color: rgb(248, 249, 250);
    border: none;
    vertical-align: top;
}

.infotable td {
    border: none;
    background-color: rgb(248, 249, 250);
    vertical-align: top;
}

.infotable .label {
    text-align: left;
    border-right: none;
    width: 45%;
    padding-top: 0;
    padding-bottom: 0;
    font-size: small;
}

.infotable .data {
    text-align: left;
    border-left: none;
    padding-top: 0;
    padding-bottom: 0;
    font-size: small;
}

.infotable .spansubtext {
    text-align: center;
    font-weight: 400;
    font-size: small;
}

.infotable .officetitle {
    background-color: lavender;
    padding: 2px;
}

.infotable .mergedtop {
    border: none;
    border-top: 1px solid lightgrey;
}

.infotable .mergedtop .label {
    padding: 4px 8px 0px;
    padding-bottom: 8px;
}

.infotable .mergedtop .data {
    padding: 4px 8px 0px;
    padding-bottom: 8px;
}

.infotable .merged .label {
    padding: 2px 8px 0px;
    padding-bottom: 8px;
}

.infotable .merged .data {
    padding: 2px 8px 0px;
    padding-bottom: 8px;
}

.infotable .merged {
    border: none;
}

.infotable tr:last-of-type .label {
    padding-bottom: 8px;
}