1
Fork 0

Update the first heading indent rule so it is only applied on the first heading of the top doc block

This commit is contained in:
Guillaume Gomez 2021-11-25 15:33:38 +01:00
parent 6d246f0c8d
commit 20eda22cbf

View file

@ -1129,13 +1129,15 @@ h3.variant {
margin-top: 3px; margin-top: 3px;
} }
.docblock > .section-header:first-child { .top-doc .docblock > .section-header:first-child {
margin-left: 15px; margin-left: 15px;
margin-top: 0; }
.top-doc .docblock > .section-header:first-child:hover > a:before {
left: -10px;
} }
.docblock > .section-header:first-child:hover > a:before { .docblock > .section-header:first-child {
left: -10px; margin-top: 0;
} }
:target > code, :target > .code-header { :target > code, :target > .code-header {