Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 13: Line 13:


.item-infobox {
.item-infobox {
   flex: 0 0 300px;
   flex: 0 0 350px;
   max-width: 300px;
   max-width: 350px;
   padding: 1em;
   padding: 1em;
}
}

Revision as of 22:49, 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 350px;
  max-width: 350px;
  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;
  }
}