MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Mistiryshak (talk | contribs) mNo edit summary |
Mistiryshak (talk | contribs) mNo edit summary |
||
| Line 33: | Line 33: | ||
float: inherit; | float: inherit; | ||
width: inherit; | width: inherit; | ||
} | |||
} | |||
@media screen and ( max-width: 720px ) { | |||
body.skin-minerva td, | |||
body.skin-minerva tr, | |||
body.skin-minerva .mp-column, | |||
body.skin-minerva .floatleft, | |||
body.skin-minerva .floatright, | |||
body.skin-minerva tbody, | |||
body.skin-minerva table { | |||
display: block !important; | |||
float: none !important; | |||
width: 100% !important; | |||
height: auto !important; | |||
box-sizing: border-box; | |||
} | } | ||
} | } | ||
Revision as of 19:21, 21 July 2023
.portal-column-left {
float: left;
width: 50%;
}
.portal-column-right {
float: right;
width: 49%;
}
.portal-column-left-wide {
float: left;
width: 60%;
}
.portal-column-right-narrow {
float: right;
width: 39%;
}
.portal-column-left-extra-wide {
float: left;
width: 70%;
}
.portal-column-right-extra-narrow {
float: right;
width: 29%;
}
@media only screen and (max-width: 800px) {
/* Decouple the columns on narrow screens */
.portal-column-left,
.portal-column-right,
.portal-column-left-wide,
.portal-column-right-narrow,
.portal-column-left-extra-wide,
.portal-column-right-extra-narrow {
float: inherit;
width: inherit;
}
}
@media screen and ( max-width: 720px ) {
body.skin-minerva td,
body.skin-minerva tr,
body.skin-minerva .mp-column,
body.skin-minerva .floatleft,
body.skin-minerva .floatright,
body.skin-minerva tbody,
body.skin-minerva table {
display: block !important;
float: none !important;
width: 100% !important;
height: auto !important;
box-sizing: border-box;
}
}
#test {
color:white;
}
* {font-family: sans-serif}
* body.page-Main_Page h1.firstHeading { display:none; }