Template:Main Page/styles.css: Difference between revisions
AZMindroma (talk | contribs) No edit summary Tag: Reverted |
AZMindroma (talk | contribs) No edit summary Tag: Reverted |
||
| Line 15: | Line 15: | ||
} | } | ||
#mp-topbanner | #mp-topbanner { | ||
position: relative; | |||
# | box-sizing: border-box; | ||
min-width: 47em; | |||
border-color: #ddd; | |||
background-color: #f9f9f9; | |||
white-space: nowrap; | |||
display: flex; /* Add flexbox */ | |||
justify-content: center; /* Center horizontally */ | |||
align-items: center; /* Center vertically */ | |||
min-height: 120px; /* Give it some height to center within */ | |||
} | } | ||
#mp-welcomecount { | #mp-welcomecount { | ||
margin: 0.4em; | |||
width: auto; /* Change from fixed width to auto */ | |||
text-align: center; | |||
white-space: normal; /* Allow text to wrap if needed */ | |||
} | } | ||