MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Hytalewiki (talk | contribs) No edit summary |
Hytalewiki (talk | contribs) No edit summary |
||
| Line 16: | Line 16: | ||
max-width: 300px; | max-width: 300px; | ||
padding: 1em; | padding: 1em; | ||
} | |||
.recipe-container tbody tr { | |||
background: rgba(255, 255, 255, 0.02); | |||
transition: background 0.2s ease; | |||
} | |||
.recipe-container tbody tr:hover { | |||
background: rgba(52, 152, 219, 0.1); | |||
} | |||
.recipe-container tbody td { | |||
padding: 10px 8px; | |||
border-bottom: 1px solid rgba(15, 76, 117, 0.3); | |||
color: #ecf0f1; | |||
} | |||
.recipe-container tbody tr:last-child td { | |||
border-bottom: none; | |||
} | |||
/* Responsive */ | |||
@media (max-width: 768px) { | |||
.recipe-container > div > div:first-child { | |||
grid-template-columns: 1fr !important; | |||
} | |||
} | } | ||
Revision as of 20:32, 18 January 2026
/* CSS placed here will be applied to all skins */
.item-layout {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 2em;
}
.item-main {
flex: 1;
min-width: 0;
}
.item-infobox {
flex: 0 0 300px;
max-width: 300px;
padding: 1em;
}
.recipe-container tbody tr {
background: rgba(255, 255, 255, 0.02);
transition: background 0.2s ease;
}
.recipe-container tbody tr:hover {
background: rgba(52, 152, 219, 0.1);
}
.recipe-container tbody td {
padding: 10px 8px;
border-bottom: 1px solid rgba(15, 76, 117, 0.3);
color: #ecf0f1;
}
.recipe-container tbody tr:last-child td {
border-bottom: none;
}
/* Responsive */
@media (max-width: 768px) {
.recipe-container > div > div:first-child {
grid-template-columns: 1fr !important;
}
}