MediaWiki:Gadget-MobileStyle.css

From Halopedia, the Halo wiki

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.
/* CSS placed here will affect users of the mobile site */

/* Indicator icons */
body.skin-minerva .mw-indicator {
	margin: 0 1px;
}
#mw-indicator-rc {
	display: none;
}

/* Project talk pages */
.rootpage-Halopedia_Changing_username dd {
	margin-top: 0.25em !important;
	margin-left: 0.25em !important;
}
.rootpage-Halopedia_Changing_username dl,
.rootpage-Halopedia_Changing_username dl dt {
	margin-left: 0 !important;
}
.rootpage-Halopedia_Changing_username p + dl,
.rootpage-Halopedia_Changing_username ul + dl,
.rootpage-Halopedia_Changing_username ol + dl {
	margin-top: -0.5em !important;
}
.rootpage-Halopedia_Changing_username dl + dl {
	margin-top: -0.25em !important;
}
.rootpage-Halopedia_Changing_username dl {
	font-size: 100% !important;
	margin-bottom: 0 !important;
}

/* Dismissable site notice */
.mw-dismissable-notice-body {
	margin: 0 !important;
}
.mw-dismissable-notice-close {
	margin-left: 10px !important;
	margin-bottom: 5px !important;
}

/* Site notice */
@media all and (max-width: 1000px) {
	#siteNotice {
		font-size: 70% !important;
	}
}

/* Special:WikiForum */
p.mw-wikiforum-descr {
	font-size: 75% !important;
}
table.mw-wikiforum-posted {
	font-size: 85% !important;
}
table.mw-wikiforum-title {
	border-spacing: 0 !important;
}
table.mw-wikiforum-frame .site-button {
	margin: 10px 5px 0 0;
}
.mw-wikiforum-thread-sub blockquote {
	overflow: visible !important;
	font-size: 95% !important;
	font-family: sans-serif !important;
}
.wikiforum-avatar-image + .mw-parser-output > blockquote {
	margin-right: 0 !important;
}
blockquote p.posted {
	margin-right: 90px !important;
}
#bodyContent table.mw-wikiforum-frame,
#bodyContent table.mw-wikiforum-title,
#bodyContent table.mw-wikiforum-headerrow,
#bodyContent table.mw-wikiforum-posted,
#bodyContent td.mw-wikiforum-innerframe > table {
	width: 100% !important;
}
td.mw-wikiforum-innerframe > table {
	margin: 0 !important;
}
td.mw-wikiforum-innerframe {
	padding-right: 2px;
}
td.mw-wikiforum-title {
	min-width: 150px;
}
@media all and (min-width: 400px) {
	td.mw-wikiforum-title {
		min-width: 185px;
	}
}
#writereply #wpTextbox1 {
	border-radius: 3px;
	border: 1px solid #ccc;
}

/* Misc. */
.infobox td, .infobox tr,
.infobox tr:not(:first-of-type) th,
.infoboxlabel, .infoboxcell {
	font-size: 100% !important;
}
.infoboxheading {
	font-size: 125% !important;
}
table.forum {
	display: block !important;
}
#whosonline {
	margin: 16px 0 0;
}
#rc-staff {
	width: 100% !important;
	padding-left: 0 !important;
}
#rc-news p:not(:last-of-type) {
	margin: 0;
}
.fakeh2 {
	font-size: 1.5em;
	font-family: 'Linux Libertine','Georgia','Times',serif;
	padding: 0.5em 0;
	margin-bottom: 0.5em;
}
.fakeh3 {
	font-size: 1.3em;
	font-weight: bold;
	padding: 0.3em 0 0.15em;
}
.tabtoc li {
	margin-bottom: 0.7px !important;
}
.center-template {
	font-size: 95% !important;
	margin-bottom: 0.5em !important;
}
.mw-parser-output .featurelist {
	width: 100% !important;
}
body.skin-timeless .featurelist .mw-collapsible {
	margin-right: 5px;
}
body.skin-minerva .featurelist .mw-collapsible-content {
	border: none !important;
}
.featurelist td > p {
	display: none;
}
body.user .featurelist td > .mw-collapsible:first-child > h3:first-of-type {
	margin-top: 1px !important;
	padding-top: 1px !important;
}
@media all and (max-width: 719px) {
	body.anon .featurelist td:first-child > .mw-collapsible:first-child > h3:first-of-type {
		margin-top: 1px !important;
		padding-top: 1px !important;
	}
}
@media all and (min-width: 720px) {
	body.anon .featurelist td > .mw-collapsible:first-child > h3:first-of-type {
		margin-top: 1px !important;
		padding-top: 1px !important;
	}
}
.scrollbox {
	width: auto !important;
	height: auto !important;
}
.scrollbox table:first-of-type {
	margin-top: 0 !important;
}
.scrollbox table:last-of-type {
	margin-bottom: 0 !important;
}
.col-begin, .content .col-begin ul {
	margin: 0 !important;
}
body.skin-timeless .col-begin ul {
	margin-bottom: 0.3em !important;
}
body.skin-minerva .col-begin td > h3 {
	margin-top: 0 !important;
}
.mediawiki .mw-parser-output .quotebox {
	font-size: 95% !important;
	margin: 0 auto !important;
	display: table !important;
}
.quotebox td {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.quotebox td:first-of-type,
.quotebox td:last-of-type {
	line-height: 1 !important;
	vertical-align: middle !important;
}
.noticebox {
	display: block !important;
	font-size: 90% !important;
}
.newnotice-content {
	min-width: 0 !important;
	font-size: 90% !important;
}
div.image, #imageLicense {
	width: auto !important;
}
body.mediawiki .linkbox img {
	max-width: 50px !important;
}
@media all and (max-width: 719px) {
	.linkbox {
		float: none !important;
		width: auto !important;
		margin-left: 0 !important;
	}
	.header-template .icon {
		padding-left: 0.1em !important;
	}
	.header-template td {
		text-align: left !important;
	}
	.noticebox, .newnotice {
		width: auto !important;
	}
	body.mediawiki .noticebox img {
		max-width: 50px !important;
	}
	.noticebox .center-template, #imageLicense img,
	table.image td:first-of-type:not(:last-of-type),
	table.boilerplate td:first-of-type:not(:last-of-type) {
		display: none !important;
	}
	#imageLicenseText {
		margin: 0 8px !important;
	}
}
@media all and (min-width: 720px) {
	.linkbox {
		width: 220px !important;
	}
	.noticebox:not(.floatbox) {
		width: 80% !important;
	}
	body.mediawiki .noticebox img {
		max-width: none !important;
	}
}
div.darker {
	width: auto !important;
}
.hp-tagdesc + p > br:first-of-type {
	display: none;
}
.mw-htmlform-field-HTMLTextField #toggler {
	margin-top: 10px !important;
}

/* User welcome */
.mp-welcome-logged-in {
	margin-top: -13px;
	width: 260px;
}
.mp-welcome-image {
	width: 74px;
}
.mp-welcome-points {
	width: 170px;
	padding-left: 5px;
}
.mp-requests h3 {
	clear: both;
}
.honorific-level {
	float: none;
	clear: both;
}
#rc-welcome h2 {
	text-align: left !important;
}
@media all and (max-width: 719px) {
	#rc-welcome {
		float: none !important;
	}
	#whosonline {
		clear: both;
	}
}

/* Social profile */
.page-nav {
	text-align: justify;
	margin: 5px 0 -28px;
	width: 100%;
}
.page-nav:after {
	content: "";
	display: inline-block;
	width: 100%;
}
.page-nav a, .page-nav a:visited {
	border: 1px solid #ccc;
	padding: 2px 4px;
	background: #F8F5F5;
	color: #000;
}
.page-nav a:hover {
	background: #eee;
	text-decoration: none;
}
@media all and (max-width: 719px) {
	.top-fan {
		width: auto;
	}
	.top-fan-points {
		float: right;
	}
	#user-page-left, #user-page-right {
		float: none;
		width: 100%;
	}
	#user-page-left .profile-info-container:last-of-type {
		padding-bottom: 0;
	}
}
#profile-top, .profile-info {
	background-color: transparent;
}
.profile-info-container p {
	margin: 0.5em 0 !important;
}
.profile-info-container .mw-parser-output p:first-child,
.profile-info-container .mw-parser-output ul:first-child {
	margin-top: 0 !important;
}
.user-page-message-form textarea {
	width: 99%;
}
.user-board-message-content {
	margin: 0 5px;
}
.user-board-message-image {
	padding-top: 5px;
}
.user-board-message-body {
	width: 100%;
	float: none;
	padding-left: 0;
}
.no-info-container,
.user-board-message-from {
	background-color: #efefef;
}
#message_type {
	border: 1px solid #ccc;
}
.profile-actions a {
	margin: 0;
}
#profile-toggle-button {
	display: none;
}
#profile-title-container {
	padding-top: 5px;
}
.profile-update-unit-left, .profile-update-unit,
.profile-update-unit input, .profile-update-unit select {
	width: 100%;
}
.profile-tab-bar {
	text-align: center;
}
.profile-tab-bar div {
	margin: 5px;
}
.profile-tab, .profile-tab-on {
	height: 25px;
	padding: 6px 10px 3px;
	font-size: 14px;
}
.profile-tab a, .profile-tab-on a {
	color: #fff;
}
.profile-info select {
	border: 1px solid #ccc;
}
.profile-update p {
	margin: 0 !important;
}
.profile-update .profile-update-title {
	margin-bottom: 2px !important;
}
.profile-update {
	margin-top: 5px !important;
}
.profile-update input,
.profile-update select,
.profile-update textarea{
	margin-bottom: 10px !important;
}
.site-button {
	color: #333;
	font-weight: bold;
	margin-top: 0;
	border-radius: 3px;
	border: 1px solid #ccc;
	background: #eee;
	padding: 5px 9px !important;
}
.site-button:active {
	background: #bbb;
	padding: 6px 8px 4px 10px !important;
}
.mw-special-UpdateProfile .site-button,
.mw-special-UploadAvatar .site-button,
.mw-special-EditProfile .site-button {
	margin-top: 15px;
}
.mw-special-EditProfile .profile-info {
	padding: 0;
}
.mw-special-EditProfile .clearfix::after {
	display: none;
}
#message {
	border: 1px solid #ccc;
	border-radius: 3px;
}
.top-fan-nav, .top-users {
	float: none;
	width: 100%;
}
.relationship-action, .g-give-all,
.g-description-container, .ga-description-container {
	width: 100%
}
.relationship-buttons input, #send-gift-button {
	margin-right: 10px;
}
.mw-special-UpdateProfile textarea,
.mw-special-UpdateProfile select,
.mw-special-UpdateProfile input,
.mw-special-EditProfile textarea,
.mw-special-EditProfile select,
.mw-special-EditProfile input {
	padding: 5px;
	border: 1px solid #ccc;
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-EditProfile input[type="text"] {
	width: 98%;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
	margin: 5px 8px 0 0;
}
@media all and (max-width: 719px) {
	#profile-right, #profile-title {
		float: none;
	}
}
@media all and (min-width: 720px) {
	.profile-actions {
		margin-left: 8px;
	}
}
/* Profile page - No user levels */
@media all and (max-width: 719px) {
	#profile-title-container .cleared {
		display: none;
	}
	.profile-actions::before { 
		content: "\a";
		white-space: pre;
	}
	body.skin-timeless .profile-actions {
		margin-top: 8px;
	}
}

/* External self-links */
.content a.external[href^="https://www.halopedia.org"] {
	color: #002bb8;
	background: none;
	padding: 0;
}
.content a.external[href^="https://www.halopedia.org"]:active {
	color: #faa700;
}
.content a.external[href^="https://www.halopedia.org"]:visited {
	color: #5a3696;
}

/* Videos table */
@media all and (max-width: 719px) {
	.videos tr { 
		display: block;
	}
	.videos td {
		display: block;
		width: 100%;
	}
	.videos td:not(:last-of-type) {
		margin-bottom: 6px;
	}
}

/* Echo extension */
.mw-echo-ui-notificationsInboxWidget-sidebar,
.mw-echo-ui-notificationsInboxWidget-cell-placeholder,
.mw-echo-ui-notificationsInboxWidget-main-toolbar-settings {
	display: none !important;
}