28,401
edits
(I changed ID names in the Main Page code and forgot to update in the CSS) |
(updated to include rules for "navigation") |
||
| Line 19: | Line 19: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
border-color: #ddd; | border-color: #ddd; | ||
display:flex; | |||
flex-wrap: wrap; | |||
} | } | ||
#mp-welcomecount { | #mp-welcomecount { | ||
width: 50%; | |||
text-align: center; | text-align: center; | ||
margin: 0.4em; | margin: 0.4em; | ||
| Line 45: | Line 48: | ||
#articlecount { | #articlecount { | ||
font-size: 85%; | font-size: 85%; | ||
} | |||
#mp-navigation { | |||
width: 50%; /* Set the width to 50% of its parent container */ | |||
margin: 0.4em auto; /* Center the element horizontally with auto margins */ | |||
align-items: center; /* Center the text vertically */ | |||
justify-content: center; /* Center the text horizontally */ | |||
text-align: center; /* Ensure text inside the element is centered */ | |||
} | } | ||
| Line 140: | Line 151: | ||
} | } | ||
#mp-welcomecount { | #mp-welcomecount, | ||
#mp-navigation { | |||
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||