MediaWiki:Common.css
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%;
}
/* === Recipes === */
.recipe-grid {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin-top: 10px;
align-items: flex-start;
}
table.recipe-table td {
padding: 3px 6px !important;
border: none !important;
vertical-align: middle !important;
height: auto;
line-height: normal;
}
/* Заголовок с названием рецепта */
table.recipe-table caption {
background: linear-gradient(to bottom, #e6e6e6, #d9d9d9);
font-weight: bold;
font-size: 95%;
padding: 5px;
text-align: center;
border-bottom: 1px solid #bbb;
}
/* Заголовки секций Input/Output/Time */
table.recipe-table th {
background: #f5f5f5 !important;
text-align: center !important;
font-weight: bold !important;
padding: 3px 4px !important;
border: none !important;
color: #555;
font-size: 80%;
text-transform: uppercase;
}
/* Ячейки с предметами */
table.recipe-table td {
padding: 3px 6px !important;
border: none !important;
vertical-align: middle !important;
height: 26px;
line-height: 26px;
}
/* Иконки */
table.recipe-table td:first-child {
width: 28px !important;
text-align: center !important;
}
table.recipe-table td:last-child {
width: 28px !important;
text-align: center !important;
}
table.recipe-table img {
width: 22px !important;
height: 22px !important;
margin: 0 !important;
padding: 0 !important;
display: inline-block;
vertical-align: middle;
}
/* Подсветка строк */
table.recipe-table tr.input-row td {
background: #f9fcff;
}
table.recipe-table tr.output-row td {
background: #f9fff9;
}