MediaWiki:Gadget-ResponsiveStyle.css

From Pikipedia, the Pikmin wiki
Revision as of 01:17, April 11, 2022 by Porplemontage (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Responsive CSS applied to both desktop and mobile */

/* Mobile phone */
@media all and (max-width: 719px) {
	/* Responsive tables */
	table.responsive > tbody > tr {
		display: block;
	}
	table.responsive > tbody > tr > td {
		display: block;
		text-align: right;
	}
	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;
	}

	/* Site styles */
	.medialist.listenlist {
		width: auto !important;
	}
	.notice#spoiler {
		padding: 2px 6px !important;
		margin: 18px 6px !important;
	}
	.columns {
		column-count: 2 !important;
	}
}