diff --git a/layout/_partial/sidebar/logo.ejs b/layout/_partial/sidebar/logo.ejs index f4168a3..1616b83 100644 --- a/layout/_partial/sidebar/logo.ejs +++ b/layout/_partial/sidebar/logo.ejs @@ -6,7 +6,7 @@ if (page.layout === 'wiki' && page.wiki) { function layoutTitle(main, url, sub) { var el = ''; el += ''; - el += '
' + main + '
'; + el += '
' + main + '
'; if (sub) { let arr = sub.split('|'); if (arr.length > 1) { diff --git a/layout/_partial/sidebar/widgets/ghuser.ejs b/layout/_partial/sidebar/widgets/ghuser.ejs index 66d2df3..202e845 100644 --- a/layout/_partial/sidebar/widgets/ghuser.ejs +++ b/layout/_partial/sidebar/widgets/ghuser.ejs @@ -3,17 +3,17 @@ var btns = []; btns.push({ key: 'followers', desc: 'followers', - href: '?tab=followers' + tab: 'followers' }); btns.push({ key: 'following', desc: 'following', - href: '?tab=following' + tab: 'following' }); btns.push({ key: 'public_repos', desc: 'repos', - href: '?tab=repositories' + tab: 'repositories' }); function layoutDiv() { @@ -35,12 +35,12 @@ function layoutDiv() { el += '
'; } // username - el += '

 

'; + el += '

 

'; el += '

 

'; el += '
'; btns.forEach((btn, i) => { - el += ''; + el += ''; el += '0'; el += '' + btn.desc + ''; el += ''; diff --git a/source/css/_common/base.styl b/source/css/_common/base.styl index 8d3929e..04bf759 100644 --- a/source/css/_common/base.styl +++ b/source/css/_common/base.styl @@ -53,3 +53,6 @@ table:not([class]) trans() &:hover background: var(--block) + +*[ff=title] + font-family: $ff-logo \ No newline at end of file diff --git a/source/css/_layout/sidebar/sidebar.styl b/source/css/_layout/sidebar/sidebar.styl index 355f560..6d3759a 100644 --- a/source/css/_layout/sidebar/sidebar.styl +++ b/source/css/_layout/sidebar/sidebar.styl @@ -75,7 +75,6 @@ font-weight: 900 color: inherit line-height: 1.2 - font-family: $ff-logo display: block position: relative .main