MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
/* Compact recipe tables */ | /* Compact recipe tables */ | ||
table.recipe-table { | table.recipe-table { | ||
border: | border-collapse: collapse !important; | ||
background | border: none !important; | ||
width: | background: transparent !important; | ||
font-size: | width: auto !important; | ||
margin: 2px 0 !important; | |||
font-size: 85% !important; | |||
} | } | ||
table.recipe-table th { | table.recipe-table th { | ||
background | background: none !important; | ||
text-align: center; | text-align: center !important; | ||
font-weight: bold !important; | |||
padding: 1px 2px !important; | |||
border: none !important; | |||
border | |||
} | } | ||
table.recipe-table td { | table.recipe-table td { | ||
padding: | padding: 0 2px !important; | ||
vertical-align: middle | border: none !important; | ||
vertical-align: middle !important; | |||
} | } | ||
table.recipe-table td:first-child { | table.recipe-table td:first-child { | ||
width: | width: 28px !important; | ||
text-align: center; | text-align: center !important; | ||
} | } | ||
table.recipe-table td:last-child { | table.recipe-table td:last-child { | ||
width: | width: 22px !important; | ||
text-align: center; | text-align: center !important; | ||
} | } | ||
table.recipe-table img { | table.recipe-table img { | ||
width: 20px !important; | |||
height: 20px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } |
Revision as of 13:18, 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 !important;
border: none !important;
background: transparent !important;
width: auto !important;
margin: 2px 0 !important;
font-size: 85% !important;
}
table.recipe-table th {
background: none !important;
text-align: center !important;
font-weight: bold !important;
padding: 1px 2px !important;
border: none !important;
}
table.recipe-table td {
padding: 0 2px !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: 22px !important;
text-align: center !important;
}
table.recipe-table img {
width: 20px !important;
height: 20px !important;
margin: 0 !important;
padding: 0 !important;
}