Template:Main page/sandbox style.css: Difference between revisions

From Ylvapedia
Jump to navigation Jump to search
(Sandboxing for the Main Page styling)
 
(Refactoring flex behavior)
Line 12: Line 12:
   border: 2px solid #FBB;
   border: 2px solid #FBB;
   border-radius: 5px;
   border-radius: 5px;
}
#main-page-nav {
display: flex;
justify-content: flex-start;
align-items: stretch;
}
}

Revision as of 02:02, 17 July 2024

#main-page-elin > ul {
  column-count: 2;
  column-fill: balance;
}
#main-page-elin ul > li {
  break-inside:avoid-column;
}
.main-page-content-box {
  background: #FDC;
  margin: 0 1em 1em 0;
  padding: 0 1em 1em 1em;
  border: 2px solid #FBB;
  border-radius: 5px;
}
#main-page-nav {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
}