MediaWiki:Common.css

From Evospace
Revision as of 13:17, 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: 2px solid #ff0000 !important;
    background-color: #fff8f8 !important;
    width: 280px;
    font-size: 95%;
    margin: 5px 0;
}

table.recipe-table th {
    background-color: #ffe0e0 !important;
    text-align: center;
    padding: 4px !important;
    color: #b00000 !important;
    font-weight: bold;
    border-bottom: 2px solid #ff0000 !important;
}

table.recipe-table td {
    padding: 3px 6px !important;
    vertical-align: middle;
    border: 1px solid #ff8080 !important;
}

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

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

table.recipe-table img {
    max-width: 30px;
    max-height: 30px;
    border: 1px solid #ff0000;
}