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%;
}
/* Контейнер для сетки карточек рецептов */
.recipe-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
/* Карточка рецепта */
table.recipe-table {
border-collapse: collapse !important;
border: 1px solid #bbb !important;
background: #fcfcfc !important;
width: 220px !important;
font-size: 85% !important;
display: inline-block;
vertical-align: top;
box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
border-radius: 4px;
}
/* Заголовок рецепта */
table.recipe-table caption {
background: #e0e0e0;
font-weight: bold;
text-align: center;
padding: 4px;
border-bottom: 1px solid #bbb;
}
/* Заголовки секций */
table.recipe-table th {
background: #f2f2f2 !important;
text-align: center !important;
font-weight: bold !important;
padding: 2px 4px !important;
border: none !important;
color: #555;
}
/* Строки */
table.recipe-table td {
padding: 2px 4px !important;
border: none !important;
vertical-align: middle !important;
}
/* Иконки */
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;
}
/* Подсветка входов и выходов */
table.recipe-table tr.input-row td {
background: #f9fcff;
}
table.recipe-table tr.output-row td {
background: #f9fff9;
}