File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 < link rel ="stylesheet " href ="css/cid-colour.css ">
1717 < link rel ="stylesheet " href ="css/nav.css ">
1818 < link rel ="stylesheet " href ="css/cid.css ">
19- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/shsans -webfont@release/index.min.css " id ="font-sheet-sans ">
20- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/shserif -webfont@release/index.min.css " id ="font-sheet-serif ">
19+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/s-h-sans -webfont@release/index.min.css " id ="font-sheet-sans ">
20+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/s-h-serif -webfont@release/index.min.css " id ="font-sheet-serif ">
2121 < style >
2222 : root {
2323 font-family : sans-serif;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ buttons.forEach(btn => {
6868
6969 // update css font version to ensure use latest version on change
7070 const sheet = document . querySelector ( "#font-sheet-" + fontfamily . toLowerCase ( ) )
71- sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/sh ${ fontfamily } -webfont@${ fontver } /index.css`
71+ sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/s-h- ${ fontfamily } -webfont@${ fontver } /index.css`
7272
7373 // update css variable display
7474 r . style . setProperty ( "--preview-font-family" , getComputedStyle ( document . body ) . getPropertyValue ( "--preview-" + fontStyle + "-fallback" ) )
@@ -102,7 +102,7 @@ dropdown.onchange = function(){
102102 fontver = dropdown . value
103103 // update css font ref
104104 const sheet = document . querySelector ( "#font-sheet-" + fontfamily . toLowerCase ( ) )
105- sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/sh ${ fontfamily } -webfont@${ fontver } /index.css`
105+ sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/s-h- ${ fontfamily } -webfont@${ fontver } /index.css`
106106 // get AI0 and mapping then update display
107107 getFiles ( ) . then ( e => {
108108 // hide loading file warning
You can’t perform that action at this time.
0 commit comments