MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
Line 1,165:
@media print {
/* --- Hide floating buttons, overlays, and AI assistant --- */
#searchIcon,
.branding-box,
#cps-open-toc,
#custom-email-btn
#cps-toc-panel,
#cps-toc-overlay
▲ .minerva-header .search-box { display: none !important; }
.ext-aiassistant,
.ext-aiassistant-panel,
.ext-aiassistant-trigger {
}▼
/* --- Hide standard MediaWiki UI elements to free up space --- */
/* Font consistency for lists */▼
#mw-navigation,
#footer,
.printfooter,
.mw-editsection {
}▼
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output li {
}▼
/* --- Remove underlines specifically from internal links in print --- */
.mw-parser-output a:not(.external),
.mw-parser-output a:not(.external):visited {
Line 1,195 ⟶ 1,202:
}
/* =================================================================
@media print {▼
11. WIKITABLE FIXES (Mobile, Alignment, & Print)
.wikitable p {▼
================================================================= */
▲ font-size: inherit;
▲ }
.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; ▼
margin-bottom: 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 */
▲ margin-top: 0.25em !important;
▲ margin-bottom: 0.25em !important;
▲ }
▲ table.wikitable a.external.text::after {
content: none !important; /* Hides expanded URLs to keep columns tidy */
▲ }
}
| |||