Minor header fixes for Typography Refresh
This fixes top-margin for H1 inside .mw-body-content, and increase font-size for H3 from 1.17em to 1.2em (bumping to 17px default). Final patch for this bug. Bug: T66653 Change-Id: I1e75bc4fc3e04ca6c9238d4ce116136e9bafacd1
This commit is contained in:
parent
a7d7cd46ec
commit
35ca341ed4
|
@ -60,6 +60,11 @@ body {
|
||||||
h1 {
|
h1 {
|
||||||
font-size: @content-heading-font-size;
|
font-size: @content-heading-font-size;
|
||||||
}
|
}
|
||||||
|
.mw-body-content {
|
||||||
|
h1 {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
@ -77,7 +82,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.17em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3,
|
h3,
|
||||||
|
|
Loading…
Reference in New Issue