File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 88 <!-- Distill js -->
99 < script src ="{{ '/assets/js/distillpub/template.v2.js' | relative_url }} "> </ script >
1010 < script src ="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }} "> </ script >
11- < script src ="{{ '/assets/js/distillpub/overrides.js' | relative_url }} "> </ script >
1211 {% if page._styles %}
1312 <!-- Page/Post style -->
1413 < style type ="text/css ">
@@ -105,4 +104,7 @@ <h3>Contents</h3>
105104 < d-bibliography src ="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }} ">
106105 </ d-bibliography >
107106
107+ {% include scripts/jquery.html %}
108+ < script src ="{{ '/assets/js/distillpub/overrides.js' | relative_url }} "> </ script >
109+
108110</ html >
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ d-article {
4444 width : calc (max (70% , 300px ));
4545 margin-right : 0px ;
4646 margin-top : 0em ;
47- display : grid ;
48- grid-template-columns :
49- minmax (8px , 1fr ) [toc] auto
47+ display : grid ;
48+ grid-template-columns :
49+ minmax (8px , 1fr ) [toc] auto
5050 minmax (8px , 1fr ) [toc- line] 1px
5151 minmax (32px , 2fr );
52-
53- nav {
52+
53+ nav {
5454 grid-column : toc;
5555 a {
5656 border-bottom : none !important ;
@@ -87,6 +87,10 @@ d-article {
8787 grid-column : toc- line;
8888 }
8989 }
90+
91+ d-footnote {
92+ scroll-margin-top : 66px ;
93+ }
9094}
9195
9296d-appendix {
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ $(document).ready(function() {
55 . setAttribute ( "style" , "color: var(--global-theme-color);" ) ;
66 footnote . shadowRoot . querySelector ( "d-hover-box" ) . shadowRoot . querySelector ( "style" ) . sheet
77 . insertRule ( ".panel {background-color: var(--global-bg-color) !important;}" ) ;
8+ footnote . shadowRoot . querySelector ( "d-hover-box" ) . shadowRoot . querySelector ( "style" ) . sheet
9+ . insertRule ( ".panel {border-color: var(--global-divider-color) !important;}" ) ;
810 } ) ;
911 // Override styles of the citations.
1012 document . querySelectorAll ( "d-cite" ) . forEach ( function ( cite ) {
@@ -16,5 +18,7 @@ $(document).ready(function() {
1618 . insertRule ( "ul li a:hover {color: var(--global-theme-color) !important;}" ) ;
1719 cite . shadowRoot . querySelector ( "d-hover-box" ) . shadowRoot . querySelector ( "style" ) . sheet
1820 . insertRule ( ".panel {background-color: var(--global-bg-color) !important;}" ) ;
21+ cite . shadowRoot . querySelector ( "d-hover-box" ) . shadowRoot . querySelector ( "style" ) . sheet
22+ . insertRule ( ".panel {border-color: var(--global-divider-color) !important;}" ) ;
1923 } ) ;
2024} )
You can’t perform that action at this time.
0 commit comments