MediaWiki:Gadget-MobileStyle.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
margin-left: 0.25em !important;
margin-left: 0.25em !important;
}
}
.rootpage-Pikipedia_Featured_article dl,
.rootpage-Pikipedia_Featured_article :is(dl, dl dt) {
.rootpage-Pikipedia_Featured_article dl dt {
margin-left: 0 !important;
margin-left: 0 !important;
}
}
.rootpage-Pikipedia_Featured_article p + dl,
.rootpage-Pikipedia_Featured_article :is(p, ul, ol) + dl {
.rootpage-Pikipedia_Featured_article ul + dl,
.rootpage-Pikipedia_Featured_article ol + dl {
margin-top: -0.5em !important;
margin-top: -0.5em !important;
}
}
.rootpage-Pikipedia_Featured_article dl + dl {
.rootpage-Pikipedia_Featured_article dl + dl {
margin-top: -0.25em !important;
margin-top: -0.25em !important;
}
.rootpage-Pikipedia_Featured_article dl {
font-size: 100% !important;
margin-bottom: 0 !important;
}
}


Line 36: Line 37:
color: #000;
color: #000;
text-align: left;
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 {
.infoboxTitle {
font-size: 125%;
font-size: 125%;
text-align: center;
text-align: center;
background: #CEF2E0;
}
}


Line 55: Line 46:
.pikipediaBox {
.pikipediaBox {
color: #000;
color: #000;
background: #CEF2E0;
border: 1px solid #A3BFB1;
margin: 5px auto 12.5px !important;
margin: 5px auto 12.5px !important;
font-size: 90% !important;
font-size: 90% !important;
Line 73: Line 62:
max-width: 50px !important;
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 */
/* Titled boxes */
.titledBox {
.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;
margin-top: 1em !important;
padding: 6px;
}
}
.titledBoxTitle {
.titledBoxTitle {
display: block !important;
font-size: 135% !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;
}
}


Line 144: Line 91:
}
}
.switchabletabs li {
.switchabletabs li {
line-height: 2.1 !important;
padding: 0.25em 0.5em !important;
padding: 0.25em 0.5em !important;
}
}
Line 156: Line 104:
.mw-parser-output .refs ol.references {
.mw-parser-output .refs ol.references {
padding-left: 2em;
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"] {
.mw-htmlform-field-HTMLTextField div[style*="64px"] {

Latest revision as of 21:05, December 10, 2024

/* 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 :is(dl, dl dt) {
	margin-left: 0 !important;
}
.rootpage-Pikipedia_Featured_article :is(p, ul, ol) + dl {
	margin-top: -0.5em !important;
}
.rootpage-Pikipedia_Featured_article dl + dl {
	margin-top: -0.25em !important;
}
.rootpage-Pikipedia_Featured_article dl {
	font-size: 100% !important;
	margin-bottom: 0 !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;
}
.infoboxTitle {
	font-size: 125%;
	text-align: center;
}

/* Site boxes */
.pikipediaBox {
	color: #000;
	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;
	}
}

/* Titled boxes */
.titledBox {
	margin-top: 1em !important;
}
.titledBoxTitle {
	font-size: 135% !important;
}

/* 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 {
	line-height: 2.1 !important;
	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-htmlform-field-HTMLTextField div[style*="64px"] {
	margin-top: 10px !important;
}
.navbox > tbody > tr > td {
	padding-left: 2px !important;
	padding-right: 2px !important;
}