Template:Main page/sandbox style.css

From Ylvapedia
Revision as of 02:37, 17 July 2024 by Desu (talk | contribs) (h2 color styling, WIP)
Jump to navigation Jump to search
#main-page-elin > ul {
  column-count: 2;
  column-fill: balance;
}
#main-page-elin ul > li {
  break-inside: avoid-column;
}
.main-page-content-box {
  background: #F8EDE3;
  margin: 0 1em 1em 0;
  padding-bottom: 1em;
  border: 2px solid #DFD3C3;
  border-radius: 5px;
}
#main-page-nav {
  display:flex;
  justify-content:flex-start;
  align-items:stretch;
  flex-wrap:wrap
}
.main-page-content-box > h2 {
  border:0;
  margin:0;
  padding:0 1em;
  background-color: #FCA;
}
.main-page-content-box > h3 {
  padding-left: 1em;
}