MediaWiki:Gadget-ResponsiveStyle.css

From Halopedia, the Halo wiki

Revision as of 09:19, August 20, 2024 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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) {
	/* User board */
	.user-board-message {
		width: auto !important;
	}
	.user-page-message-form textarea {
		width: 100% !important;
	}

	/* Template:Ref/List */
	.reflist {
		column-count: 1 !important;
	}

	/* Template:Notice */
	.notice {
		min-width: 0 !important;
		max-width: none !important;
	}
	.notice-wrapper {
		width: auto !important;
		display: block !important;
	}

	/* Hub pages */
	.hub-body {
		display: block !important;
	}
	.hub-body-col {
		width: auto !important;
		max-width: none !important;
	}
	.hub-body-box {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.mobile #hub-contents {
		display: none !important;
	}
}

/* Desktop/tablet */
@media all and (min-width: 720px) {
	/* User profile */
	#user-page-left > .profile-info-container > div {
		width: 50%;
		float: left;
	}
}