MediaWiki:Gadget-MainPageStyle.css: Difference between revisions

m (1 revision imported)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
margin-bottom: 0 !important;
margin-bottom: 0 !important;
margin-right: 0.75em !important;
margin-right: 0.75em !important;
}
.containerContent > .twitter-timeline {
min-height: 381px !important;
margin-left: auto !important;
margin-right: auto !important;
}
}
.containerContent > .floatright + p,
.containerContent > .floatright + p,
Line 19: Line 14:
/* Responsive fixes */
/* Responsive fixes */
@media all and (max-width: 719px) {
@media all and (max-width: 719px) {
#mp-welcome {
font-size: 200% !important;
}
#mp-container {
#mp-container {
overflow: visible !important;
overflow: visible !important;

Latest revision as of 08:31, August 21, 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-welcome {
		font-size: 200% !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;
	}
}