MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 33: | Line 33: | ||
.main-page-layout { | .main-page-layout { | ||
display: flex; | display: flex; | ||
flex-direction: | flex-direction: row; | ||
gap: 20px; | gap: 20px; | ||
} | } | ||
| Line 39: | Line 39: | ||
@media screen and (max-width: 767px) { | @media screen and (max-width: 767px) { | ||
.main-page-layout { | .main-page-layout { | ||
flex-direction: | flex-direction: column; | ||
} | } | ||
} | } | ||
Revision as of 05:27, 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: 20px;
}
@media screen and (max-width: 767px) {
.main-page-layout {
flex-direction: column;
}
}