Template:Sandbox/styles.css

From VNDev Wiki
Revision as of 19:26, 23 June 2022 by Arsym (talk | contribs) (Trying it in the Template namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.mp_grid{
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 10px;
}

.mp_grid_box{
  border: 1px solid #ccc;
  border-radius: 10px;
  padding:10px;
}

.mp_grid h2{
  margin-top: 10px;
}

/* Small screens (mobile) */
@media screen and (max-width: 850px) {
  .mp_grid{
    grid-template-columns: 100%;
  }
}