MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
font-size: 1.15rem; /* try 1.125–1.2 if you want finer control */ | font-size: 1.15rem; /* try 1.125–1.2 if you want finer control */ | ||
line-height: 1.75; | line-height: 1.75; | ||
} | |||
/* --- Responsive correction for mobile/tablet devices --- */ | |||
@media (max-width: 1024px) { | |||
.mw-parser-output sup, | |||
.mw-parser-output sup.reference, | |||
sup.reference a { | |||
font-size: 0.62rem !important; /* slightly smaller for iPad & phones */ | |||
top: -0.20em !important; /* tiny lift to keep alignment */ | |||
} | |||
} | } | ||