diff --git a/themes/yilia/_config.yml b/themes/yilia/_config.yml index 8c3d486..01badf4 100644 --- a/themes/yilia/_config.yml +++ b/themes/yilia/_config.yml @@ -17,18 +17,24 @@ menu: # SubNav subnav: - github: "https://github.com/sookie2010" - weibo: "https://weibo.com/2633013641" - rss: "/atom.xml" + github: + url: https://github.com/sookie2010 + icon: github-alt + alt: github_homepage + weibo: + url: https://weibo.com/2633013641 + icon: weibo + alt: weibo + rss: + url: /atom.xml + icon: rss + alt: rss_subscription #zhihu: "#" - #qq: "#" - #weixin: "#" - #jianshu: "#" - #douban: "#" #segmentfault: "#" - #bilibili: "#" - #acfun: "#" - mail: "mailto:colorfulsweet@gmail.com" + mail: + url: mailto:colorfulsweet@gmail.com + icon: mail + alt: email #facebook: "#" #google: "#" #twitter: "#" @@ -42,7 +48,7 @@ rss: /atom.xml # 打赏type设定:0-关闭打赏; 1-文章对应的md文件里有reward:true属性,才有打赏; 2-所有文章均有打赏 reward_type: 1 # 打赏wording -reward_wording: '谢谢你请我吃糖果' +reward_wording: 谢谢你请我吃糖果 # 支付宝二维码图片地址,跟你设置头像的方式一样。比如:/assets/img/alipay.jpg alipay: # 微信二维码图片地址 @@ -54,7 +60,7 @@ toc: 2 # 根据自己的习惯来设置,如果你的目录标题习惯有标号,置为true即可隐藏hexo重复的序号;否则置为false toc_hide_index: true # 目录为空时的提示 -toc_empty_wording: '目录,不存在的…' +toc_empty_wording: 目录,不存在的… # 是否有快速回到顶部的按钮 top: true diff --git a/themes/yilia/languages/default.yml b/themes/yilia/languages/default.yml index a5b3c06..bca59f1 100644 --- a/themes/yilia/languages/default.yml +++ b/themes/yilia/languages/default.yml @@ -19,4 +19,8 @@ photo_wall: Photo Wall archives: Archives all_articles: All Articles friends_link: Friends Link -about_me: About Me \ No newline at end of file +about_me: About Me +github_homepage: Github Homepage +weibo: Weibo +rss_subscription: Rss subscription +email: Email \ No newline at end of file diff --git a/themes/yilia/languages/fr.yml b/themes/yilia/languages/fr.yml index 764b367..3e62256 100644 --- a/themes/yilia/languages/fr.yml +++ b/themes/yilia/languages/fr.yml @@ -19,4 +19,8 @@ photo_wall: Mur de photo archives: Archives all_articles: Tous les articles friends_link: Lien amical -about_me: À propos de moi \ No newline at end of file +about_me: À propos de moi +github_homepage: Github homepage +weibo: Weibo +rss_subscription: Abonnement Rss +email: Boîte aux lettres \ No newline at end of file diff --git a/themes/yilia/languages/ja.yml b/themes/yilia/languages/ja.yml index 6a8f369..6d7c47d 100644 --- a/themes/yilia/languages/ja.yml +++ b/themes/yilia/languages/ja.yml @@ -19,4 +19,8 @@ photo_wall: フォトウォール archives: アーカイブ all_articles: すべての記事 friends_link: フレンドリーリンク -about_me: 私について \ No newline at end of file +about_me: 私について +github_homepage: Githubホームページ +weibo: ウェイボ +rss_subscription: RSS購読 +email: メールボックス \ No newline at end of file diff --git a/themes/yilia/languages/ru.yml b/themes/yilia/languages/ru.yml index c33b4ad..37b8cec 100644 --- a/themes/yilia/languages/ru.yml +++ b/themes/yilia/languages/ru.yml @@ -19,4 +19,8 @@ photo_wall: Фото стена archives: Архив all_articles: Все статьи friends_link: Дружеская ссылка -about_me: Обо мне \ No newline at end of file +about_me: Обо мне +github_homepage: Домашняя страница Github +weibo: Weibo +rss_subscription: RSS подписка +email: почтовый ящик \ No newline at end of file diff --git a/themes/yilia/languages/zh-CN.yml b/themes/yilia/languages/zh-CN.yml index 30d32dc..7931bde 100644 --- a/themes/yilia/languages/zh-CN.yml +++ b/themes/yilia/languages/zh-CN.yml @@ -19,4 +19,8 @@ photo_wall: 照片墙 archives: 归档 all_articles: 所有文章 friends_link: 友情链接 -about_me: 关于我 \ No newline at end of file +about_me: 关于我 +github_homepage: Github主页 +weibo: 微博 +rss_subscription: Rss订阅 +email: 邮箱 \ No newline at end of file diff --git a/themes/yilia/languages/zh-tw.yml b/themes/yilia/languages/zh-tw.yml index 212cfdc..16c2994 100644 --- a/themes/yilia/languages/zh-tw.yml +++ b/themes/yilia/languages/zh-tw.yml @@ -19,4 +19,8 @@ photo_wall: 照片墻 archives: 彙整 all_articles: 所有文章 friends_link: 友情鏈接 -about_me: 關於我 \ No newline at end of file +about_me: 關於我 +github_homepage: Github主頁 +weibo: 微博 +rss_subscription: Rss訂閱 +email: 郵箱 \ No newline at end of file diff --git a/themes/yilia/layout/_partial/left-col.ejs b/themes/yilia/layout/_partial/left-col.ejs index 0f6c10e..2f7357f 100644 --- a/themes/yilia/layout/_partial/left-col.ejs +++ b/themes/yilia/layout/_partial/left-col.ejs @@ -29,7 +29,10 @@ diff --git a/themes/yilia/layout/_partial/mobile-nav.ejs b/themes/yilia/layout/_partial/mobile-nav.ejs index eed5dcc..0e0b3e2 100644 --- a/themes/yilia/layout/_partial/mobile-nav.ejs +++ b/themes/yilia/layout/_partial/mobile-nav.ejs @@ -15,9 +15,12 @@ var ulWidth = count > 2 ? '70%' : '50%' %> diff --git a/themes/yilia/source-src/css/font-awsome.scss b/themes/yilia/source-src/css/font-awsome.scss index 83778f9..db96091 100644 --- a/themes/yilia/source-src/css/font-awsome.scss +++ b/themes/yilia/source-src/css/font-awsome.scss @@ -154,4 +154,13 @@ } .icon-angle-left:before { content: "\f104"; +} +.icon-github-alt:before { + content: "\f113"; +} +.icon-linkedin-square:before { + content: "\f08c"; +} +.icon-linkedin:before { + content: "\f0e1"; } \ No newline at end of file diff --git a/themes/yilia/source-src/css/fonts/fontawsome-thin.eot b/themes/yilia/source-src/css/fonts/fontawsome-thin.eot index 06f841f..fda9b8e 100644 Binary files a/themes/yilia/source-src/css/fonts/fontawsome-thin.eot and b/themes/yilia/source-src/css/fonts/fontawsome-thin.eot differ diff --git a/themes/yilia/source-src/css/fonts/fontawsome-thin.svg b/themes/yilia/source-src/css/fonts/fontawsome-thin.svg index 7b547bc..24b38b8 100644 --- a/themes/yilia/source-src/css/fonts/fontawsome-thin.svg +++ b/themes/yilia/source-src/css/fonts/fontawsome-thin.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/themes/yilia/source-src/css/fonts/fontawsome-thin.ttf b/themes/yilia/source-src/css/fonts/fontawsome-thin.ttf index 9cbb254..8241c47 100644 Binary files a/themes/yilia/source-src/css/fonts/fontawsome-thin.ttf and b/themes/yilia/source-src/css/fonts/fontawsome-thin.ttf differ diff --git a/themes/yilia/source-src/css/fonts/fontawsome-thin.woff b/themes/yilia/source-src/css/fonts/fontawsome-thin.woff index 9aa58c5..10e3a76 100644 Binary files a/themes/yilia/source-src/css/fonts/fontawsome-thin.woff and b/themes/yilia/source-src/css/fonts/fontawsome-thin.woff differ diff --git a/themes/yilia/source-src/css/grid.scss b/themes/yilia/source-src/css/grid.scss index 0c03ff8..5de152c 100644 --- a/themes/yilia/source-src/css/grid.scss +++ b/themes/yilia/source-src/css/grid.scss @@ -21,6 +21,8 @@ html, body, #container { position:relative; min-height:100%; background: linear-gradient(200deg,#5aa5c6,#a4854b); + -webkit-overflow-scrolling: touch; + overflow-scrolling: touch; .anm-canvas { display: none; } diff --git a/themes/yilia/source-src/css/social.scss b/themes/yilia/source-src/css/social.scss index bfeb2f0..049fe75 100644 --- a/themes/yilia/source-src/css/social.scss +++ b/themes/yilia/source-src/css/social.scss @@ -49,10 +49,10 @@ } } a.github { - background: #afb6ca; - border:1px solid #afb6ca; + background: #767c8d; + border:1px solid #767c8d; &:hover { - border:1px solid #909ab6; + border:1px solid #666d80; } } a.facebook { @@ -83,6 +83,7 @@ border:1px solid #006b98; } } + /* a.acfun { background: #fd4c5d; border:1px solid #fd4c5d; @@ -96,7 +97,7 @@ &:hover { border:1px solid #e15280; } - } + }*/ a.zhihu { background: #0078d8; border:1px solid #0078d8; @@ -118,6 +119,7 @@ border:1px solid #006b98; } } + /* a.jianshu { background: #ff5722; border:1px solid #ff5722; @@ -138,13 +140,6 @@ &:hover { border:1px solid #34baad; } - } - a.psn { - background: #086ef6; - border:1px solid #086ef6; - &:hover { - border:1px solid #086ef6; - } - } + }*/ } } \ No newline at end of file