MediaWiki:Common.css: Difference between revisions

From Commonwealth of Sovereign States
No edit summary
Replaced content with ".infotable { float: right; padding: 5px; margin-left: 3px; background: #eaecf0; width: 25%; } .infotable th { text-align: left; }"
Tag: Replaced
 
Line 1: Line 1:
.infobox {
.infotable {
    background-color: rgb(248, 249, 250);
    border-bottom-color: rgb(162, 169, 177);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-collapse: collapse;
    border-image-repeat: stretch;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(162, 169, 177);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(162, 169, 177);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(162, 169, 177);
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    clear: right;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table;
     float: right;
     float: right;
     font-family: sans-serif;
     padding: 5px;
     font-size: medium;
     margin-left: 3px;
     min-width: 300px;
     background: #eaecf0;
     max-width: 300px;
     width: 25%;
}
}


.infobox th {
.infotable th {
    padding: 10px;
}
 
.infobox tr {
    width: 100%;
}
 
.infobox .subheader {
    border-collapse: collapse;
    border-top-color: rgb(162, 169, 177);
    border-top-style: solid;
    border-top-width: 1px;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-cell;
    font-family:sans-serif;
    font-size: small;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: top;
}
 
.infobox .mergedtoprow {
    border-bottom-color: rgb(162, 169, 177);
    border-collapse: collapse;
    border-left-color: rgb(162, 169, 177);
    border-right-color: rgb(162, 169, 177);
    border-top-color: rgb(162, 169, 177);
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-row;
    font-family: sans-serif;
    font-size: small;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: middle;
}
 
.mergedtoprow .infoboxlabel {
    border-collapse: collapse;
    border-top-color: rgb(162, 169, 177);
    border-top-style: solid;
    border-top-width: 1px;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-cell;
    font-family: sans-serif;
    font-size: small;
    font-weight: 700;
    padding: 8px;
    text-align: left;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: top;
}
 
.mergedtoprow .infoboxdata {
    border-collapse: collapse;
    border-top-color: rgb(162, 169, 177);
    border-top-style: solid;
    border-top-width: 1px;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-cell;
    font-family: sans-serif;
    font-size: small;
    padding: 8px;
    text-align: left;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: top;
}
 
.infoboxdata img {
    display: block;
    margin: auto;
}
 
.infobox .mergedrow {
    border-bottom-color: rgb(162, 169, 177);
    border-collapse: collapse;
    border-left-color: rgb(162, 169, 177);
    border-right-color: rgb(162, 169, 177);
    border-top-color: rgb(162, 169, 177);
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-row;
    font-family: sans-serif;
    font-size: small;
    text-indent: 0px;
    unicode-bidi: isolate;
    vertical-align: middle;
}
 
.mergedrow .infoboxlabel {
    border-collapse: collapse;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-cell;
    font-family: sans-serif;
    font-size: small;
    font-weight: 700;
    padding: 2px 8px 8px;
    text-align: left;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: top;
}
 
.mergedrow .infoboxdata {
    border-collapse: collapse;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: table-cell;
    font-family: sans-serif;
    font-size: small;
    padding: 2px 8px 8px;
     text-align: left;
     text-align: left;
    text-indent: 0;
    unicode-bidi: isolate;
    vertical-align: top;
}
}

Latest revision as of 23:22, 6 May 2025

.infotable {
    float: right;
    padding: 5px;
    margin-left: 3px;
    background: #eaecf0;
    width: 25%;
}

.infotable th {
    text-align: left;
}