MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); | ||
Line 1,235: | Line 1,234: | ||
color: black; | color: black; | ||
} | } | ||
/*CSS For the main page*/ | |||
.main-card-container { | |||
height: fit-content; | |||
height: -moz-fit-content; | |||
flex-grow:1; | |||
display:flex; | |||
flex-wrap: wrap; | |||
padding: 0rem 0.5rem; | |||
justify-content: left; | |||
align-items: stretch; | |||
align-content: stretch; | |||
margin: -0.2rem 0rem; | |||
} | |||
.main-flex-card { | |||
border: 0.4rem solid #555555; | |||
border-radius: 1rem; | |||
padding: 0.3rem; | |||
margin: 0.2rem; | |||
flex: 1 1 30%; | |||
max-width: 29%; | |||
min-width: 8rem; | |||
} | |||
.main-card-container h6 { | |||
text-align:center | |||
} | |||
.main-flex-card ul { | |||
width: fit-content; | |||
width: -moz-fit-content; | |||
max-width: 80%; | |||
margin: auto; | |||
} | |||
.main-flex-card ul li { | |||
width: fit-content; | |||
width: -moz-fit-content; | |||
max-width: 100%; | |||
} | |||
.main-card-header{ | |||
font-weight: bold; | |||
text-align: center; | |||
margin-top: 0.3rem; | |||
} |