MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
.page-Main_Page .catlinks { | .page-Main_Page .catlinks { | ||
display: none !important; | display: none !important; | ||
} | |||
.main-page-layout { | |||
display: flex; | |||
flex-direction: row; /* default for larger screens */ | |||
gap: 20px; | |||
} | |||
@media screen and (max-width: 767px) { | |||
.main-page-layout { | |||
flex-direction: column; | |||
} | |||
} | } |
Revision as of 05:26, 22 April 2025
/* CSS placed here will be applied to all skins */ /* InfoBox */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; float: right; margin: 0 0 1em 1em; width: 250px; font-size: 90%; line-height: 1.4em; } .infobox th { background-color: #efefef; text-align: left; padding: 4px; } .infobox td { padding: 4px; } .page-Main_Page main header, .page-Main_Page main .page-heading { display: none !important; } .page-Main_Page .catlinks { display: none !important; } .main-page-layout { display: flex; flex-direction: row; /* default for larger screens */ gap: 20px; } @media screen and (max-width: 767px) { .main-page-layout { flex-direction: column; } }