Template:Infobox/styles.css: Difference between revisions

From Commonwealth of Sovereign States
No edit summary
No edit summary
Line 75: Line 75:
}
}


.infotable .drop-shadow {
.drop-shadow img {
     box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
     box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
}



Revision as of 00:02, 12 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;
}

.drop-shadow img {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

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