Template:Infobox/styles.css: Difference between revisions

From Commonwealth of Sovereign States
Created page with ".infotable { float: right; min-width: 300px; margin: 5px; line-height: 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 {..."
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
.infotable {
.infotable {
     float: right;
     float: right;
     min-width: 300px;
     min-width: 320px;
     margin: 5px;
     margin: 5px;
     line-height: 1em;
     line-height: 1.1em;
}
}


Line 39: Line 39:
     font-weight: 400;
     font-weight: 400;
     font-size: small;
     font-size: small;
}
.infotable .officetitle {
    background-color: lavender;
    padding: 2px;
}
}


Line 47: Line 52:


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


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


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


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


.infotable .merged {
.infotable .merged {
     border: none;
     border: none;
}
.drop-shadow img {
    border: 1px solid lightgrey;
}
}


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

Latest revision as of 00:09, 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 {
    border: 1px solid lightgrey;
}

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