Template:Main Page/styles.css

Revision as of 18:55, 1 February 2026 by Pumpkin (talk | contribs)
.mp-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mp-column {
  flex: 1 1 30%;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mp-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.mp-h2 {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s;
}

#mp-left .mp-h2 { background-color: #e7033f; }
#mp-middle .mp-h2 { background-color: #0b1e1c; }
#mp-right .mp-h2 { background-color: #082849; }

@media (max-width: 875px) {
  .mp-column { flex: 1 1 100%; }
}