MediaWiki:Common.css

From Evospace
Revision as of 13:16, 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: center;
    clear: center;
    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: 260px;
    font-size: 90%;
    margin: 3px 0;
}
table.recipe-table th {
    background-color: #ececec;
    text-align: center;
    padding: 2px;
}
table.recipe-table td {
    padding: 1px 4px !important;
    vertical-align: middle;
}
table.recipe-table td:first-child {
    width: 32px;
    text-align: center;
}
table.recipe-table td:last-child {
    width: 24px;
    text-align: center;
}
table.recipe-table img {
    max-width: 24px;
    max-height: 24px;
}