MediaWiki:Gadget-MobileStyle.css

Revision as of 14:23, August 10, 2023 by Porplemontage (talk | contribs)

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;
}

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

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

/* Infoboxes */
.infobox {
	color: #000;
	text-align: left;
	border: 1px solid #AAA;
	background-color: #F9F9F9;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #AAA;
}
.infobox th {
	background: #CEF2E0;
}
.infoboxTitle {
	font-size: 125%;
	text-align: center;
	background: #CEF2E0;
}

/* Site boxes */
.pikipediaBox {
	color: #000;
	background: #CEF2E0;
	border: 1px solid #A3BFB1;
	margin: 5px auto 12.5px !important;
	font-size: 90% !important;
}
.pikipediaBox p {
	margin: 5px !important;
}
body.mediawiki .pikipediaBox img {
	max-width: none !important;
}
@media all and (max-width: 719px) {
	.pikipediaBox {
		text-align: left !important;
	}
	body.mediawiki .pikipediaBox img {
		max-width: 50px !important;
	}
}
.warningbox:not(.minerva-anon-talk-message),
.mw-message-box:not(.minerva-anon-talk-message) {
	background: #CEF2E0;
	border: 1px solid #A3BFB1;
}

/* Navigation boxes */
body table.navbox th {
	background-color: #beb;
}
body table.navbox tr:not(:first-child) th {
	background-color: #cec;
}

/* Titled boxes */
.titledBox {
	display: block !important;
	background: #ecf6ee url(https://pikmin.wiki.gallery/images/0/09/Vector_grass.jpg) bottom center;
	border: 1px solid #66b283;
	border-radius: 16px;
	margin-top: 1em !important;
	padding: 6px;
}
.titledBoxTitle {
	display: block !important;
	font-size: 135% !important;
	font-weight: bold;
	background: #cef2e0;
	border: 1px solid #a3bfb1;
	border-radius: 12px;
	padding: 0 5px;
}

/* Main page */
#mp-title-nav { background-color: #b9d6ec; }
#mp-title-fa { background-color: #ecebbf; }
#mp-title-image { background-color: #c8f0b9; }
#mp-title-community { background-color: #dbd0f6; }
#mp-title-news { background-color: #f0d2e2; }
#mp-title-poll { background-color: #b9b9b9; }
#mp-title-dyk { background-color: #f8f8f8; }
#mp-title-niwa { background-color: #e6b5b5; }
.main-page-nav-item {
	display: inline-grid;
	background-color: #d8f0db;
	border: 2px solid #66b283;
	border-radius: 20px;
	margin-bottom: 5px;
	padding: 8px;
}

/* Misc. */
.forumheader {
	padding: 8px 0 6px 12px;
	margin-bottom: 15px;
}
.mobilenofloat {
	float: none !important;
}
.cquote td {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
#whosonline {
	margin-bottom: 0;
}
#rc-staff {
	padding-left: 0 !important;
}
.switchabletabs li {
	padding: 0.25em 0.5em !important;
}
.refs {
	margin: 0 !important;
	padding: 0 !important;
	max-height: none !important;
}
body.skin-minerva .refs {
	margin-left: -1em;
}
.mw-parser-output .refs ol.references {
	padding-left: 2em;
}
.mw-parser-output table.wikitable > tr > th,
.mw-parser-output table.wikitable > * > tr > th {
	background-color: #d8f0db;
}
.mw-htmlform-field-HTMLTextField div[style*="64px"] {
	margin-top: 10px !important;
}
.navbox > tbody > tr > td {
	padding-left: 2px !important;
	padding-right: 2px !important;
}