MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
Line 22: | Line 22: | ||
/* Compact recipe tables */ | /* Compact recipe tables */ | ||
table.recipe-table { | table.recipe-table { | ||
border- | border: 2px solid #ff0000 !important; | ||
width: | background-color: #fff8f8 !important; | ||
font-size: | width: 280px; | ||
margin: | font-size: 95%; | ||
margin: 5px 0; | |||
} | } | ||
table.recipe-table th { | table.recipe-table th { | ||
background-color: # | background-color: #ffe0e0 !important; | ||
text-align: center; | text-align: center; | ||
padding: 2px; | padding: 4px !important; | ||
color: #b00000 !important; | |||
font-weight: bold; | |||
border-bottom: 2px solid #ff0000 !important; | |||
} | } | ||
table.recipe-table td { | table.recipe-table td { | ||
padding: | padding: 3px 6px !important; | ||
vertical-align: middle; | vertical-align: middle; | ||
border: 1px solid #ff8080 !important; | |||
} | } | ||
table.recipe-table td:first-child { | table.recipe-table td:first-child { | ||
width: | width: 40px !important; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.recipe-table td:last-child { | table.recipe-table td:last-child { | ||
width: | width: 35px !important; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.recipe-table img { | table.recipe-table img { | ||
max-width: | max-width: 30px; | ||
max-height: | max-height: 30px; | ||
border: 1px solid #ff0000; | |||
} | } |
Revision as of 13:17, 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: 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;
}