No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
.container { | .main-page=container { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-around; | justify-content: space-around; | ||
padding: | padding: 10px; | ||
} | } | ||
.box { | .main-page-box { | ||
background-color: #1a1a1a; | background-color: #1a1a1a; | ||
color: #ffffff; | color: #ffffff; | ||
padding: | padding: 10px; | ||
border-radius: 10px; | border-radius: 10px; | ||
margin: 10px; | margin: 10px; | ||
flex: 1 1 30%; | flex: 1 1 30%; | ||
text-align: center; | text-align: center; | ||
box-sizing: border-box; | box-sizing: border-box; |
Revision as of 04:22, 2 June 2024
/* CSS placed here will be applied to all skins */ .image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } .image-grid img { max-width: 100%; height: auto; } body.page-Main_Page div#siteSub { display: none !important; } .main-page=container { display: flex; flex-wrap: wrap; justify-content: space-around; padding: 10px; } .main-page-box { background-color: #1a1a1a; color: #ffffff; padding: 10px; border-radius: 10px; margin: 10px; flex: 1 1 30%; text-align: center; box-sizing: border-box; } @media (max-width: 900px) { .box { flex: 1 1 100%; /* Each box takes full width in smaller viewports */ } }