MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
table.recipe-table { | table.recipe-table { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
width: | width: 260px; | ||
font-size: 90%; | font-size: 90%; | ||
margin: | margin: 3px 0; | ||
} | } | ||
table.recipe-table th { | table.recipe-table th { | ||
background-color: #ececec; | background-color: #ececec; | ||
text-align: center; | text-align: center; | ||
padding: | padding: 2px; | ||
} | } | ||
table.recipe-table td { | table.recipe-table td { | ||
padding: | padding: 1px 4px !important; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
table.recipe-table td:first-child { | table.recipe-table td:first-child { | ||
width: | width: 32px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.recipe-table td:last-child { | table.recipe-table td:last-child { | ||
width: | width: 24px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.recipe-table img { | table.recipe-table img { | ||
max-width: | max-width: 24px; | ||
max-height: | max-height: 24px; | ||
} | } |
Revision as of 13:15, 31 July 2025
.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: 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;
}