File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 var backColor = '#ffffff' ;
2222 var fontColor = '#888888' ;
2323 if ( 'dark' == $ ( 'html' ) . attr ( 'data-color-mode' ) ) { // 黑暗模式判断
24- backColor = '#0D1117 ' ;
24+ backColor = '#161a21 ' ;
2525 fontColor = '#b2b8bf' ;
2626 }
2727 var download_url = [
114114 html = `<div style="display: flex;justify-content: flex-end;">` ;
115115 for ( let i = 0 ; i < url . length ; i ++ )
116116 {
117- html = html + `<div>< a style="${ style [ 0 ] } " class="btn" href="${ url [ i ] } " rel="noreferrer noopener nofollow">${ download_url [ i ] [ 1 ] } </a></div >`
117+ html = html + `<a style="${ style [ 0 ] } " class="btn" href="${ url [ i ] } " rel="noreferrer noopener nofollow">${ download_url [ i ] [ 1 ] } </a>`
118118 }
119119 html = html + `</div>`
120120 $ ( this ) . next ( ) . after ( html ) ;
137137 html = `<div style="display: flex;justify-content: flex-end;flex-grow: 1;">` ;
138138 for ( let i = 0 ; i < url . length ; i ++ )
139139 {
140- html = html + `<div>< a style="${ style [ 0 ] } " class="btn" href="${ url [ i ] } " rel="noreferrer noopener nofollow">${ download_url [ i ] [ 1 ] } </a></div >`
140+ html = html + `<a style="${ style [ 0 ] } " class="btn" href="${ url [ i ] } " rel="noreferrer noopener nofollow">${ download_url [ i ] [ 1 ] } </a>`
141141 }
142142 html = html + `</div>`
143143 $ ( this ) . after ( html ) ;
You can’t perform that action at this time.
0 commit comments