MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (9 intermediate revisions 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'); | |||
/* Reset italic styling set by user agent */ | /* Reset italic styling set by user agent */ | ||
cite, dfn { | cite, dfn { | ||
| Line 1,203: | Line 1,206: | ||
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | ||
body { | body { | ||
| Line 1,224: | Line 1,226: | ||
padding: 0rem 0.2rem; | padding: 0rem 0.2rem; | ||
border-radius: 0.2rem; | border-radius: 0.2rem; | ||
font-weight: 700; | |||
} | |||
.mw-logo-wordmark { | |||
font-size: 1.3rem; | |||
font-family: 'Roboto', sans-serif; | |||
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: 0px; | |||
border-radius: 1rem; | |||
background: #F7F9F8; | |||
box-shadow: 0.1rem 0.1rem 0.4rem black; | |||
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; | |||
} | |||