File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2525 position : relative;
2626}
2727
28- .content-inner .detail-header .signature {
28+ /* #content used in selector to increase specificity and beat main heading rules */
29+ # content .content-inner .detail-header .signature {
2930 font-family : var (--monoFontFamily );
3031 font-size : 13px ;
3132 font-weight : 700 ;
Original file line number Diff line number Diff line change 7070 font-weight : 400 ;
7171}
7272
73+ /* Headings
74+ Summary, Callbacks and Functions sections output h1 and h2,
75+ which we style as h2 and h3. */
76+
7377.content-inner {
7478 & h1 {
7579 font-size : 2rem ;
7680 margin-top : 1.75em ;
7781 }
7882
7983 & h2 ,
80- & # summary h1 ,
81- & .details-list h1 {
84+ & : is (# summary , # callbacks , # functions ) h1 {
8285 font-size : 1.75rem ;
8386 margin-top : 1.5em ;
87+ margin-bottom : 0.5em ;
8488 }
8589
8690 & h3 ,
87- & . summary h2 {
91+ & : is ( # summary , # callbacks , # functions ) h2 {
8892 font-size : 1.45rem ;
8993 margin-top : 1.5em ;
9094 margin-bottom : 0.5em ;
You can’t perform that action at this time.
0 commit comments