adjust section highlighting for Kaos
This should fix flickering when hovering edit buttons. It will probably break compatibility with earlier releases
This commit is contained in:
parent
79e34f4e05
commit
5e6b918311
4 changed files with 0 additions and 83 deletions
|
@ -153,64 +153,24 @@ h2 {
|
|||
font-size: @font-size-head2;
|
||||
margin: 0 0 @font-size-head2;
|
||||
padding-top: (@font-size-head2 / 2);
|
||||
|
||||
.secedit + &,
|
||||
div[class^="level"] + &,
|
||||
.section_highlight &:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section_highlight + & {
|
||||
padding-top: (@font-size-head2 / 2);
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: @font-size-head3;
|
||||
margin: 0 0 @font-size-head3;
|
||||
padding-top: (@font-size-head3 / 2);
|
||||
|
||||
.secedit + &,
|
||||
div[class^="level"] + &,
|
||||
.section_highlight &:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section_highlight + & {
|
||||
padding-top: (@font-size-head3 / 2);
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: @font-size-head4;
|
||||
margin: 0 0 @font-size-head4;
|
||||
padding-top: (@font-size-head4 / 2);
|
||||
|
||||
.secedit + &,
|
||||
div[class^="level"] + &,
|
||||
.section_highlight &:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section_highlight + & {
|
||||
padding-top: (@font-size-head4 / 2);
|
||||
}
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: @font-size-head5;
|
||||
margin: 0 0 @font-size-head5;
|
||||
padding-top: (@font-size-head5 / 2);
|
||||
|
||||
.secedit + &,
|
||||
div[class^="level"] + &,
|
||||
.section_highlight &:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section_highlight + & {
|
||||
padding-top: (@font-size-head5 / 2);
|
||||
}
|
||||
}
|
||||
|
||||
h6 {
|
||||
|
@ -218,16 +178,6 @@ h6 {
|
|||
font-weight: @font-weight-bold;
|
||||
margin: 0 0 @font-size-head6;
|
||||
padding-top: (@font-size-head6 / 2);
|
||||
|
||||
.secedit + &,
|
||||
div[class^="level"] + &,
|
||||
.section_highlight &:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section_highlight + & {
|
||||
padding-top: (@font-size-head6 / 2);
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue