MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→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; }" |
No edit summary |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
.infobox td { | .infobox td { | ||
padding: 4px; | 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; | |||
gap: 4px; | |||
} | |||
.main-page-column { | |||
display:flex; | |||
flex-direction: column; | |||
gap:4px; | |||
} | |||
.image-flex-basis { | |||
flex-basis:150px; | |||
} | |||
@media screen and (max-width: 767px){ | |||
.main-page-layout{ | |||
flex-direction:column; | |||
} | |||
.image-flex-basis { | |||
flex-basis:350px; | |||
} | |||
} | } |
Latest revision as of 07:52, 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; gap: 4px; } .main-page-column { display:flex; flex-direction: column; gap:4px; } .image-flex-basis { flex-basis:150px; } @media screen and (max-width: 767px){ .main-page-layout{ flex-direction:column; } .image-flex-basis { flex-basis:350px; } }