MediaWiki:Gadget-MobileStyle.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 78: Line 78:
background: #CEF2E0;
background: #CEF2E0;
border: 1px solid #A3BFB1;
border: 1px solid #A3BFB1;
}
/* Navigation boxes */
body table.navbox th {
background-color: #beb;
}
body table.navbox tr:not(:first-child) th {
background-color: #cec;
}
}



Revision as of 15:23, August 10, 2023

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