MediaWiki:Gadget-MainPageStyle.css: Difference between revisions

No edit summary
No edit summary
Line 14: Line 14:
/* Responsive fixes */
/* Responsive fixes */
@media all and (max-width: 719px) {
@media all and (max-width: 719px) {
#mp-from {
display: none;
}
#mp-welcome {
#mp-welcome {
font-size: 175% !important;
font-size: 175% !important;

Revision as of 17:02, August 19, 2023

/* CSS styling and responsive support for the main page */

/* Site styles */
.containerContent > ul:first-of-type {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-right: 0.75em !important;
}
.containerContent > .floatright + p,
.mp-navigation {
	margin-top: 0 !important;
}

/* Responsive fixes */
@media all and (max-width: 719px) {
	#mp-from {
		display: none;
	}
	#mp-welcome {
		font-size: 175% !important;
	}
	#mp-container {
		overflow: visible !important;
	}
	#mp-container > tbody > tr > td,
	.mp-navigation > tbody > tr > td,
	table.communities > tbody > tr > th {
		display: block !important;
		width: auto !important;
		padding: 0 !important;
		border: 0 !important;
	}
	table.communities > tbody > tr > th:not(:last-of-type) {
		margin-bottom: 15px;
	}
	table.communities > tbody > tr:not(:first-of-type) {
		display: none !important;
	}
	body .containerTem .floatleft,
	body .containerTem .floatright {
		margin-top: 0 !important;
	}
	.containerContent input.mw-ui-input {
		width: 70% !important;
	}
	.containerTem {
		width: auto !important;
	}
}