MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
no edit summary
OtherXAdmin (talk | contribs) No edit summary Tag: Manual revert |
OtherXAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 5,812: | Line 5,812: | ||
text-align: center; | text-align: center; | ||
display: table-cell; /* or 'table-cell' if block doesn't work as intended */ | display: table-cell; /* or 'table-cell' if block doesn't work as intended */ | ||
} | |||
/* Remove the existing CSS for .mainpage-contents-cont */ | |||
/* Style for the Left Column section */ | |||
.mainpage-left { | |||
width: 48%; | |||
float: left; | |||
} | |||
/* Clear float for proper alignment */ | |||
.mainpage-left::after { | |||
content: ""; | |||
display: table; | |||
clear: both; | |||
} | |||
/* Style for the elements in Left Column */ | |||
.mainpage-left .contents-guides, | |||
.mainpage-left .contents-oda, | |||
.mainpage-left .contents-relics { | |||
width: 100%; | |||
margin-bottom: 20px; | |||
} | |||
.mainpage-left .contents-guides h2, | |||
.mainpage-left .contents-oda h2, | |||
.mainpage-left .contents-relics h2 { | |||
font-size: 16px; | |||
margin: 5px 0; | |||
} | } |