MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,195:
}
/* =================================================================
@media print {▼
11. WIKITABLE FIXES (Mobile, Alignment, & Print)
.wikitable p {▼
================================================================= */
}▼
.wikitable a.external.text::after {▼
content: none !important;▼
}▼
/* --- Mobile / General Display Fixes --- */
▲ text-align: inherit; /* Forces text to respect the cell's left alignment */
margin-top: 0.25em; ▼
content: none !important;▼
}
table.wikitable td ul {
list-style-position: outside !important; /* Fixes Minerva bullet positioning */
.wikitable td > p:first-child,▼
.wikitable td > ul:first-child,▼
padding-left: 0 !important; /* Resets conflicting padding */
}
/* --- Vertical Alignment Fix --- */
table.wikitable
margin-top: 0 !important; /* Aligns bullet points and paragraphs with inline text */
}
/* --- Print Fixes --- */
▲@media print {
▲.wikitable td ul {
▲ table.wikitable p {
▲ padding-left: 1.5em; /* Creates a normal indent so bullets don't touch the border */
text-align: inherit !important; /* Prevents text justification on print */
▲ }
▲ table.wikitable a.external.text::after {
▲ content: none !important; /* Hides expanded URLs to keep columns tidy */
▲ }
}
| |||