MediaWiki:Common.css

From Evospace
Revision as of 12:58, 31 July 2025 by Evospace (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.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;
}