MediaWiki:Gadget-MobileStyle.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 45: Line 45:


/* Misc. */
/* Misc. */
.infobox td, .infobox tr,
.infobox :is(td, tr),
.infobox tr:not(:first-of-type) th,
.infobox tr:not(:first-of-type) th,
.infoboxlabel, .infoboxcell {
.infoboxlabel, .infoboxcell {
Line 140: Line 140:
padding-bottom: 0 !important;
padding-bottom: 0 !important;
}
}
.quotebox td:first-of-type,
.quotebox td:is(:first-of-type, :last-of-type) {
.quotebox td:last-of-type {
line-height: 1 !important;
line-height: 1 !important;
vertical-align: middle !important;
vertical-align: middle !important;
Line 168: Line 167:
}
}
.noticebox center, #imageLicense img,
.noticebox center, #imageLicense img,
table.image td:first-of-type:not(:last-of-type),
table:is(.image, .boilerplate) td:first-of-type:not(:last-of-type) {
table.boilerplate td:first-of-type:not(:last-of-type) {
display: none !important;
display: none !important;
}
}
Line 305: Line 303:
margin: 0.5em 0 !important;
margin: 0.5em 0 !important;
}
}
.profile-info-container .mw-parser-output p:first-child,
.profile-info-container .mw-parser-output :is(p, ul):first-child {
.profile-info-container .mw-parser-output ul:first-child {
margin-top: 0 !important;
margin-top: 0 !important;
}
}
Line 342: Line 339:
padding-top: 5px;
padding-top: 5px;
}
}
.profile-update-unit-left, .profile-update-unit,
.profile-update-unit :is(input, select),
.profile-update-unit input, .profile-update-unit select {
.profile-update-unit, .profile-update-unit-left {
width: 100%;
width: 100%;
}
}
Line 372: Line 369:
margin-top: 5px !important;
margin-top: 5px !important;
}
}
.profile-update input,
.profile-update :is(input, select, textarea) {
.profile-update select,
.profile-update textarea{
margin-bottom: 10px !important;
margin-bottom: 10px !important;
}
}
Line 390: Line 385:
padding: 6px 8px 4px 10px !important;
padding: 6px 8px 4px 10px !important;
}
}
.mw-special-UpdateProfile .site-button,
:is(.mw-special-UpdateProfile, .mw-special-UploadAvatar, .mw-special-EditProfile) .site-button {
.mw-special-UploadAvatar .site-button,
.mw-special-EditProfile .site-button {
margin-top: 15px;
margin-top: 15px;
}
}
Line 416: Line 409:
margin-right: 10px;
margin-right: 10px;
}
}
.mw-special-UpdateProfile textarea,
:is(.mw-special-UpdateProfile, .mw-special-EditProfile) :is(textarea, select, input) {
.mw-special-UpdateProfile select,
.mw-special-UpdateProfile input,
.mw-special-EditProfile textarea,
.mw-special-EditProfile select,
.mw-special-EditProfile input {
padding: 5px;
padding: 5px;
border: 1px solid #ccc;
border: 1px solid #ccc;
}
}
.mw-special-UpdateProfile input[type="text"],
:is(.mw-special-UpdateProfile, .mw-special-EditProfile) input[type="text"] {
.mw-special-EditProfile input[type="text"] {
width: 98%;
width: 98%;
}
}