MediaWiki:Common.css: Difference between revisions

From Evospace
Jump to navigation Jump to search
Created page with ".infobox { float: right; clear: right; margin: 0 0 1em 1em; width: 300px; background-color: #f8f8f8; border: 1px solid #aaa; border-collapse: collapse; font-size: 90%; } .infobox th, .infobox td { border: 1px solid #aaa; padding: 4px; vertical-align: top; } .infobox th { background-color: #ddd; text-align: left; width: 40%; }"
 
No edit summary
Line 18: Line 18:
     text-align: left;
     text-align: left;
     width: 40%;
     width: 40%;
}
/* Compact recipe tables */
table.recipe-table {
    border-collapse: collapse;
    width: 280px;
    font-size: 90%;
    margin: 5px 0;
}
table.recipe-table th {
    background-color: #ececec;
    text-align: center;
    padding: 3px;
}
table.recipe-table td {
    padding: 2px 5px !important;
    vertical-align: middle;
}
table.recipe-table td:first-child {
    width: 36px;
    text-align: center;
}
table.recipe-table td:last-child {
    width: 30px;
    text-align: center;
}
table.recipe-table img {
    max-width: 28px;
    max-height: 28px;
}
}

Revision as of 12:58, 31 July 2025

.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    width: 300px;
    background-color: #f8f8f8;
    border: 1px solid #aaa;
    border-collapse: collapse;
    font-size: 90%;
}
.infobox th, .infobox td {
    border: 1px solid #aaa;
    padding: 4px;
    vertical-align: top;
}
.infobox th {
    background-color: #ddd;
    text-align: left;
    width: 40%;
}

/* Compact recipe tables */
table.recipe-table {
    border-collapse: collapse;
    width: 280px;
    font-size: 90%;
    margin: 5px 0;
}

table.recipe-table th {
    background-color: #ececec;
    text-align: center;
    padding: 3px;
}

table.recipe-table td {
    padding: 2px 5px !important;
    vertical-align: middle;
}

table.recipe-table td:first-child {
    width: 36px;
    text-align: center;
}

table.recipe-table td:last-child {
    width: 30px;
    text-align: center;
}

table.recipe-table img {
    max-width: 28px;
    max-height: 28px;
}