MediaWiki:Gadget-MobileStyle.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(150 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the mobile site */ | /* CSS placed here will affect users of the mobile site */ | ||
/* Indicator icons */ | /* Indicator icons */ | ||
body.skin-minerva .mw-indicator { | body.skin-minerva .mw-indicator { | ||
margin: 0 1px; | margin: 0 1px; | ||
Line 794: | 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) { | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
} | } | ||
.rootpage-Pikipedia_Featured_article p | .rootpage-Pikipedia_Featured_article :is(p, ul, 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; | |||
} | } | ||
/* Dismissable | /* Dismissable site notice */ | ||
.mw-dismissable-notice-body { | .mw-dismissable-notice-body { | ||
margin: 0 !important; | margin: 0 !important; | ||
Line 816: | Line 35: | ||
/* Infoboxes */ | /* Infoboxes */ | ||
.infobox { | .infobox { | ||
color: #000; | |||
text-align: left; | |||
} | } | ||
.infoboxTitle { | .infoboxTitle { | ||
font-size: 125%; | font-size: 125%; | ||
text-align: center; | text-align: center; | ||
} | } | ||
Line 834: | Line 45: | ||
/* Site boxes */ | /* Site boxes */ | ||
.pikipediaBox { | .pikipediaBox { | ||
color: #000; | |||
margin: 5px auto 12.5px !important; | |||
font-size: 90% !important; | font-size: 90% !important; | ||
} | } | ||
.pikipediaBox p { | .pikipediaBox p { | ||
Line 853: | Line 62: | ||
max-width: 50px !important; | max-width: 50px !important; | ||
} | } | ||
} | } | ||
/* | /* Titled boxes */ | ||
.titledBox { | .titledBox { | ||
margin-top: 1em !important; | margin-top: 1em !important; | ||
} | } | ||
.titledBoxTitle { | .titledBoxTitle { | ||
font-size: 135% !important; | font-size: 135% !important; | ||
} | } | ||
/* Misc. */ | /* Misc. */ | ||
.forumheader { | .forumheader { | ||
padding: 8px 0 6px 12px; | padding: 8px 0 6px 12px; | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
Line 941: | Line 91: | ||
} | } | ||
.switchabletabs li { | .switchabletabs li { | ||
line-height: 2.1 !important; | |||
padding: 0.25em 0.5em !important; | padding: 0.25em 0.5em !important; | ||
} | } | ||
.refs { | .refs { | ||
Line 956: | Line 104: | ||
.mw-parser-output .refs ol.references { | .mw-parser-output .refs ol.references { | ||
padding-left: 2em; | padding-left: 2em; | ||
} | } | ||
.mw-htmlform-field-HTMLTextField div[style*="64px"] { | .mw-htmlform-field-HTMLTextField div[style*="64px"] { | ||
margin-top: 10px !important; | margin-top: 10px !important; | ||
} | } | ||
.navbox > tbody > tr > td { | |||
padding-left: 2px !important; | |||
padding-right: 2px !important; | |||
} | } |
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;
}