MediaWiki:Common.css: Difference between revisions

From TPT-MC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


table {
table {
    border: 1px solid black;
     table-layout: fixed;
     table-layout: fixed;
     width: 200px;
     width: 500px;
}
}


th,
th,
td {
td {
    border: 1px solid black;
     width: 150px;
     width: 100px;
     overflow: hidden;
     overflow: hidden;
}
}

Revision as of 01:25, 30 November 2024

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

table {
    table-layout: fixed;
    width: 500px;
}

th,
td {
    width: 150px;
    overflow: hidden;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;

    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    line-height: 30px;
    height: 25px;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    vertical-align: top;
    width: 145px;
}
.infobox-table tr {
}
.infobox-table td {
    width: 145px;
    text-align: center;
    vertical-align: middle;
}