MediaWiki:Common.css: Difference between revisions
Restore article heading styling |
Improve mobile typography sizing |
||
| (One intermediate revision by the same user not shown) | |||
| Line 115: | Line 115: | ||
.mw-parser-output .sw-inline-logo img{ | .mw-parser-output .sw-inline-logo img{ | ||
object-fit:cover; | object-fit:cover; | ||
} | |||
.mw-parser-output .infobox-tournament { | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
} | |||
.mw-parser-output .infobox-tournament .infobox-title { | |||
background: #cedff2; | |||
} | |||
.mw-parser-output .infobox-tournament th, | |||
.mw-parser-output .infobox-tournament td { | |||
border-color: #a2a9b1; | |||
} | |||
.mw-parser-output .infobox-tournament .infobox-image, | |||
.mw-parser-output .infobox-tournament .infobox-caption, | |||
.mw-parser-output .infobox-tournament td { | |||
background: #ffffff; | |||
} | |||
@media (max-width: 720px) { | |||
.mw-first-heading, | |||
.mw-page-title-main, | |||
.vector-body h1.firstHeading { | |||
font-size: 2.05rem; | |||
line-height: 1.1; | |||
} | |||
.mw-parser-output .mw-heading2 h2, | |||
.mw-parser-output h2 { | |||
margin: 0.85em 0 0.2em; | |||
padding-bottom: 0.14em; | |||
font-size: 1.3rem; | |||
line-height: 1.25; | |||
} | |||
.mw-parser-output .mw-heading3 h3, | |||
.mw-parser-output h3 { | |||
margin: 0.55em 0 0.22em; | |||
font-size: 1.08rem; | |||
line-height: 1.3; | |||
} | |||
.mw-parser-output .mw-heading4 h4, | |||
.mw-parser-output h4 { | |||
margin: 0.45em 0 0.18em; | |||
font-size: 0.96rem; | |||
line-height: 1.3; | |||
} | |||
.mw-parser-output p, | |||
.mw-parser-output li { | |||
line-height: 1.55; | |||
} | |||
.mw-parser-output table.wikitable th, | |||
.mw-parser-output table.wikitable td { | |||
padding: 0.3em 0.45em; | |||
font-size: 0.94em; | |||
} | |||
} | } | ||