MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
body.category-Artist #p-cactions #ca-edit { | body.category-Artist #p-cactions #ca-edit { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Force Page Forms tables to stack vertically on mobile screens */ | |||
@media screen and (max-width: 767px) { | |||
.formtable, | |||
.formtable tbody, | |||
.formtable tr, | |||
.formtable th, | |||
.formtable td { | |||
display: block !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
text-align: left !important; | |||
} | |||
.formtable tr { | |||
margin-bottom: 15px; /* Spacing between different fields */ | |||
} | |||
.formtable th { | |||
padding-bottom: 4px; | |||
} | |||
/* Prevent text inputs from overflowing the mobile screen boundaries */ | |||
.pfForm input[type="text"], | |||
.pfForm textarea, | |||
.pfForm select, | |||
.createboxInput { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | |||
} | } | ||
Revision as of 19:12, 27 October 2026
body.category-Artist #ca-edit,
body.category-Artist #p-cactions #ca-edit {
display: none !important;
}
/* Force Page Forms tables to stack vertically on mobile screens */
@media screen and (max-width: 767px) {
.formtable,
.formtable tbody,
.formtable tr,
.formtable th,
.formtable td {
display: block !important;
width: 100% !important;
box-sizing: border-box !important;
text-align: left !important;
}
.formtable tr {
margin-bottom: 15px; /* Spacing between different fields */
}
.formtable th {
padding-bottom: 4px;
}
/* Prevent text inputs from overflowing the mobile screen boundaries */
.pfForm input[type="text"],
.pfForm textarea,
.pfForm select,
.createboxInput {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
}