MediaWiki:Common.css: Difference between revisions

From Azmarin Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
     float: right;
     float: right;
     table-layout: fixed;
     table-layout: auto;
     background: var(--body-light);
     background: var(--body-light);
     border: 1px solid #000;
     border: 1px solid #000;

Revision as of 19:39, 23 June 2025

/* CSS placed here will be applied to all skins */


.az-infobox {
    font-size: 0.85em;
    width: 300px;
    margin: 0.5em 0 1em 1em;
    border-collapse: collapse;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    float: right;
    table-layout: auto;
    background: var(--body-light);
    border: 1px solid #000;
    word-break: break-word;
}

.az-infobox .infobox-header,
.az-infobox .infobox-subheader{
    color: #fff;
    font-size: 1.15em;
    line-height: 1.4em;
    background: #2e293c;
    padding: 0.5em 0;
    white-space: normal;
}

.az-infobox .infobox-subheader{
    background: #4a4566;
}

.az-infobox tr td:first-child{
    font-weight: bold;
    text-align: right;
    padding-right:8px;
    width:25%;
}