MediaWiki:Gadget-ResponsiveStyle.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
/* Mobile phone */
/* Mobile phone */
@media all and (max-width: 719px) {
@media all and (max-width: 719px) {
/* Responsive tables */
/* Template:Spoiler */
table.responsive > tbody > tr {
display: block;
}
table.responsive > tbody > tr > td {
display: block;
text-align: right;
font-size: 100% !important;
}
table.responsive > tbody > tr > td ul,
table.responsive > tbody > tr > td ol {
clear: left;
text-align: left;
}
table.responsive > tbody > tr > td::before {
float: left;
font-weight: bold;
content: attr(data-label);
margin-right: 0.75em;
}
table.responsive > tbody > tr:not(:last-child) {
margin-bottom: 0.5em;
}
table.responsive.jquery-tablesorter > thead,
table.responsive:not(.jquery-tablesorter) > tbody > tr:first-child {
display: none;
}
 
/* Responsive tables (columns only) */
table.responsive-col > tbody > tr > td {
display: block !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
}
 
/* Site styles */
.notice#spoiler {
.notice#spoiler {
padding: 2px 6px !important;
padding: 2px 6px !important;
margin: 18px 6px !important;
margin: 18px 6px !important;
}
}
/* Template:Columns */
.columns {
.columns {
column-count: 1 !important;
column-count: 1 !important;
}
}
}
}

Revision as of 12:08, January 26, 2024

/* Responsive CSS applied to both desktop and mobile */

/* Mobile phone */
@media all and (max-width: 719px) {
	/* Template:Spoiler */
	.notice#spoiler {
		padding: 2px 6px !important;
		margin: 18px 6px !important;
	}
	/* Template:Columns */
	.columns {
		column-count: 1 !important;
	}
}