├── 404.php ├── README.md ├── archive.php ├── comments.php ├── css ├── 06311e273fc94df8875716a8ad1214a0.css ├── 0de14252c6064b4db633e0a78a6ad78d.css ├── ae68412b89aa4fb790e131abe86444dc.css ├── iconfont.css ├── lightgallery.min.css ├── main.min.css ├── nprogress.css └── pl.css ├── fonts ├── iconfont.eot ├── iconfont.svg ├── iconfont.ttf ├── iconfont.woff ├── jturjig1_i6t8kchkm45_bzf3g3d_u50.woff2 ├── jturjig1_i6t8kchkm45_bzf3gbd_u50.woff2 ├── jturjig1_i6t8kchkm45_bzf3gfd_u50.woff2 ├── jturjig1_i6t8kchkm45_bzf3gnd_g.woff2 ├── jturjig1_i6t8kchkm45_bzf3gtd_u50.woff2 ├── jturjig1_i6t8kchkm45_c5h3g3d_u50.woff2 ├── jturjig1_i6t8kchkm45_c5h3gbd_u50.woff2 ├── jturjig1_i6t8kchkm45_c5h3gfd_u50.woff2 ├── jturjig1_i6t8kchkm45_c5h3gnd_g.woff2 ├── jturjig1_i6t8kchkm45_c5h3gtd_u50.woff2 ├── jturjig1_i6t8kchkm45_dje3g3d_u50.woff2 ├── jturjig1_i6t8kchkm45_dje3gbd_u50.woff2 ├── jturjig1_i6t8kchkm45_dje3gfd_u50.woff2 ├── jturjig1_i6t8kchkm45_dje3gnd_g.woff2 ├── jturjig1_i6t8kchkm45_dje3gtd_u50.woff2 ├── jturjig1_i6t8kchkm45_zpc3g3d_u50.woff2 ├── jturjig1_i6t8kchkm45_zpc3gbd_u50.woff2 ├── jturjig1_i6t8kchkm45_zpc3gfd_u50.woff2 ├── jturjig1_i6t8kchkm45_zpc3gnd_g.woff2 ├── jturjig1_i6t8kchkm45_zpc3gtd_u50.woff2 ├── jtusjig1_i6t8kchkm459w1hyzbi.woff2 ├── jtusjig1_i6t8kchkm459wdhyzbi.woff2 ├── jtusjig1_i6t8kchkm459wlhyw.woff2 ├── jtusjig1_i6t8kchkm459wrhyzbi.woff2 ├── jtusjig1_i6t8kchkm459wzhyzbi.woff2 ├── kfolcnqeu92fr1mmyutfabc4esa.woff2 ├── kfolcnqeu92fr1mmyutfbbc4.woff2 ├── kfolcnqeu92fr1mmyutfbxc4esa.woff2 ├── kfolcnqeu92fr1mmyutfcbc4esa.woff2 ├── kfolcnqeu92fr1mmyutfchc4esa.woff2 ├── kfolcnqeu92fr1mmyutfcrc4esa.woff2 ├── kfolcnqeu92fr1mmyutfcxc4esa.woff2 ├── kfomcnqeu92fr1mu4mxk.woff2 ├── kfomcnqeu92fr1mu4wxkozy.woff2 ├── kfomcnqeu92fr1mu5mxkozy.woff2 ├── kfomcnqeu92fr1mu72xkozy.woff2 ├── kfomcnqeu92fr1mu7gxkozy.woff2 ├── kfomcnqeu92fr1mu7mxkozy.woff2 ├── kfomcnqeu92fr1mu7wxkozy.woff2 ├── lg.eot ├── lg.svg ├── lg.ttf ├── lg.woff ├── s6u8w4bmutphh30aui-qjcy.woff2 ├── s6u8w4bmutphh30axc-q.woff2 ├── s6u9w4bmutphh50xswapgr_p.woff2 ├── s6u9w4bmutphh50xswipgq.woff2 ├── s6u9w4bmutphh6uvswapgr_p.woff2 ├── s6u9w4bmutphh6uvswipgq.woff2 ├── s6u9w4bmutphh7usswapgr_p.woff2 ├── s6u9w4bmutphh7usswipgq.woff2 ├── s6uyw4bmutphjx4wxg.woff2 └── s6uyw4bmutphjxawxjeu.woff2 ├── footer.php ├── functions.php ├── header.php ├── images ├── loading.gif └── one.svg ├── img ├── icon-search.png └── icon-search@2x.png ├── index-page.php ├── index.php ├── js ├── 1a8f7b3ed5da49b59f465e8fbf83e1a7.js ├── c41407119fd540ca8be2f3c058b2b3f9.js ├── halo-comment.min.js ├── nprogress.js ├── pjax.min.js ├── vendor_gallery.min.js ├── vendor_main.min.js └── vue.min.js ├── page.php ├── post.php ├── screenshot.png └── sidebar.php /404.php: -------------------------------------------------------------------------------- 1 | 2 | need('header.php'); ?> 3 |
4 |
5 | 6 |

7 |
8 |
9 | 返回主页 10 |
11 |
12 | need('footer.php'); ?> -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Keeping 2 | 该项目已停止维护 3 | ![Image text]( https://www.ucuser.cn/usr/uploads/2019/08/1967889225.png) 4 | 每天保持一个良好的心态微笑面对一切,哪怕这是最后一秒。 5 | 6 | 昼夜双版设计,站长可以根据喜好,开启白天或者夜晚模式。也可以把选择权交给网站浏览者自己选择。十分贴心和好用。目前手机和电脑系统纷纷都支持夜晚阅读模式,这款主题也恰好完美匹配支持。 7 | 8 | 全局夜晚模式:全然不同的新风格,优雅且让眼睛更舒适 9 | 10 | 全站pjax无刷新:让你的博客享受切换页面也不会停止音乐的快感 11 | # Keeping模板安装与说明 12 | Kepping模板是由本人移植He lo的一款模板 13 | # 安装说明 14 | 把安装包解压在/usr/themes/ 15 | 然后在后台-->外观-->启用Keeping模板即可 16 | # 原文链接 17 | https://www.ucuser.cn/note/12.html 18 | 19 | 20 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 2 | need('header.php'); ?> 3 |
4 |

archiveTitle(array( 5 | 'category' => _t('分类 %s 下的文章'), 6 | 'search' => _t('包含关键字 %s 的文章'), 7 | 'tag' => _t('标签 %s 下的文章'), 8 | 'author' => _t('%s 发布的文章') 9 | ), '', ''); ?>

10 | have()): ?> 11 | next()): ?> 12 |
13 | title() ?> 14 | date(); ?> 15 |
16 | 17 | 暂无文章 18 | 21 |
22 | need('sidebar.php'); ?> 23 | need('footer.php'); ?> 24 | -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | header('commentReply=1&description=0&keywords=0&generator=0&template=0&pingback=0&xmlrpc=0&wlw=0&rss2=0&rss1=0&antiSpam=0&atom'); ?> 4 | 5 | authorId) { 8 | if ($comments->authorId == $comments->ownerId) { 9 | $commentClass .= ' comment-by-author'; 10 | } else { 11 | $commentClass .= ' comment-by-user'; 12 | }; 13 | }; 14 | ?> 15 |
  • 25 |
    26 |
    27 | gravatar('40', ''); ?> 28 | author(); ?> 29 | status) { ?> 30 | commentStatus(); ?> 31 |
    32 | date(); ?> 33 | 34 | reply(); ?> 35 | 36 |
    37 | ', $comments->content); ?> 38 |
    39 | children): ?> 40 |
    41 | threadedComments($options); ?> 42 |
    43 | 44 |
  • 45 | 46 | 47 |
    48 | comments()->to($comments); ?> 49 | allow('comment')): ?> 50 |
    51 |
    52 | cancelReply(); ?> 53 |
    54 |
    55 | user->hasLogin()): ?> 56 |
    57 | 你回来啦(๑¯∀¯๑): 58 | user->screenName(); ?> 59 | 退出 60 | 61 |
    62 |
    63 | 64 | options->commentsRequireMail): ?> required /> 65 | options->commentsRequireURL): ?> required /> 66 |
    67 | 68 | 69 |
    70 | 71 |
    72 |
    73 | 74 |
    75 | 76 |

    评论已关闭

    77 | 78 |
    79 | 87 |

    commentsNum(_t('暂无评论'), _t('仅有一条评论'), _t('已有 %d 条评论')); ?>

    88 | listComments(); ?> 89 |
    pageNav('', ''); ?>
    90 |
    91 |
    92 | -------------------------------------------------------------------------------- /css/06311e273fc94df8875716a8ad1214a0.css: -------------------------------------------------------------------------------- 1 | /* cyrillic-ext */ 2 | @font-face { 3 | font-family: 'Roboto'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu72xkozy.woff2) format('woff2'); 7 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 8 | } 9 | /* cyrillic */ 10 | @font-face { 11 | font-family: 'Roboto'; 12 | font-style: normal; 13 | font-weight: 400; 14 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu5mxkozy.woff2) format('woff2'); 15 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 16 | } 17 | /* greek-ext */ 18 | @font-face { 19 | font-family: 'Roboto'; 20 | font-style: normal; 21 | font-weight: 400; 22 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu7mxkozy.woff2) format('woff2'); 23 | unicode-range: U+1F00-1FFF; 24 | } 25 | /* greek */ 26 | @font-face { 27 | font-family: 'Roboto'; 28 | font-style: normal; 29 | font-weight: 400; 30 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu4wxkozy.woff2) format('woff2'); 31 | unicode-range: U+0370-03FF; 32 | } 33 | /* vietnamese */ 34 | @font-face { 35 | font-family: 'Roboto'; 36 | font-style: normal; 37 | font-weight: 400; 38 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu7wxkozy.woff2) format('woff2'); 39 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 40 | } 41 | /* latin-ext */ 42 | @font-face { 43 | font-family: 'Roboto'; 44 | font-style: normal; 45 | font-weight: 400; 46 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu7gxkozy.woff2) format('woff2'); 47 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 48 | } 49 | /* latin */ 50 | @font-face { 51 | font-family: 'Roboto'; 52 | font-style: normal; 53 | font-weight: 400; 54 | src: local('Roboto'), local('Roboto-Regular'), url(../fonts/kfomcnqeu92fr1mu4mxk.woff2) format('woff2'); 55 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 56 | } 57 | /* cyrillic-ext */ 58 | @font-face { 59 | font-family: 'Roboto'; 60 | font-style: normal; 61 | font-weight: 900; 62 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfcrc4esa.woff2) format('woff2'); 63 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 64 | } 65 | /* cyrillic */ 66 | @font-face { 67 | font-family: 'Roboto'; 68 | font-style: normal; 69 | font-weight: 900; 70 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfabc4esa.woff2) format('woff2'); 71 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 72 | } 73 | /* greek-ext */ 74 | @font-face { 75 | font-family: 'Roboto'; 76 | font-style: normal; 77 | font-weight: 900; 78 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfcbc4esa.woff2) format('woff2'); 79 | unicode-range: U+1F00-1FFF; 80 | } 81 | /* greek */ 82 | @font-face { 83 | font-family: 'Roboto'; 84 | font-style: normal; 85 | font-weight: 900; 86 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfbxc4esa.woff2) format('woff2'); 87 | unicode-range: U+0370-03FF; 88 | } 89 | /* vietnamese */ 90 | @font-face { 91 | font-family: 'Roboto'; 92 | font-style: normal; 93 | font-weight: 900; 94 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfcxc4esa.woff2) format('woff2'); 95 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 96 | } 97 | /* latin-ext */ 98 | @font-face { 99 | font-family: 'Roboto'; 100 | font-style: normal; 101 | font-weight: 900; 102 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfchc4esa.woff2) format('woff2'); 103 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 104 | } 105 | /* latin */ 106 | @font-face { 107 | font-family: 'Roboto'; 108 | font-style: normal; 109 | font-weight: 900; 110 | src: local('Roboto Black'), local('Roboto-Black'), url(../fonts/kfolcnqeu92fr1mmyutfbbc4.woff2) format('woff2'); 111 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 112 | } 113 | -------------------------------------------------------------------------------- /css/0de14252c6064b4db633e0a78a6ad78d.css: -------------------------------------------------------------------------------- 1 | /* latin-ext */ 2 | @font-face { 3 | font-family: 'Lato'; 4 | font-style: normal; 5 | font-weight: 100; 6 | src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/s6u8w4bmutphh30aui-qjcy.woff2) format('woff2'); 7 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 8 | } 9 | /* latin */ 10 | @font-face { 11 | font-family: 'Lato'; 12 | font-style: normal; 13 | font-weight: 100; 14 | src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/s6u8w4bmutphh30axc-q.woff2) format('woff2'); 15 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 16 | } 17 | /* latin-ext */ 18 | @font-face { 19 | font-family: 'Lato'; 20 | font-style: normal; 21 | font-weight: 300; 22 | src: local('Lato Light'), local('Lato-Light'), url(../fonts/s6u9w4bmutphh7usswapgr_p.woff2) format('woff2'); 23 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 24 | } 25 | /* latin */ 26 | @font-face { 27 | font-family: 'Lato'; 28 | font-style: normal; 29 | font-weight: 300; 30 | src: local('Lato Light'), local('Lato-Light'), url(../fonts/s6u9w4bmutphh7usswipgq.woff2) format('woff2'); 31 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 32 | } 33 | /* latin-ext */ 34 | @font-face { 35 | font-family: 'Lato'; 36 | font-style: normal; 37 | font-weight: 400; 38 | src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/s6uyw4bmutphjxawxjeu.woff2) format('woff2'); 39 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 40 | } 41 | /* latin */ 42 | @font-face { 43 | font-family: 'Lato'; 44 | font-style: normal; 45 | font-weight: 400; 46 | src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/s6uyw4bmutphjx4wxg.woff2) format('woff2'); 47 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 48 | } 49 | /* latin-ext */ 50 | @font-face { 51 | font-family: 'Lato'; 52 | font-style: normal; 53 | font-weight: 700; 54 | src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/s6u9w4bmutphh6uvswapgr_p.woff2) format('woff2'); 55 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 56 | } 57 | /* latin */ 58 | @font-face { 59 | font-family: 'Lato'; 60 | font-style: normal; 61 | font-weight: 700; 62 | src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/s6u9w4bmutphh6uvswipgq.woff2) format('woff2'); 63 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 64 | } 65 | /* latin-ext */ 66 | @font-face { 67 | font-family: 'Lato'; 68 | font-style: normal; 69 | font-weight: 900; 70 | src: local('Lato Black'), local('Lato-Black'), url(../fonts/s6u9w4bmutphh50xswapgr_p.woff2) format('woff2'); 71 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 72 | } 73 | /* latin */ 74 | @font-face { 75 | font-family: 'Lato'; 76 | font-style: normal; 77 | font-weight: 900; 78 | src: local('Lato Black'), local('Lato-Black'), url(../fonts/s6u9w4bmutphh50xswipgq.woff2) format('woff2'); 79 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 80 | } 81 | -------------------------------------------------------------------------------- /css/ae68412b89aa4fb790e131abe86444dc.css: -------------------------------------------------------------------------------- 1 | /* cyrillic-ext */ 2 | @font-face { 3 | font-family: 'Montserrat'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/jtusjig1_i6t8kchkm459wrhyzbi.woff2) format('woff2'); 7 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 8 | } 9 | /* cyrillic */ 10 | @font-face { 11 | font-family: 'Montserrat'; 12 | font-style: normal; 13 | font-weight: 400; 14 | src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/jtusjig1_i6t8kchkm459w1hyzbi.woff2) format('woff2'); 15 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 16 | } 17 | /* vietnamese */ 18 | @font-face { 19 | font-family: 'Montserrat'; 20 | font-style: normal; 21 | font-weight: 400; 22 | src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/jtusjig1_i6t8kchkm459wzhyzbi.woff2) format('woff2'); 23 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 24 | } 25 | /* latin-ext */ 26 | @font-face { 27 | font-family: 'Montserrat'; 28 | font-style: normal; 29 | font-weight: 400; 30 | src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/jtusjig1_i6t8kchkm459wdhyzbi.woff2) format('woff2'); 31 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 32 | } 33 | /* latin */ 34 | @font-face { 35 | font-family: 'Montserrat'; 36 | font-style: normal; 37 | font-weight: 400; 38 | src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/jtusjig1_i6t8kchkm459wlhyw.woff2) format('woff2'); 39 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 40 | } 41 | /* cyrillic-ext */ 42 | @font-face { 43 | font-family: 'Montserrat'; 44 | font-style: normal; 45 | font-weight: 500; 46 | src: local('Montserrat Medium'), local('Montserrat-Medium'), url(../fonts/jturjig1_i6t8kchkm45_zpc3gtd_u50.woff2) format('woff2'); 47 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 48 | } 49 | /* cyrillic */ 50 | @font-face { 51 | font-family: 'Montserrat'; 52 | font-style: normal; 53 | font-weight: 500; 54 | src: local('Montserrat Medium'), local('Montserrat-Medium'), url(../fonts/jturjig1_i6t8kchkm45_zpc3g3d_u50.woff2) format('woff2'); 55 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 56 | } 57 | /* vietnamese */ 58 | @font-face { 59 | font-family: 'Montserrat'; 60 | font-style: normal; 61 | font-weight: 500; 62 | src: local('Montserrat Medium'), local('Montserrat-Medium'), url(../fonts/jturjig1_i6t8kchkm45_zpc3gbd_u50.woff2) format('woff2'); 63 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 64 | } 65 | /* latin-ext */ 66 | @font-face { 67 | font-family: 'Montserrat'; 68 | font-style: normal; 69 | font-weight: 500; 70 | src: local('Montserrat Medium'), local('Montserrat-Medium'), url(../fonts/jturjig1_i6t8kchkm45_zpc3gfd_u50.woff2) format('woff2'); 71 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 72 | } 73 | /* latin */ 74 | @font-face { 75 | font-family: 'Montserrat'; 76 | font-style: normal; 77 | font-weight: 500; 78 | src: local('Montserrat Medium'), local('Montserrat-Medium'), url(../fonts/jturjig1_i6t8kchkm45_zpc3gnd_g.woff2) format('woff2'); 79 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 80 | } 81 | /* cyrillic-ext */ 82 | @font-face { 83 | font-family: 'Montserrat'; 84 | font-style: normal; 85 | font-weight: 600; 86 | src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url(../fonts/jturjig1_i6t8kchkm45_bzf3gtd_u50.woff2) format('woff2'); 87 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 88 | } 89 | /* cyrillic */ 90 | @font-face { 91 | font-family: 'Montserrat'; 92 | font-style: normal; 93 | font-weight: 600; 94 | src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url(../fonts/jturjig1_i6t8kchkm45_bzf3g3d_u50.woff2) format('woff2'); 95 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 96 | } 97 | /* vietnamese */ 98 | @font-face { 99 | font-family: 'Montserrat'; 100 | font-style: normal; 101 | font-weight: 600; 102 | src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url(../fonts/jturjig1_i6t8kchkm45_bzf3gbd_u50.woff2) format('woff2'); 103 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 104 | } 105 | /* latin-ext */ 106 | @font-face { 107 | font-family: 'Montserrat'; 108 | font-style: normal; 109 | font-weight: 600; 110 | src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url(../fonts/jturjig1_i6t8kchkm45_bzf3gfd_u50.woff2) format('woff2'); 111 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 112 | } 113 | /* latin */ 114 | @font-face { 115 | font-family: 'Montserrat'; 116 | font-style: normal; 117 | font-weight: 600; 118 | src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url(../fonts/jturjig1_i6t8kchkm45_bzf3gnd_g.woff2) format('woff2'); 119 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 120 | } 121 | /* cyrillic-ext */ 122 | @font-face { 123 | font-family: 'Montserrat'; 124 | font-style: normal; 125 | font-weight: 700; 126 | src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/jturjig1_i6t8kchkm45_dje3gtd_u50.woff2) format('woff2'); 127 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 128 | } 129 | /* cyrillic */ 130 | @font-face { 131 | font-family: 'Montserrat'; 132 | font-style: normal; 133 | font-weight: 700; 134 | src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/jturjig1_i6t8kchkm45_dje3g3d_u50.woff2) format('woff2'); 135 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 136 | } 137 | /* vietnamese */ 138 | @font-face { 139 | font-family: 'Montserrat'; 140 | font-style: normal; 141 | font-weight: 700; 142 | src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/jturjig1_i6t8kchkm45_dje3gbd_u50.woff2) format('woff2'); 143 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 144 | } 145 | /* latin-ext */ 146 | @font-face { 147 | font-family: 'Montserrat'; 148 | font-style: normal; 149 | font-weight: 700; 150 | src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/jturjig1_i6t8kchkm45_dje3gfd_u50.woff2) format('woff2'); 151 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 152 | } 153 | /* latin */ 154 | @font-face { 155 | font-family: 'Montserrat'; 156 | font-style: normal; 157 | font-weight: 700; 158 | src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/jturjig1_i6t8kchkm45_dje3gnd_g.woff2) format('woff2'); 159 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 160 | } 161 | /* cyrillic-ext */ 162 | @font-face { 163 | font-family: 'Montserrat'; 164 | font-style: normal; 165 | font-weight: 800; 166 | src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url(../fonts/jturjig1_i6t8kchkm45_c5h3gtd_u50.woff2) format('woff2'); 167 | unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 168 | } 169 | /* cyrillic */ 170 | @font-face { 171 | font-family: 'Montserrat'; 172 | font-style: normal; 173 | font-weight: 800; 174 | src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url(../fonts/jturjig1_i6t8kchkm45_c5h3g3d_u50.woff2) format('woff2'); 175 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 176 | } 177 | /* vietnamese */ 178 | @font-face { 179 | font-family: 'Montserrat'; 180 | font-style: normal; 181 | font-weight: 800; 182 | src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url(../fonts/jturjig1_i6t8kchkm45_c5h3gbd_u50.woff2) format('woff2'); 183 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 184 | } 185 | /* latin-ext */ 186 | @font-face { 187 | font-family: 'Montserrat'; 188 | font-style: normal; 189 | font-weight: 800; 190 | src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url(../fonts/jturjig1_i6t8kchkm45_c5h3gfd_u50.woff2) format('woff2'); 191 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 192 | } 193 | /* latin */ 194 | @font-face { 195 | font-family: 'Montserrat'; 196 | font-style: normal; 197 | font-weight: 800; 198 | src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url(../fonts/jturjig1_i6t8kchkm45_c5h3gnd_g.woff2) format('woff2'); 199 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 200 | } 201 | -------------------------------------------------------------------------------- /css/iconfont.css: -------------------------------------------------------------------------------- 1 | @font-face {font-family: "iconfont"; 2 | src: url('../fonts/iconfont.eot'); /* IE9 */ 3 | src: url('../fonts/iconfont.eot') format('embedded-opentype'), /* IE6-IE8 */ 4 | url('../fonts/iconfont.woff') format('woff'), 5 | url('../fonts/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ 6 | url('../fonts/iconfont.svg') format('svg'); /* iOS 4.1- */ 7 | } 8 | 9 | .iconfont { 10 | font-family: "iconfont" !important; 11 | font-size: 16px; 12 | font-style: normal; 13 | -webkit-font-smoothing: antialiased; 14 | -moz-osx-font-smoothing: grayscale; 15 | } 16 | 17 | .icon-weibo:before { 18 | content: "\e6c4"; 19 | } 20 | 21 | .icon-codepen:before { 22 | content: "\ea79"; 23 | } 24 | 25 | .icon-spotify:before { 26 | content: "\ebf4"; 27 | } 28 | 29 | .icon-reddit:before { 30 | content: "\e761"; 31 | } 32 | 33 | .icon-dajiantou:before { 34 | content: "\e642"; 35 | } 36 | 37 | .icon-xiaojiantou:before { 38 | content: "\e666"; 39 | } 40 | 41 | .icon-deviantart:before { 42 | content: "\e6c6"; 43 | } 44 | 45 | .icon-dribbble:before { 46 | content: "\e6d8"; 47 | } 48 | 49 | .icon-zhihu:before { 50 | content: "\e6ba"; 51 | } 52 | 53 | .icon-wordpress:before { 54 | content: "\e848"; 55 | } 56 | 57 | .icon-twitter:before { 58 | content: "\eb2a"; 59 | } 60 | 61 | .icon-whatsapp:before { 62 | content: "\eb92"; 63 | } 64 | 65 | .icon-facebook:before { 66 | content: "\e638"; 67 | } 68 | 69 | .icon-gitlab:before { 70 | content: "\e719"; 71 | } 72 | 73 | .icon-medium:before { 74 | content: "\e783"; 75 | } 76 | 77 | .icon-steam:before { 78 | content: "\e811"; 79 | } 80 | 81 | .icon-jsfiddle:before { 82 | content: "\e752"; 83 | } 84 | 85 | .icon-soundcloud:before { 86 | content: "\e81d"; 87 | } 88 | 89 | .icon-ycombinator:before { 90 | content: "\eb32"; 91 | } 92 | 93 | .icon-linkedin:before { 94 | content: "\e696"; 95 | } 96 | 97 | .icon-pinterest:before { 98 | content: "\e697"; 99 | } 100 | 101 | .icon-500px:before { 102 | content: "\e607"; 103 | } 104 | 105 | .icon-bitbucket:before { 106 | content: "\e645"; 107 | } 108 | 109 | .icon-instagram:before { 110 | content: "\e6b6"; 111 | } 112 | 113 | .icon-slideshare:before { 114 | content: "\e6fd"; 115 | } 116 | 117 | .icon-twitch:before { 118 | content: "\e72a"; 119 | } 120 | 121 | .icon-vine:before { 122 | content: "\e735"; 123 | } 124 | 125 | .icon-xing:before { 126 | content: "\e741"; 127 | } 128 | 129 | .icon-snapchat:before { 130 | content: "\e8b2"; 131 | } 132 | 133 | .icon-douban:before { 134 | content: "\e688"; 135 | } 136 | 137 | .icon-github:before { 138 | content: "\e691"; 139 | } 140 | 141 | .icon-t:before { 142 | content: "\e601"; 143 | } 144 | 145 | .icon-mail:before { 146 | content: "\e622"; 147 | } 148 | 149 | .icon-behance:before { 150 | content: "\e621"; 151 | } 152 | 153 | .icon-POP_lastfm:before { 154 | content: "\e681"; 155 | } 156 | 157 | .icon-odnoklassniki:before { 158 | content: "\e624"; 159 | } 160 | 161 | .icon-strava:before { 162 | content: "\e627"; 163 | } 164 | 165 | .icon-goodreads:before { 166 | content: "\e62a"; 167 | } 168 | 169 | .icon-kickstarter:before { 170 | content: "\e644"; 171 | } 172 | 173 | .icon-bandcamp:before { 174 | content: "\e64b"; 175 | } 176 | 177 | .icon-flickr:before { 178 | content: "\e660"; 179 | } 180 | 181 | .icon-keybase:before { 182 | content: "\e665"; 183 | } 184 | 185 | .icon-paypal:before { 186 | content: "\e667"; 187 | } 188 | 189 | .icon-mastodon:before { 190 | content: "\e94a"; 191 | } 192 | 193 | .icon-folder:before { 194 | content: "\e7d1"; 195 | } 196 | 197 | .icon-skype:before { 198 | content: "\e87d"; 199 | } 200 | 201 | .icon-icon-tag:before { 202 | content: "\e632"; 203 | } 204 | 205 | .icon-sun:before { 206 | content: "\e684"; 207 | } 208 | 209 | .icon-timer:before { 210 | content: "\e664"; 211 | } 212 | 213 | .icon-researchgate:before { 214 | content: "\e693"; 215 | } 216 | 217 | .icon-angellist:before { 218 | content: "\f163"; 219 | } 220 | 221 | .icon-mix:before { 222 | content: "\f1f5"; 223 | } 224 | 225 | .icon-patreon:before { 226 | content: "\f209"; 227 | } 228 | 229 | .icon-quora:before { 230 | content: "\f218"; 231 | } 232 | 233 | .icon-stack-overflow:before { 234 | content: "\f239"; 235 | } 236 | 237 | .icon-telegram-plane:before { 238 | content: "\f246"; 239 | } 240 | 241 | .icon-tumblr:before { 242 | content: "\f24a"; 243 | } 244 | 245 | .icon-vk:before { 246 | content: "\f25e"; 247 | } 248 | 249 | .icon-youtube:before { 250 | content: "\e765"; 251 | } 252 | 253 | .icon-Googlescholar:before { 254 | content: "\e736"; 255 | } 256 | 257 | .icon-foursquare:before { 258 | content: "\e8ed"; 259 | } 260 | 261 | -------------------------------------------------------------------------------- /css/lightgallery.min.css: -------------------------------------------------------------------------------- 1 | .lg-sub-html,.lg-toolbar{background-color:rgba(0,0,0,.45)}@font-face{font-family:lg;src:url(../fonts/lg.eot);src:url(../fonts/lg.eot) format("embedded-opentype"),url(../fonts/lg.woff) format("woff"),url(../fonts/lg.ttf) format("truetype"),url(../fonts/lg.svg) format("svg");font-weight:400;font-style:normal}.lg-icon{font-family:lg;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lg-actions .lg-next,.lg-actions .lg-prev{background-color:rgba(0,0,0,.45);border-radius:2px;color:#999;cursor:pointer;display:block;font-size:22px;margin-top:-10px;padding:8px 10px 9px;position:absolute;top:50%;z-index:1080;border:none;outline:0}.lg-actions .lg-next.disabled,.lg-actions .lg-prev.disabled{pointer-events:none;opacity:.5}.lg-actions .lg-next:hover,.lg-actions .lg-prev:hover{color:#FFF}.lg-actions .lg-next{right:20px}.lg-actions .lg-next:before{content:"\e095"}.lg-actions .lg-prev{left:20px}.lg-actions .lg-prev:after{content:"\e094"}@-webkit-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-moz-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-ms-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-webkit-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-moz-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-ms-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}.lg-outer.lg-right-end .lg-object{-webkit-animation:lg-right-end .3s;-o-animation:lg-right-end .3s;animation:lg-right-end .3s;position:relative}.lg-outer.lg-left-end .lg-object{-webkit-animation:lg-left-end .3s;-o-animation:lg-left-end .3s;animation:lg-left-end .3s;position:relative}.lg-toolbar{z-index:1082;left:0;position:absolute;top:0;width:100%}.lg-toolbar .lg-icon{color:#999;cursor:pointer;float:right;font-size:24px;height:47px;line-height:27px;padding:10px 0;text-align:center;width:50px;text-decoration:none!important;outline:0;-webkit-transition:color .2s linear;-o-transition:color .2s linear;transition:color .2s linear}.lg-toolbar .lg-icon:hover{color:#FFF}.lg-toolbar .lg-close:after{content:"\e070"}.lg-toolbar .lg-download:after{content:"\e0f2"}.lg-sub-html{bottom:0;color:#EEE;font-size:16px;left:0;padding:10px 40px;position:fixed;right:0;text-align:center;z-index:1080}.lg-sub-html h4{margin:0;font-size:13px;font-weight:700}.lg-sub-html p{font-size:12px;margin:5px 0 0}#lg-counter{color:#999;display:inline-block;font-size:16px;padding-left:20px;padding-top:12px;vertical-align:middle}.lg-next,.lg-prev,.lg-toolbar{opacity:1;-webkit-transition:-webkit-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-moz-transition:-moz-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-o-transition:-o-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;transition:transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear}.lg-hide-items .lg-prev{opacity:0;-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.lg-hide-items .lg-next{opacity:0;-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.lg-hide-items .lg-toolbar{opacity:0;-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0;-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-moz-transition:-moz-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-o-transition:-o-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;transition:transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);opacity:1}.lg-outer .lg-thumb-outer{background-color:#0D0A0A;bottom:0;position:absolute;width:100%;z-index:1080;max-height:350px;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1) 0s;transition:transform .25s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb{-webkit-transition-duration:0s!important;transition-duration:0s!important}.lg-outer.lg-thumb-open .lg-thumb-outer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-thumb{padding:10px 0;height:100%;margin-bottom:-5px}.lg-outer .lg-thumb-item{cursor:pointer;float:left;overflow:hidden;height:100%;border:2px solid #FFF;border-radius:4px;margin-bottom:5px}@media (min-width:1025px){.lg-outer .lg-thumb-item{-webkit-transition:border-color .25s ease;-o-transition:border-color .25s ease;transition:border-color .25s ease}}.lg-outer .lg-thumb-item.active,.lg-outer .lg-thumb-item:hover{border-color:#a90707}.lg-outer .lg-thumb-item img{width:100%;height:100%;object-fit:cover}.lg-outer.lg-has-thumb .lg-item{padding-bottom:120px}.lg-outer.lg-can-toggle .lg-item{padding-bottom:0}.lg-outer.lg-pull-caption-up .lg-sub-html{-webkit-transition:bottom .25s ease;-o-transition:bottom .25s ease;transition:bottom .25s ease}.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html{bottom:100px}.lg-outer .lg-toogle-thumb{background-color:#0D0A0A;border-radius:2px 2px 0 0;color:#999;cursor:pointer;font-size:24px;height:39px;line-height:27px;padding:5px 0;position:absolute;right:20px;text-align:center;top:-39px;width:50px}.lg-outer .lg-toogle-thumb:hover,.lg-outer.lg-dropdown-active #lg-share{color:#FFF}.lg-outer .lg-toogle-thumb:after{content:"\e1ff"}.lg-outer .lg-video-cont{display:inline-block;vertical-align:middle;max-width:1140px;max-height:100%;width:100%;padding:0 5px}.lg-outer .lg-video{width:100%;height:0;padding-bottom:56.25%;overflow:hidden;position:relative}.lg-outer .lg-video .lg-object{display:inline-block;position:absolute;top:0;left:0;width:100%!important;height:100%!important}.lg-outer .lg-video .lg-video-play{width:84px;height:59px;position:absolute;left:50%;top:50%;margin-left:-42px;margin-top:-30px;z-index:1080;cursor:pointer}.lg-outer .lg-has-iframe .lg-video{-webkit-overflow-scrolling:touch;overflow:auto}.lg-outer .lg-has-vimeo .lg-video-play{background:url(../images/vimeo-play.png) no-repeat}.lg-outer .lg-has-vimeo:hover .lg-video-play{background:url(../images/vimeo-play.png) 0 -58px no-repeat}.lg-outer .lg-has-html5 .lg-video-play{background:url(../images/video-play.png) no-repeat;height:64px;margin-left:-32px;margin-top:-32px;width:64px;opacity:.8}.lg-outer .lg-has-html5:hover .lg-video-play{opacity:1}.lg-outer .lg-has-youtube .lg-video-play{background:url(../images/youtube-play.png) no-repeat}.lg-outer .lg-has-youtube:hover .lg-video-play{background:url(../images/youtube-play.png) 0 -60px no-repeat}.lg-outer .lg-video-object{width:100%!important;height:100%!important;position:absolute;top:0;left:0}.lg-outer .lg-has-video .lg-video-object{visibility:hidden}.lg-outer .lg-has-video.lg-video-playing .lg-object,.lg-outer .lg-has-video.lg-video-playing .lg-video-play{display:none}.lg-outer .lg-has-video.lg-video-playing .lg-video-object{visibility:visible}.lg-progress-bar{background-color:#333;height:5px;left:0;position:absolute;top:0;width:100%;z-index:1083;opacity:0;-webkit-transition:opacity 80ms ease 0s;-moz-transition:opacity 80ms ease 0s;-o-transition:opacity 80ms ease 0s;transition:opacity 80ms ease 0s}.lg-progress-bar .lg-progress{background-color:#a90707;height:5px;width:0}.lg-progress-bar.lg-start .lg-progress{width:100%}.lg-show-autoplay .lg-progress-bar{opacity:1}.lg-autoplay-button:after{content:"\e01d"}.lg-show-autoplay .lg-autoplay-button:after{content:"\e01a"}.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image,.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition-duration:0s;transition-duration:0s}.lg-outer.lg-use-transition-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s;transition:transform .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer.lg-use-left-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;transition:transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}#lg-zoom-in:after{content:"\e311"}#lg-actual-size{font-size:20px}#lg-actual-size:after{content:"\e033"}#lg-zoom-out{opacity:.5;pointer-events:none}#lg-zoom-out:after{content:"\e312"}.lg-zoomed #lg-zoom-out{opacity:1;pointer-events:auto}.lg-outer .lg-pager-outer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1080;height:10px}.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont{overflow:visible}.lg-outer .lg-pager-cont{cursor:pointer;display:inline-block;overflow:hidden;position:relative;vertical-align:top;margin:0 5px}.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-pager-cont.lg-pager-active .lg-pager{box-shadow:0 0 0 2px #fff inset}.lg-outer .lg-pager-thumb-cont{background-color:#fff;color:#FFF;bottom:100%;height:83px;left:0;margin-bottom:20px;margin-left:-60px;opacity:0;padding:5px;position:absolute;width:120px;border-radius:3px;-webkit-transition:opacity .15s ease 0s,-webkit-transform .15s ease 0s;-moz-transition:opacity .15s ease 0s,-moz-transform .15s ease 0s;-o-transition:opacity .15s ease 0s,-o-transform .15s ease 0s;transition:opacity .15s ease 0s,transform .15s ease 0s;-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}.lg-outer .lg-pager-thumb-cont img{width:100%;height:100%}.lg-outer .lg-pager{background-color:rgba(255,255,255,.5);border-radius:50%;box-shadow:0 0 0 8px rgba(255,255,255,.7) inset;display:block;height:12px;-webkit-transition:box-shadow .3s ease 0s;-o-transition:box-shadow .3s ease 0s;transition:box-shadow .3s ease 0s;width:12px}.lg-outer .lg-pager:focus,.lg-outer .lg-pager:hover{box-shadow:0 0 0 8px #fff inset}.lg-outer .lg-caret{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px dashed;bottom:-10px;display:inline-block;height:0;left:50%;margin-left:-5px;position:absolute;vertical-align:middle;width:0}.lg-fullscreen:after{content:"\e20c"}.lg-fullscreen-on .lg-fullscreen:after{content:"\e20d"}.lg-outer #lg-dropdown-overlay{background-color:rgba(0,0,0,.25);bottom:0;cursor:default;left:0;position:fixed;right:0;top:0;z-index:1081;opacity:0;visibility:hidden;-webkit-transition:visibility 0s linear .18s,opacity .18s linear 0s;-o-transition:visibility 0s linear .18s,opacity .18s linear 0s;transition:visibility 0s linear .18s,opacity .18s linear 0s}.lg-outer.lg-dropdown-active #lg-dropdown-overlay,.lg-outer.lg-dropdown-active .lg-dropdown{-webkit-transition-delay:0s;transition-delay:0s;-moz-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;visibility:visible}.lg-outer .lg-dropdown{background-color:#fff;border-radius:2px;font-size:14px;list-style-type:none;margin:0;padding:10px 0;position:absolute;right:0;text-align:left;top:50px;opacity:0;visibility:hidden;-moz-transform:translate3d(0,5px,0);-o-transform:translate3d(0,5px,0);-ms-transform:translate3d(0,5px,0);-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0);-webkit-transition:-webkit-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-moz-transition:-moz-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-o-transition:-o-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;transition:transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s}.lg-outer .lg-dropdown:after{content:"";display:block;height:0;width:0;position:absolute;border:8px solid transparent;border-bottom-color:#FFF;right:16px;top:-16px}.lg-outer .lg-dropdown>li:last-child{margin-bottom:0}.lg-outer .lg-dropdown>li:hover .lg-icon,.lg-outer .lg-dropdown>li:hover a{color:#333}.lg-outer .lg-dropdown a{color:#333;display:block;white-space:pre;padding:4px 12px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px}.lg-outer .lg-dropdown a:hover{background-color:rgba(0,0,0,.07)}.lg-outer .lg-dropdown .lg-dropdown-text{display:inline-block;line-height:1;margin-top:-3px;vertical-align:middle}.lg-outer .lg-dropdown .lg-icon{color:#333;display:inline-block;float:none;font-size:20px;height:auto;line-height:1;margin-right:8px;padding:0;vertical-align:middle;width:auto}.lg-outer,.lg-outer .lg,.lg-outer .lg-inner{width:100%;height:100%}.lg-outer #lg-share{position:relative}.lg-outer #lg-share:after{content:"\e80d"}.lg-outer #lg-share-facebook .lg-icon{color:#3b5998}.lg-outer #lg-share-facebook .lg-icon:after{content:"\e901"}.lg-outer #lg-share-twitter .lg-icon{color:#00aced}.lg-outer #lg-share-twitter .lg-icon:after{content:"\e904"}.lg-outer #lg-share-googleplus .lg-icon{color:#dd4b39}.lg-outer #lg-share-googleplus .lg-icon:after{content:"\e902"}.lg-outer #lg-share-pinterest .lg-icon{color:#cb2027}.lg-outer #lg-share-pinterest .lg-icon:after{content:"\e903"}.lg-group:after{content:"";display:table;clear:both}.lg-outer{position:fixed;top:0;left:0;z-index:1050;text-align:left;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.lg-outer.lg-visible{opacity:1}.lg-outer.lg-css3 .lg-item.lg-current,.lg-outer.lg-css3 .lg-item.lg-next-slide,.lg-outer.lg-css3 .lg-item.lg-prev-slide{-webkit-transition-duration:inherit!important;transition-duration:inherit!important;-webkit-transition-timing-function:inherit!important;transition-timing-function:inherit!important}.lg-outer.lg-css3.lg-dragging .lg-item.lg-current,.lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide,.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide{-webkit-transition-duration:0s!important;transition-duration:0s!important;opacity:1}.lg-outer.lg-grab img.lg-object{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer.lg-grabbing img.lg-object{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg{position:relative;overflow:hidden;margin-left:auto;margin-right:auto;max-width:100%;max-height:100%}.lg-outer .lg-inner{position:absolute;left:0;top:0;white-space:nowrap}.lg-outer .lg-item{background:url(../images/loading.gif) center center no-repeat;display:none!important}.lg-outer.lg-css .lg-current,.lg-outer.lg-css3 .lg-current,.lg-outer.lg-css3 .lg-next-slide,.lg-outer.lg-css3 .lg-prev-slide{display:inline-block!important}.lg-outer .lg-img-wrap,.lg-outer .lg-item{display:inline-block;text-align:center;position:absolute;width:100%;height:100%}.lg-outer .lg-img-wrap:before,.lg-outer .lg-item:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}.lg-outer .lg-img-wrap{position:absolute;padding:0 5px;left:0;right:0;top:0;bottom:0}.lg-outer .lg-item.lg-complete{background-image:none}.lg-outer .lg-item.lg-current{z-index:1060}.lg-outer .lg-image{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%;width:auto!important;height:auto!important}.lg-outer.lg-show-after-load .lg-item .lg-object,.lg-outer.lg-show-after-load .lg-item .lg-video-play{opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play{opacity:1}.lg-outer .lg-empty-html,.lg-outer.lg-hide-download #lg-download{display:none}.lg-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1040;background-color:#000;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-backdrop.in{opacity:1}.lg-css3.lg-no-trans .lg-current,.lg-css3.lg-no-trans .lg-next-slide,.lg-css3.lg-no-trans .lg-prev-slide{-webkit-transition:none 0s ease 0s!important;-moz-transition:none 0s ease 0s!important;-o-transition:none 0s ease 0s!important;transition:none 0s ease 0s!important}.lg-css3.lg-use-css3 .lg-item,.lg-css3.lg-use-left .lg-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-css3.lg-fade .lg-item{opacity:0}.lg-css3.lg-fade .lg-item.lg-current{opacity:1}.lg-css3.lg-fade .lg-item.lg-current,.lg-css3.lg-fade .lg-item.lg-next-slide,.lg-css3.lg-fade .lg-item.lg-prev-slide{-webkit-transition:opacity .1s ease 0s;-moz-transition:opacity .1s ease 0s;-o-transition:opacity .1s ease 0s;transition:opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-css3 .lg-item{opacity:0}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transition:-webkit-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:-moz-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:-o-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-left .lg-item{opacity:0;position:absolute;left:0}.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{left:-100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide{left:100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current{left:0;opacity:1}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current,.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{-webkit-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s} -------------------------------------------------------------------------------- /css/main.min.css: -------------------------------------------------------------------------------- 1 | /*!normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css*/@import "0de14252c6064b4db633e0a78a6ad78d.css";@import "ae68412b89aa4fb790e131abe86444dc.css";@import "06311e273fc94df8875716a8ad1214a0.css";html{line-height:1.15;-webkit-text-size-adjust:100%}html,body,main,div,span,a,li,ul,hr,h1,h2,h3,h4{padding:0;margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html::-webkit-scrollbar{width:8px;height:8px}html::-webkit-scrollbar-thumb{height:40px;background-color:#eee;border-radius:16px}html::-webkit-scrollbar-thumb:hover{background-color:#ddd}::selection{background:rgba(0,149,255,.1)}html{font-family:roborto,-apple-system,BlinkMacSystemFont,helvetica neue,pingfang sc,hiragino sans gb,STHeiti,microsoft yahei,wenquanyi micro hei,Arial,Verdana,sans-serif}body{font-size:11pt;font-weight:400;line-height:2em;background-color:#fff;color:#161209}body:before{content:"";background-repeat:no-repeat;background-position:50%;opacity:.05;position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);filter:gray}body.dark-theme{background-color:#292a2d;color:#a9a9b3}a{color:#161209;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}a:hover{color:#2d96bd;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}.dark-theme a{color:#a9a9b3;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}.dark-theme a:hover{color:#fff;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}blockquote{font-size:1rem;display:block;border-width:1px 0;border-style:solid;border-color:#dcdcdc;padding:1.5em 1.2em .5em;margin:0 0 2em;position:relative}blockquote:before{content:'\201C';position:absolute;top:0;left:50%;transform:translate(-50%,-50%);width:3rem;height:2rem;font:6em/1.08em pt sans,sans-serif;color:#2d96bd;text-align:center}.dark-theme blockquote:before{color:#eee}blockquote:after{content:"#blockquote" attr(cite);display:block;text-align:right;font-size:.875em;color:#2d96bd}.dark-theme blockquote:after{color:#eee}.dark-theme blockquote{border-color:#4a4b50}.wrapper{display:flex;flex-direction:column;min-height:100vh;width:100%}.navbar{height:4rem;line-height:4rem;width:100%}.navbar .container{width:auto;max-width:1200px;text-align:center;margin:0 auto;display:flex;justify-content:space-between}.main{flex:1 0 auto}.container{padding-left:1em;padding-right:1em}.footer{height:4rem;width:100%;text-align:center;line-height:4rem;padding-top:2em}.notfound{font-size:2em;transform:translateY(35vh);text-align:center}.intro{transform:translateY(25vh);text-align:center}.intro .avatar{padding:10px}.intro .avatar img{width:128px;height:auto;display:inline-block;-webkit-border-radius:100%;border-radius:100%;-webkit-box-shadow:0 0 0 .3618em rgba(0,0,0,.05);box-shadow:0 0 0 .3618em rgba(0,0,0,.05);margin:0 auto;-webkit-transition:all ease .4s;-moz-transition:all ease .4s;-o-transition:all ease .4s;transition:all ease .4s;cursor:pointer}.intro .avatar img:hover{position:relative;-webkit-transform:translateY(-0.75em);-moz-transform:translateY(-0.75em);-ms-transform:translateY(-0.75em);-o-transform:translateY(-0.75em);transform:translateY(-0.75em);cursor:pointer}h2.description{font-size:1em;font-weight:400;padding:5px}.social-links a{padding:0 5px}.social-links a:hover{background-color:transparent}.social-links .iconfont{font-size:2em}.post-warp .archive-item{margin-left:2rem}.post-warp .categories-card{margin:0 auto;margin-top:3em;display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;padding:0 2.5em;line-height:1.6em}.post-warp .categories-card .card-item{font-size:14px;text-align:left;width:45%;display:flex;align-items:flex-start;margin-top:2em;min-height:16em;padding:0 2%;position:relative}.post-warp .categories-card .card-item .categories{overflow:hidden}.post-warp .archive-item-link{display:inline-block;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:95%}.post-warp .archive-item-link:hover{color:#2d96bd;background-color:transparent}.dark-theme .post-warp .archive-item-link{color:#a9a9b3;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}.dark-theme .post-warp .archive-item-link:hover{color:#fff;text-decoration:none;transition:color .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease}.post-warp .archive-item-date{float:right;text-align:right;color:#a9a9b3}.dark-theme .post-warp .archive-item-date{color:#87878d}.post-warp .more-post{text-align:right}.categories h3{display:inline-block}.categories span{float:right;padding-right:1em}.post-warp{position:relative;width:100%;max-width:780px;margin:0 auto;padding-top:2rem}.post-warp .post-header h1{margin:0!important}.post-warp .post-title{font-size:2em;line-height:1.5em}.post-warp .post-meta{color:rgba(85,85,85,.52941)!important}.dark-theme .post-warp .post-meta{color:#87878d!important}.post-warp .post-meta a{color:#2d96bd}.dark-theme .post-warp .post-meta a{color:#eee}.post-warp .post-meta a:hover{color:#ef3982}.dark-theme .post-warp .post-meta a:hover{color:#fff}.post-warp .post-content{padding-top:2rem}.post-warp .post-content h2,.post-warp .post-content h3,.post-warp .post-content h4,.post-warp .post-content h5,.post-warp .post-content h6{padding-top:.8em;padding-bottom:.3em}.post-warp .post-content h2::before{content:"#";margin-right:5px;color:#2d96bd}.dark-theme .post-warp .post-content h2::before{color:#eee}.post-warp .post-content h3::before{content:"|";margin-right:5px;color:#2d96bd}.dark-theme .post-warp .post-content h3::before{color:#eee}.post-warp .post-content a{color:#2d96bd}.dark-theme .post-warp .post-content a{color:#eee}.post-warp .post-content a:hover{color:#ef3982}.dark-theme .post-warp .post-content a:hover:hover{color:#fff;font-weight:700;text-decoration:underline}.post-warp .post-content code,.post-warp .post-content pre{padding:7px;font-size:13px;font-family:Consolas,Monaco,Menlo,Consolas,monospace;word-break:break-all;word-wrap:break-word}.post-warp .post-content code:not([class]){padding:5px;background:#fff;border:1px solid #ddd;box-shadow:1px 1px 0 #fff,2px 2px 0 #ddd;margin-left:3px;margin-right:3px}.dark-theme .post-warp .post-content code:not([class]):not([class]){background:transparent;box-shadow:1px 1px 0 #87878d,2px 2px 0 #87878d}.post-warp .post-content ul{padding-left:2em}.post-warp .post-content table{max-width:100%;margin:10px 0;border-spacing:0;box-shadow:2px 2px 3px rgba(0,0,0,.125)}.post-warp .post-content table th,.post-warp .post-content table td{padding:5px 15px;border:1px double #ebe9f5}.post-warp .post-content figure{text-align:center}.post-warp .post-content figure img:hover{cursor:zoom-in}.post-warp .post-content .image-caption:not(:empty){min-width:20%;max-width:80%;display:inline-block;padding:10px;margin:0 auto;border-bottom:1px solid #d9d9d9;font-size:14px;color:#969696;line-height:1.7}.post-warp .post-content img{display:block;max-width:100%;height:auto;margin:0 auto;overflow:hidden}.post-warp .post-content img[data-action=zoom]{cursor:zoom-in}.post-warp .post-content .featured_image{width:100%!important;max-width:100%!important;height:auto!important;margin:0!important}.post-warp p{font-size:1em;margin:.5em 0}.post-warp .post-copyright{margin-top:5rem;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.post-warp .post-copyright .copyright-item{margin:5px 0}.post-warp .post-copyright .lincese{font-weight:700}.dark-theme .post-warp .post-copyright{border-top:1px solid #4a4b50;border-bottom:1px solid #4a4b50}.post-warp .post-tags{padding:1rem 0;display:flex;justify-content:space-between}.post-warp .post-nav:before,.post-warp .post-nav:after{content:" ";display:table}.post-warp .post-nav a.prev,.post-warp .post-nav a.next{font-weight:600;font-size:16px;transition-property:transform;transition-timing-function:ease-out;transition-duration:.3s}.post-warp .post-nav a.prev{float:left}.post-warp .post-nav a.prev:hover{transform:translateX(-4px)}.post-warp .post-nav a.next{float:right}.post-warp .post-nav a.next:hover{transform:translateX(4px)}.post-warp .tag:not(:last-child) a::after{content:" / "}.post-warp .post-comment{padding:3em 0}.tag-cloud-tags{margin:10px 0}.tag-cloud-tags a{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;transition-duration:.3s;transition-property:transform;transition-timing-function:ease-out}.tag-cloud-tags a:active,.tag-cloud-tags a:focus,.tag-cloud-tags a:hover{color:#2d96bd;transform:scale(1.1)}.dark-theme .tag-cloud-tags a:active,.dark-theme .tag-cloud-tags a:focus,.dark-theme .tag-cloud-tags a:hover{color:#fff}.tag-cloud-tags a small{color:#a9a9b3}.dark-theme .tag-cloud-tags a small{color:#fff}.post-warp .intro{transform:translateY(0);margin:2em 0 5em}.post-warp .intro .avatar img{width:96px}.post-warp .post{margin-bottom:4em;border-bottom:1px dashed #ddd}.post-warp .post .post-content{padding-top:.5em}.post-warp .post .post-footer{display:flex;justify-content:space-between;align-items:center}.post-warp .post .post-footer .post-meta a{color:rgba(85,85,85,.52941)!important}.dark-theme .post-warp .post .post-footer .post-meta a{color:#87878d!important}.post-warp .post .post-footer .post-meta a:hover{color:#a9a9b3!important}.dark-theme .post-warp .post .post-footer .post-meta a:hover{color:#87878d!important}.post-warp .post .post-footer .post-tags span a{color:rgba(85,85,85,.52941)!important}.dark-theme .post-warp .post .post-footer .post-tags span a{color:#87878d!important}.post-warp .post .post-footer .post-tags span a:hover{color:#a9a9b3!important}.dark-theme .post-warp .post .post-footer .post-tags span a:hover{color:#87878d!important}.header-logo a{padding:0}.header-logo a i{line-height:2em}.navbar .menu a{padding:0 8px}.navbar .menu .active{font-weight:900;color:#161209}.dark-theme .navbar .menu .active{color:#fff}.navbar-header a:hover,.navbar .menu a:hover{background-color:transparent}.copyright{font-size:14px}#dynamic-to-top{display:none;overflow:hidden;width:auto;z-index:90;position:fixed;bottom:2em;right:2em;top:auto;left:auto;font-family:sans-serif;font-size:1em;color:#fff;text-decoration:none;text-shadow:0 1px 0 #333;font-weight:700;padding:17px 16px;border:1px solid #dcdcdc;background:#222;outline:none}#dynamic-to-top:hover{background:#000;cursor:pointer}#dynamic-to-top:active{background:#000;outline:none}#dynamic-to-top:focus,#dynamic-to-top:hover{outline:none}#dynamic-to-top span{display:block;overflow:hidden;width:14px;height:12px;background:url(../fonts/ce580add98b0436280d2116e5ecef41a.woff) no-repeat 50%}.dark-theme #dynamic-to-top{border:1px solid #4a4b50}.pagination{display:flex;flex-direction:row;justify-content:center;list-style:none;white-space:nowrap;width:100%;padding-top:2em}.pagination a{-webkit-font-smoothing:antialiased;font-size:12px;color:#bfbfbf;letter-spacing:.1em;font-weight:700;padding:5px;text-decoration:none;transition:.3s}.pagination li{padding-bottom:3px;margin:0 20px;box-sizing:border-box;position:relative;display:inline}.pagination li.disabled{display:none}.pagination li:hover a{color:#000}.dark-theme .pagination li:hover a{color:#fff}.pagination li:before,.pagination li:after{position:absolute;content:"";width:0;height:3px;background:#000;transition:.3s;bottom:0}.dark-theme .pagination li:before,.dark-theme .pagination li:after{background:#fff}.pagination li:before .active,.pagination li:after .active{width:100%}.pagination li:before{left:50%}.pagination li:after{right:50%}.pagination li:hover:before,.pagination li:hover:after{width:50%}.pagination li.active a{color:#000}.dark-theme .pagination li.active a{color:#fff}.pagination li.active:before,.pagination li.active:after{width:60%}.str{color:#ec7600}.kwd{color:#93c763}.com{color:#66747b}.typ{color:#678cb1}.lit{color:#facd22}.pun{color:#f1f2f3}.pln{color:#f1f2f3}.tag{color:#8ac763}.atn{color:#e0e2e4}.atv{color:#ec7600}.dec{color:purple}pre.prettyprint{border:0 solid #888}ol.linenums{margin-top:0;margin-bottom:0}.prettyprint{background:#000}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{color:#555;list-style-type:decimal}li.L1,li.L3,li.L5,li.L7,li.L9{background:#111}@media print{.str{color:#060}.kwd{color:#006;font-weight:700}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:700}.lit{color:#044}.pun{color:#440}.pln{color:#000}.tag{color:#006;font-weight:700}.atn{color:#404}.atv{color:#060}}@media only screen and (min-device-width:320px) and (max-device-width:480px){.navbar{display:none}.navbar-mobile{display:block!important;position:fixed;width:100%;z-index:100;transition:all .6s ease 0s}.navbar-mobile .container{padding:0;margin:0;height:5em;line-height:5.5em;background:#fff}.navbar-mobile .container .navbar-header{display:flex;justify-content:space-between;align-items:center;width:100%;padding-right:1em;padding-left:1em;box-sizing:border-box}.navbar-mobile .container .navbar-header .menu-toggle{cursor:pointer;line-height:5.5em}.navbar-mobile .container .navbar-header .menu-toggle span{display:block;background:#000;width:36px;height:2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-transition:.25s margin .25s,.25s transform;-moz-transition:.25s margin .25s,.25s transform;transition:.25s margin .25s,.25s transform}.dark-theme .navbar-mobile .container .navbar-header .menu-toggle span{background:#a9a9b3}.navbar-mobile .container .navbar-header .menu-toggle span:nth-child(1){margin-bottom:8px}.navbar-mobile .container .navbar-header .menu-toggle span:nth-child(3){margin-top:8px}.navbar-mobile .container .navbar-header .menu-toggle.active span{-webkit-transition:.25s margin,.25s transform .25s;-moz-transition:.25s margin,.25s transform .25s;transition:.25s margin,.25s transform .25s}.navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(1){-moz-transform:rotate(45deg) translate(4px,6px);-ms-transform:rotate(45deg) translate(4px,6px);-webkit-transform:rotate(45deg) translate(4px,6px);transform:rotate(45deg) translate(4px,6px)}.navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(2){opacity:0}.navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(3){-moz-transform:rotate(-45deg) translate(8px,-10px);-ms-transform:rotate(-45deg) translate(8px,-10px);-webkit-transform:rotate(-45deg) translate(8px,-10px);transform:rotate(-45deg) translate(8px,-10px)}.navbar-mobile .container .menu{text-align:center;background:#fff;border-top:2px solid #000;padding-top:1em;padding-bottom:1em;display:none;box-shadow:0 2px 4px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.1)}.navbar-mobile .container .menu a{display:block;line-height:2.5em}.navbar-mobile .container .menu.active{display:block}.dark-theme .navbar-mobile .container .menu{background:#292a2d;border-top:2px solid #87878d}.dark-theme .navbar-mobile .container{background:#292a2d!important}#dynamic-to-top{display:none!important}.footer{height:3rem;width:100%;text-align:center;line-height:1.5rem;padding-top:2em}.post-warp{padding-top:6em}.post-warp .archive-item-date{display:none}.post-warp .categories-card .card-item{width:95%}}@media only screen and (min-width:1224px){.navbar-mobile{display:none}}@media only screen and (min-width:1824px){} -------------------------------------------------------------------------------- /css/nprogress.css: -------------------------------------------------------------------------------- 1 | /* Make clicks pass-through */ 2 | #nprogress { 3 | pointer-events: none; 4 | } 5 | 6 | #nprogress .bar { 7 | background: #29d; 8 | 9 | position: fixed; 10 | z-index: 1031; 11 | top: 0; 12 | left: 0; 13 | 14 | width: 100%; 15 | height: 2px; 16 | } 17 | 18 | /* Fancy blur effect */ 19 | #nprogress .peg { 20 | display: block; 21 | position: absolute; 22 | right: 0px; 23 | width: 100px; 24 | height: 100%; 25 | box-shadow: 0 0 10px #29d, 0 0 5px #29d; 26 | opacity: 1.0; 27 | 28 | -webkit-transform: rotate(3deg) translate(0px, -4px); 29 | -ms-transform: rotate(3deg) translate(0px, -4px); 30 | transform: rotate(3deg) translate(0px, -4px); 31 | } 32 | 33 | /* Remove these to get rid of the spinner */ 34 | #nprogress .spinner { 35 | display: block; 36 | position: fixed; 37 | z-index: 1031; 38 | top: 15px; 39 | right: 15px; 40 | } 41 | 42 | #nprogress .spinner-icon { 43 | width: 18px; 44 | height: 18px; 45 | box-sizing: border-box; 46 | 47 | border: solid 2px transparent; 48 | border-top-color: #29d; 49 | border-left-color: #29d; 50 | border-radius: 50%; 51 | 52 | -webkit-animation: nprogress-spinner 400ms linear infinite; 53 | animation: nprogress-spinner 400ms linear infinite; 54 | } 55 | 56 | .nprogress-custom-parent { 57 | overflow: hidden; 58 | position: relative; 59 | } 60 | 61 | .nprogress-custom-parent #nprogress .spinner, 62 | .nprogress-custom-parent #nprogress .bar { 63 | position: absolute; 64 | } 65 | 66 | @-webkit-keyframes nprogress-spinner { 67 | 0% { -webkit-transform: rotate(0deg); } 68 | 100% { -webkit-transform: rotate(360deg); } 69 | } 70 | @keyframes nprogress-spinner { 71 | 0% { transform: rotate(0deg); } 72 | 100% { transform: rotate(360deg); } 73 | } 74 | 75 | -------------------------------------------------------------------------------- /css/pl.css: -------------------------------------------------------------------------------- 1 | 2 | .article,.page { 3 | width: 100%; 4 | min-height: calc(100vh); 5 | padding: 80px 20px 0; 6 | word-break: break-all; 7 | } 8 | .page-head-meta { 9 | text-align: center; 10 | } 11 | .respond input:focus,.respond textarea:focus{ 12 | outline:none; 13 | } 14 | .breadcrumb,.breadcrumb a,.baidu-record,.baidu-record a,.article-meta,.article-meta a,.page-title,.page-meta { 15 | color: #fff; 16 | } 17 | .breadcrumb,.baidu-record,.article-meta,.page-meta,.tags { 18 | font-family: icomoon; 19 | font-size: 12px; 20 | margin-top: 10px; 21 | } 22 | .page-title { 23 | font-size: 40px; 24 | } 25 | .baidu-record { 26 | display: inline-block; 27 | padding: 5px 10px; 28 | border-radius: 5px; 29 | background-color: #29d; 30 | transition: all .3s; 31 | } 32 | .baidu-record:hover { 33 | transform: scale(.95); 34 | } 35 | .article-meta { 36 | line-height: 2em; 37 | } 38 | .tags { 39 | padding-bottom: 10px; 40 | border-bottom: 1px dashed #fff; 41 | } 42 | .tags a { 43 | display: inline-block; 44 | font-weight: 700; 45 | padding: 5px 15px; 46 | margin: 0 5px 5px; 47 | border-radius: 25px; 48 | transition: all .3s; 49 | } 50 | .tags a:hover { 51 | transform: translateY(-3px); 52 | box-shadow: 0 0 5px; 53 | } 54 | .tags a:before { 55 | content: '\e9db'; 56 | } 57 | .tag-color1 { 58 | background-color: rgba(255, 189, 41, .2); 59 | color: rgb(255, 189, 41); 60 | } 61 | .tag-color2 { 62 | background-color: rgba(35, 171, 251, .2); 63 | color: rgb(35, 171, 251); 64 | } 65 | .tag-color3 { 66 | background-color: rgba(251, 35, 185, .2); 67 | color: rgb(251, 35, 185); 68 | } 69 | .tag-color4 { 70 | background-color: rgba(255, 112, 112, .2); 71 | color: rgb(255, 112, 112); 72 | } 73 | .tag-color5 { 74 | background-color: rgba(44, 204, 204, .2); 75 | color: rgb(44, 204, 204); 76 | } 77 | .tag-color6 { 78 | background-color: rgba(217, 65, 255, .2); 79 | color: rgb(217, 65, 255); 80 | } 81 | .tag-color7 { 82 | background-color: rgba(255, 64, 73, .2); 83 | color: rgb(255, 64, 73); 84 | } 85 | .tag-color8 { 86 | background-color: rgba(28, 137, 249, .2); 87 | color: rgb(28, 137, 249); 88 | } 89 | .tag-color9 { 90 | background-color: rgba(81, 206, 40, .2); 91 | color: rgb(81, 206, 40); 92 | } 93 | .tag-color10 { 94 | background-color: rgba(239, 78, 78, .2); 95 | color: rgb(239, 78, 78); 96 | } 97 | .article-content,.page-content { 98 | font-size: 14px; 99 | color: #fff; 100 | margin: 50px 0; 101 | } 102 | .appreciate-btn { 103 | height: 30px; 104 | width: 80px; 105 | line-height: 30px; 106 | text-align: center; 107 | color: #ff4d4d; 108 | font-family: icomoon; 109 | font-size: 12px; 110 | font-weight: 700; 111 | margin: 15px auto; 112 | border-radius: 5px 15px; 113 | background-color: #ffdddd; 114 | cursor: url(../mouse/link.cur), pointer; 115 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 116 | transition: all .2s; 117 | } 118 | .appreciate-btn:hover { 119 | border-radius: 15px 5px; 120 | } 121 | .article-copyright-info { 122 | font-size: 12px; 123 | line-height: 1.5em; 124 | padding: 20px; 125 | color: #000; 126 | background-color: rgba(255, 255, 255, .5); 127 | border-left: 2px solid #008fe4; 128 | border-radius: 5px; 129 | } 130 | .article-copyright-info a { 131 | color: #b10026; 132 | position: relative; 133 | } 134 | .article-copyright-info a:after { 135 | content: ''; 136 | position: absolute; 137 | bottom: -2px; 138 | left: 0; 139 | width: 0; 140 | height: 2px; 141 | background-color: #000; 142 | transition: all .2s; 143 | } 144 | .article-copyright-info a:hover:after { 145 | width: 100%; 146 | } 147 | 148 | /*评论部分样式*/ 149 | .comment ol{ 150 | list-style: none; 151 | margin: 0px; 152 | padding: 0px; 153 | } 154 | #comment-form { 155 | margin: 50px 0; 156 | } 157 | .comment-form-all { 158 | width: 100%; 159 | color: #fff; 160 | font-size: 12px; 161 | overflow: hidden; 162 | } 163 | .comment-form-all a { 164 | color: #fff; 165 | } 166 | .comment-form-meta { 167 | text-align: center; 168 | } 169 | .comment-form-meta input { 170 | width: 30%; 171 | color: #000; 172 | margin: 5px 0; 173 | padding: 5px 0 5px 15px; 174 | border: 1px dashed #bbb; 175 | border-radius: 5px; 176 | background-color: rgba(255, 255, 255, 0); 177 | transition: all .3s linear; 178 | } 179 | .comment-form-meta input::-webkit-input-placeholder { 180 | color: #fff; 181 | } 182 | .comment-form-meta input:focus { 183 | border-bottom: 1px dashed #0095ff; 184 | } 185 | .comment-form-all .textarea { 186 | width: 100%; 187 | resize: none; 188 | border: 1px dashed #bbb; 189 | padding: 15px; 190 | margin: 5px 0; 191 | border-radius: 5px; 192 | background-color: rgba(255, 255, 255, .7); 193 | box-sizing: border-box; 194 | } 195 | .comment-form-all .textarea::-webkit-input-placeholder { 196 | color: #0e0e0e; 197 | } 198 | .submit-box { 199 | overflow: hidden; 200 | } 201 | .submit-box input,.submit-box span { 202 | float: right; 203 | margin-right: 10px; 204 | height: 30px; 205 | line-height: 30px; 206 | } 207 | .submit-box input { 208 | width: 50px; 209 | border: none; 210 | border-bottom: 1px dashed #fff; 211 | padding-left: 10px; 212 | color: #fff; 213 | background-color: rgba(000, 000, 000, .2); 214 | } 215 | .submit-box .submit { 216 | font-family: icomoon; 217 | float: right; 218 | height: 30px; 219 | padding: 0 15px; 220 | color: #000; 221 | background-color: rgba(000, 000, 000, .2); 222 | border-radius: 0 15px; 223 | border: none; 224 | cursor: url(../mouse/link.cur), pointer; 225 | transition: all .3s; 226 | } 227 | .submit-box .submit:hover { 228 | color: #ffeb3b; 229 | border-radius: 15px 0; 230 | } 231 | .comment>h3,#comments>h3 { 232 | color: #fff; 233 | font-size: 14px; 234 | margin: 50px 0; 235 | } 236 | .comment-list,.comment-list a { 237 | color: #fff; 238 | } 239 | .comment-parent { 240 | margin: 10px 0; 241 | padding: 10px; 242 | border-radius: 5px; 243 | background-color: rgba(255, 255, 255, .5); 244 | transition: all .2s; 245 | } 246 | .comment-parent:hover { 247 | background-color: rgba(255, 255, 255, .4); 248 | } 249 | .comment-author { 250 | font-size: 12px; 251 | margin: 15px 0; 252 | overflow: hidden; 253 | } 254 | .comment-author .avatar { 255 | float: left; 256 | margin-right: 10px; 257 | border-radius: 5px; 258 | } 259 | .awaiting { 260 | color: #fa0237; 261 | } 262 | .comment-body>div>p { 263 | font-size: 12px; 264 | margin-left: 50px; 265 | line-height: 30px; 266 | } 267 | .comment-by-author>div>.comment-author>a { 268 | color: #ff8d00; 269 | font-weight: 700; 270 | } 271 | .comment-by-author>div>.comment-author>a:after { 272 | content: "站长"; 273 | color: #fff; 274 | border-radius: 5px; 275 | padding: 0 5px; 276 | margin-left: 5px; 277 | background-color: #000; 278 | } 279 | .comment-reply,.cancel-comment-reply { 280 | float: right; 281 | font-size: 12px; 282 | } 283 | .comment-reply a,.cancel-comment-reply a { 284 | font-weight: 700; 285 | transition: all .3s; 286 | } 287 | .comment-reply a:hover,.cancel-comment-reply a:hover { 288 | color: #FF9800; 289 | } 290 | .cancel-comment-reply { 291 | margin-bottom: 10px; 292 | } 293 | .comment-children { 294 | margin-left: 50px; 295 | } 296 | .comment-page { 297 | padding: 50px 0; 298 | } 299 | 300 | .comment-parent:hover{ 301 | background-color: rgba(000,000,000,.3); 302 | } 303 | .dark-theme .comment-form-meta input { 304 | color: #ddd; 305 | background-color: rgba(255, 255, 255, 0); 306 | } 307 | .dark-theme .comment-form-all .textarea{ 308 | border: none; 309 | } 310 | 311 | .dark-theme .comment-parent a, 312 | .dark-theme .comment-parent p, 313 | .dark-theme .comment-parent, 314 | .dark-theme .comment-parent span{ 315 | color: #fff; 316 | } 317 | .comment-parent a, 318 | .comment-parent p, 319 | .comment-parent, 320 | .comment-parent span{ 321 | color: #000; 322 | } -------------------------------------------------------------------------------- /fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/iconfont.eot -------------------------------------------------------------------------------- /fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/iconfont.ttf -------------------------------------------------------------------------------- /fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/iconfont.woff -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_bzf3g3d_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_bzf3g3d_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_bzf3gbd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_bzf3gbd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_bzf3gfd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_bzf3gfd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_bzf3gnd_g.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_bzf3gnd_g.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_bzf3gtd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_bzf3gtd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_c5h3g3d_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_c5h3g3d_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_c5h3gbd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_c5h3gbd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_c5h3gfd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_c5h3gfd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_c5h3gnd_g.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_c5h3gnd_g.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_c5h3gtd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_c5h3gtd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_dje3g3d_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_dje3g3d_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_dje3gbd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_dje3gbd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_dje3gfd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_dje3gfd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_dje3gnd_g.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_dje3gnd_g.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_dje3gtd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_dje3gtd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_zpc3g3d_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_zpc3g3d_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_zpc3gbd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_zpc3gbd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_zpc3gfd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_zpc3gfd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_zpc3gnd_g.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_zpc3gnd_g.woff2 -------------------------------------------------------------------------------- /fonts/jturjig1_i6t8kchkm45_zpc3gtd_u50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jturjig1_i6t8kchkm45_zpc3gtd_u50.woff2 -------------------------------------------------------------------------------- /fonts/jtusjig1_i6t8kchkm459w1hyzbi.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jtusjig1_i6t8kchkm459w1hyzbi.woff2 -------------------------------------------------------------------------------- /fonts/jtusjig1_i6t8kchkm459wdhyzbi.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jtusjig1_i6t8kchkm459wdhyzbi.woff2 -------------------------------------------------------------------------------- /fonts/jtusjig1_i6t8kchkm459wlhyw.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jtusjig1_i6t8kchkm459wlhyw.woff2 -------------------------------------------------------------------------------- /fonts/jtusjig1_i6t8kchkm459wrhyzbi.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jtusjig1_i6t8kchkm459wrhyzbi.woff2 -------------------------------------------------------------------------------- /fonts/jtusjig1_i6t8kchkm459wzhyzbi.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/jtusjig1_i6t8kchkm459wzhyzbi.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfabc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfabc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfbbc4.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfbbc4.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfbxc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfbxc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfcbc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfcbc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfchc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfchc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfcrc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfcrc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfolcnqeu92fr1mmyutfcxc4esa.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfolcnqeu92fr1mmyutfcxc4esa.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu4mxk.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu4mxk.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu4wxkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu4wxkozy.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu5mxkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu5mxkozy.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu72xkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu72xkozy.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu7gxkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu7gxkozy.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu7mxkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu7mxkozy.woff2 -------------------------------------------------------------------------------- /fonts/kfomcnqeu92fr1mu7wxkozy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/kfomcnqeu92fr1mu7wxkozy.woff2 -------------------------------------------------------------------------------- /fonts/lg.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/lg.eot -------------------------------------------------------------------------------- /fonts/lg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | { 8 | "fontFamily": "lg", 9 | "majorVersion": 1, 10 | "minorVersion": 0, 11 | "fontURL": "https://github.com/sachinchoolur/lightGallery", 12 | "copyright": "sachin", 13 | "license": "MLT", 14 | "licenseURL": "http://opensource.org/licenses/MIT", 15 | "version": "Version 1.0", 16 | "fontId": "lg", 17 | "psName": "lg", 18 | "subFamily": "Regular", 19 | "fullName": "lg", 20 | "description": "Font generated by IcoMoon." 21 | } 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /fonts/lg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/lg.ttf -------------------------------------------------------------------------------- /fonts/lg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/lg.woff -------------------------------------------------------------------------------- /fonts/s6u8w4bmutphh30aui-qjcy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u8w4bmutphh30aui-qjcy.woff2 -------------------------------------------------------------------------------- /fonts/s6u8w4bmutphh30axc-q.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u8w4bmutphh30axc-q.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh50xswapgr_p.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh50xswapgr_p.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh50xswipgq.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh50xswipgq.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh6uvswapgr_p.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh6uvswapgr_p.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh6uvswipgq.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh6uvswipgq.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh7usswapgr_p.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh7usswapgr_p.woff2 -------------------------------------------------------------------------------- /fonts/s6u9w4bmutphh7usswipgq.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6u9w4bmutphh7usswipgq.woff2 -------------------------------------------------------------------------------- /fonts/s6uyw4bmutphjx4wxg.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6uyw4bmutphjx4wxg.woff2 -------------------------------------------------------------------------------- /fonts/s6uyw4bmutphjxawxjeu.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/fonts/s6uyw4bmutphjxawxjeu.woff2 -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 4 | 14 | 15 | 16 | 17 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | addInput($HomeImg); 14 | $form->addInput($HomeTitle); 15 | $form->addInput($Icp); 16 | /*$form->addInput($TimeStatistics);*/ 17 | $form->addInput($Custom_css); 18 | /*$form->addInput($QR_code_zfb); 19 | $form->addInput($QR_code_wx);*/ 20 | } 21 | 22 | // 自定义字段 23 | function themeFields($layout) { 24 | $ArticleHeadMap = new Typecho_Widget_Helper_Form_Element_Text('ArticleHeadMap', NULL, NULL, _t('自定义文章头图'), _t('输入图片地址(仅风格一有效),不填则从文章找,文章没有则随机')); 25 | $OriginalLink = new Typecho_Widget_Helper_Form_Element_Text('OriginalLink', NULL, NULL, _t('原文链接'), _t('填入完整链接,会在文章底部版权声明处显示')); 26 | $layout->addItem($ArticleHeadMap); 27 | $layout->addItem($OriginalLink); 28 | } 29 | 30 | // 文章阅读次数统计 31 | function get_post_view($archive) { 32 | $cid = $archive->cid; 33 | $db = Typecho_Db::get(); 34 | $prefix = $db->getPrefix(); 35 | if (!array_key_exists('views', $db->fetchRow($db->select()->from('table.contents')))) { 36 | $db->query('ALTER TABLE `' . $prefix . 'contents` ADD `views` INT(10) DEFAULT 0;'); 37 | echo 0; 38 | return; 39 | } 40 | $row = $db->fetchRow($db->select('views')->from('table.contents')->where('cid = ?', $cid)); 41 | if ($archive->is('single')) { 42 | $views = Typecho_Cookie::get('extend_contents_views'); 43 | if (empty($views)) { 44 | $views = array(); 45 | } else { 46 | $views = explode(',', $views); 47 | } 48 | if (!in_array($cid, $views)) { 49 | $db->query($db->update('table.contents')->rows(array('views' => (int) $row['views'] + 1))->where('cid = ?', $cid)); 50 | array_push($views, $cid); 51 | $views = implode(',', $views); 52 | Typecho_Cookie::set('extend_contents_views', $views); //记录查看cookie 53 | } 54 | } 55 | echo $row['views']; 56 | } 57 | 58 | // 获取文章缩略图 59 | function img_postthumb($cid) { 60 | $db = Typecho_Db::get(); 61 | $rs = $db->fetchRow($db->select('table.contents.text') 62 | ->from('table.contents') 63 | ->where('table.contents.cid=?', $cid) 64 | ->order('table.contents.cid', Typecho_Db::SORT_ASC) 65 | ->limit(1)); 66 | preg_match_all("/\]*>/i", $rs['text'], $thumbUrl); //通过正则式获取图片地址 67 | $img_src = $thumbUrl[1][0]; //将赋值给img_src 68 | $img_counter = count($thumbUrl[0]); //一个src地址的计数器 69 | 70 | switch ($img_counter > 0) { 71 | case $allPics = 1: 72 | echo 'url(' . $img_src . ');'; //当找到一个src地址的时候,输出缩略图 73 | break; 74 | default: 75 | // echo '/usr/themes/Destiny/images/' . rand(1, 3) . "-min.png"; //没找到(默认情况下),随机输出 76 | $GradientBackground = array("#4587ff, #88d3ff", "#fc4a1a, #f7b733", "#ff4217, #ffbc25", "#2d2201, #777777", "#7713fb, #a56dff", "#e2025f, #fd9595"); 77 | echo 'linear-gradient(90deg, ' . $GradientBackground[rand(0, 5)] . ');'; 78 | }; 79 | } 80 | 81 | // 判断内容页是否百度收录 82 | 83 | function baidu_record() { 84 | $url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 85 | if (strpos($url, '?_pjax')) { 86 | $url = substr($url, 0, strpos($url, '?_pjax')); 87 | }; 88 | if (checkBaidu($url) == 1) { 89 | echo "百度已收录"; 90 | } else { 91 | echo "百度未收录"; 92 | }; 93 | } 94 | function checkBaidu($url) { 95 | $url = 'http://www.baidu.com/s?wd=' . urlencode($url); 96 | $curl = curl_init(); 97 | curl_setopt($curl, CURLOPT_URL, $url); 98 | curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); 99 | $rs = curl_exec($curl); 100 | curl_close($curl); 101 | if (!strpos($rs, '没有找到')) { //没有找到说明已被百度收录 102 | return 1; 103 | } else { 104 | return -1; 105 | }; 106 | } -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | <?php if ($this->is('index')): ?><?php if ($this->options->SiteSubtitle): ?><?php $this->options->title(); ?> - <?php $this->options->SiteSubtitle(); ?><?php else: ?><?php $this->options->title(); ?><?php endif; ?><?php else: ?><?php $this->archiveTitle(array('category' => _t('分类 %s 下的文章'),'search' => _t('包含关键字 %s 的文章'),'tag' => _t('标签 %s 下的文章'),'author' => _t('%s 发布的文章')), '', ' - '); ?><?php $this->options->title(); ?><?php endif; ?> 10 | header(); ?> 11 | 12 | 13 | 14 | 15 | options->Custom_css): ?> 16 | 17 | 20 | 21 | 22 | 23 |
    24 | 40 | 58 |
    59 |
    -------------------------------------------------------------------------------- /images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/images/loading.gif -------------------------------------------------------------------------------- /images/one.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 故人西辞黄鹤楼,烟花三月下扬州。 5 | 6 | -------------------------------------------------------------------------------- /img/icon-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/img/icon-search.png -------------------------------------------------------------------------------- /img/icon-search@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/img/icon-search@2x.png -------------------------------------------------------------------------------- /index-page.php: -------------------------------------------------------------------------------- 1 | need('header.php'); 9 | ?> 10 |
    11 |
    12 | 13 |
    14 |

    options->HomeTitle(); ?>

    15 | 21 |
    22 | need('sidebar.php'); ?> 23 | need('footer.php'); ?> -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | need('header.php'); 11 | ?> 12 |
    13 |

    - 文章归档 -

    14 | have()): ?> 15 | next()): ?> 16 | 20 | 21 | 暂无文章 22 |
      23 |
    • pageLink('下一页','next'); ?>
    • 24 |
    • pageLink('上一页'); ?>
    • 25 |
    26 |
    27 | 28 | need('sidebar.php'); ?> 29 | need('footer.php'); ?> 30 | -------------------------------------------------------------------------------- /js/1a8f7b3ed5da49b59f465e8fbf83e1a7.js: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2012 Google Inc. All rights reserved. 3 | (function(){ 4 | 5 | var data = { 6 | "resource": { 7 | "version":"1", 8 | 9 | "macros":[], 10 | "tags":[], 11 | "predicates":[], 12 | "rules":[] 13 | }, 14 | "runtime":[ 15 | [],[] 16 | ] 17 | 18 | 19 | 20 | }; 21 | var aa,ca=this||self,da=/^[\w+/_-]+[=]{0,2}$/,ea=null;var fa=function(){},ha=function(a){return"function"==typeof a},ia=function(a){return"string"==typeof a},ja=function(a){return"number"==typeof a&&!isNaN(a)},ka=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},la=function(a,b){if(Array.prototype.indexOf){var c=a.indexOf(b);return"number"==typeof c?c:-1}for(var d=0;db)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},qa=function(a,b){for(var c=new pa,d=0;d"+a+"
    ";b=b.lastChild;for(var c=[];b.firstChild;)c.push(b.removeChild(b.firstChild));return c},Ya=function(a,b,c){c=c||100;for(var d={},e=0;ec?a.href:a.href.substr(0,c)}return b}, 34 | jb=function(a){var b=C.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||bb("TAGGING",1),c="/"+c);var d=b.hostname.replace(db,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}};var kb=function(a,b,c){for(var d=[],e=String(b||document.cookie).split(";"),g=0;gb)){var c=a.substring(0,b);if(Cc.test(c)){for(var d=a.substring(b+1).split("/"),e=0;e=ad--?(bb("GTM",1),Zc[Wc]=!0):($c.Hg(),Pa(bd()),Xc[Wc]=!0,Yc=""))},bd=function(){var a=Wc;if(void 0===a)return"";var b=cb("GTM"),c=cb("TAGGING");return[dd,Xc[a]?"":"&es=1",ed[a],b?"&u="+b:"",c?"&ut="+c:"",Uc(),Yc,"&z=0"].join("")},fd=function(){return[Qc,"&v=3&t=t","&pid="+oa(),"&rv="+Hc.Ab].join("")},gd="0.005000"> 52 | Math.random(),dd=fd(),hd=function(){dd=fd()},Xc={},Yc="",Wc=void 0,ed={},Zc={},Vc=void 0,$c=function(a,b){var c=0,d=0;return{mg:function(){if(c=b&&(c=0);return c>=a},Hg:function(){wa()-d>=b&&(c=0);c++;d=wa()}}}(2,1E3),ad=1E3,id=function(a,b){if(gd&&!Zc[a]&&Wc!==a){cd();Wc=a;Yc="";var c;c=0===b.indexOf("gtm.")?encodeURIComponent(b):"*";ed[a]="&e="+c+"&eid="+a;Vc||(Vc=u.setTimeout(cd,500))}},jd=function(a,b,c){if(gd&&!Zc[a]&&b){a!==Wc&&(cd(),Wc=a);var d=String(b[fc.ka]||"").replace(/_/g, 53 | "");0===d.indexOf("cvt")&&(d="cvt");var e=c+d;Yc=Yc?Yc+"."+e:"&tr="+e;Vc||(Vc=u.setTimeout(cd,500));2022<=bd().length&&cd()}};var kd={},ld=new pa,md={},nd={},rd={name:"dataLayer",set:function(a,b){f(od(a,b),md);pd()},get:function(a){return qd(a,2)},reset:function(){ld=new pa;md={};pd()}},qd=function(a,b){if(2!=b){var c=ld.get(a);if(gd){var d=sd(a);c!==d&&bb("GTM",5)}return c}return sd(a)},sd=function(a,b,c){var d=a.split("."),e=!1,g=void 0;var h=function(k,l){for(var m=0;void 0!==k&&mk;k++){var l=h[k].src;if(l){l=l.toLowerCase();if(0===l.indexOf(e)){b=3;break a}1===g&&0===l.indexOf(d)&&(g=2)}}b=g}else b=a;return b}; 57 | var Dd=function(a,b,c){if(u[a.functionName])return b.Kc&&D(b.Kc),u[a.functionName];var d=Cd();u[a.functionName]=d;if(a.Cb)for(var e=0;ela(c,k))if(l&&0 64 | la(c,l[p])){bb("GTM",11);n=!1;break a}}else{n=!1;break a}n=!0}m=n}var t=!1;if(d){var q=0<=la(e,k);if(q)t=q;else{var r=qa(e,l||[]);r&&bb("GTM",10);t=r}}var v=!m||t;v||!(0<=la(l,"sandboxedScripts"))||c&&-1!==la(c,"sandboxedScripts")||(v=qa(e,Sd));return g[k]=v}},Td=function(){return Pd.test(u.location&&u.location.hostname)};var Vd={Gf:function(a,b){b[fc.ed]&&"string"===typeof a&&(a=1==b[fc.ed]?a.toLowerCase():a.toUpperCase());b.hasOwnProperty(fc.gd)&&null===a&&(a=b[fc.gd]);b.hasOwnProperty(fc.jd)&&void 0===a&&(a=b[fc.jd]);b.hasOwnProperty(fc.hd)&&!0===a&&(a=b[fc.hd]);b.hasOwnProperty(fc.fd)&&!1===a&&(a=b[fc.fd]);return a}};var Wd={active:!0,isWhitelisted:function(){return!0}},Xd=function(a){var b=Ic.zones;!b&&a&&(b=Ic.zones=a());return b};var Yd=!1,Zd=0,$d=[];function ae(a){if(!Yd){var b=C.createEventObject,c="complete"==C.readyState,d="interactive"==C.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){Yd=!0;for(var e=0;e<$d.length;e++)D($d[e])}$d.push=function(){for(var g=0;gZd){Zd++;try{C.documentElement.doScroll("left"),ae()}catch(a){u.setTimeout(be,50)}}}var ce=function(a){Yd?a():$d.push(a)};var de={},ee={},fe=function(a,b,c,d){if(!ee[a]||Kc[b]||"__zone"===b)return-1;var e={};Ha(d)&&(e=f(d,e));e.id=c;e.status="timeout";return ee[a].tags.push(e)-1},ge=function(a,b,c,d){if(ee[a]){var e=ee[a].tags[b];e&&(e.status=c,e.executionTime=d)}};function he(a){for(var b=de[a]||[],c=0;c=c&&he(a)})},qf:function(){d=!0;b>=c&&he(a)}}};var le=function(){function a(d){return!ja(d)||0>d?0:d}if(!Ic._li&&u.performance&&u.performance.timing){var b=u.performance.timing.navigationStart,c=ja(rd.get("gtm.start"))?rd.get("gtm.start"):0;Ic._li={cst:a(c-b),cbt:a(Oc-b)}}};var pe=!1,qe=function(){return u.GoogleAnalyticsObject&&u[u.GoogleAnalyticsObject]},re=!1; 66 | var se=function(a){u.GoogleAnalyticsObject||(u.GoogleAnalyticsObject=a||"ga");var b=u.GoogleAnalyticsObject;if(u[b])u.hasOwnProperty(b)||bb("GTM",12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(new Date);u[b]=c}le();return u[b]},te=function(a,b,c,d){b=String(b).replace(/\s+/g,"").split(",");var e=qe();e(a+"require","linker");e(a+"linker:autoLink",b,c,d)}; 67 | var ve=function(){},ue=function(){return u.GoogleAnalyticsObject||"ga"};var Ce=function(a){};function Be(a,b){a.containerId=Hc.i;var c={type:"GENERIC",value:a};b.length&&(c.trace=b);return c};function De(a,b,c,d){var e=Tb[a],g=Ee(a,b,c,d);if(!g)return null;var h=bc(e[fc.Dd],c,[]);if(h&&h.length){var k=h[0];g=De(k.index,{I:g,S:1===k.Nd?b.terminate:g,terminate:b.terminate},c,d)}return g} 68 | function Ee(a,b,c,d){function e(){if(g[fc.We])k();else{var w=cc(g,c,[]),x=fe(c.id,String(g[fc.ka]),Number(g[fc.Ed]),w[fc.Xe]),y=!1;w.vtp_gtmOnSuccess=function(){if(!y){y=!0;var A=wa()-B;jd(c.id,Tb[a],"5");ge(c.id,x,"success",A);h()}};w.vtp_gtmOnFailure=function(){if(!y){y=!0;var A=wa()-B;jd(c.id,Tb[a],"6");ge(c.id,x,"failure",A);k()}};w.vtp_gtmTagId=g.tag_id; 69 | w.vtp_gtmEventId=c.id;jd(c.id,g,"1");var z=function(A){var E=wa()-B;Ce(A);jd(c.id,g,"7");ge(c.id,x,"exception",E);y||(y=!0,k())};var B=wa();try{ac(w,c)}catch(A){z(A)}}}var g=Tb[a],h=b.I,k=b.S,l=b.terminate;if(c.Cc(g))return null;var m=bc(g[fc.Fd],c,[]);if(m&&m.length){var n=m[0],p=De(n.index,{I:h,S:k,terminate:l},c,d);if(!p)return null;h=p;k=2===n.Nd?l:p}if(g[fc.Cd]||g[fc.Ye]){var t=g[fc.Cd]?Ub:c.Rg,q=h,r=k;if(!t[a]){e=ya(e);var v=Fe(a,t,e);h=v.I;k=v.S}return function(){t[a](q,r)}}return e} 70 | function Fe(a,b,c){var d=[],e=[];b[a]=Ge(d,e,c);return{I:function(){b[a]=He;for(var g=0;ge?1:dk?1:ha.length||!ia(a[1])||!Ha(b))return;var c=Ec(a[1]);if(!c)return;ef()?(ff(c),jf(c)):hf();gf(c.id);var d=c.id,e=b[G.fc]||"default";e=e.toString().split(",");for(var g=0;g>21:d;return[Math.round(2147483647*Math.random())^d&2147483647,Math.round(wa()/1E3)].join(".")},rg=function(a,b,c,d){var e=pg(b);return nb(a,e,qg(c),d)},sg=function(a,b,c,d){var e=""+pg(c),g=qg(d);1>2,m=(g&3)<<4|h>>4,n=(h&15)<<2|k>>6,p=k&63;e||(p=64,d||(n=64));b.push(Bg[l],Bg[m],Bg[n],Bg[p])}return b.join("")},Fg=function(a){function b(l){for(;d>4);64!=h&&(c+=String.fromCharCode(g<<4&240|h>>2),64!=k&&(c+=String.fromCharCode(h<<6&192|k)))}};var Gg;function Hg(a,b){if(!a||b===C.location.hostname)return!1;for(var c=0;cg;g++){for(var h=g,k=0;8>k;k++)h=h&1?h>>>1^3988292384:h>>>1;e[g]=h}d=e}Gg=d;for(var l=4294967295,m=0;m>>8^Gg[(l^c.charCodeAt(m))&255];return((l^-1)>>>0).toString(36)},Ug=function(){return function(a){var b=jb(u.location.href),c=b.search.replace("?",""),d=eb(c,"_gl",!0)||"";a.query=Tg(d)||{};var e=ib(b,"fragment").match(Qg);a.fragment=Tg(e&&e[3]|| 97 | "")||{}}},Vg=function(){var a=Ug(),b=Kg();b.data||(b.data={query:{},fragment:{}},a(b.data));var c={},d=b.data;d&&(za(c,d.query),za(c,d.fragment));return c},Tg=function(a){var b;b=void 0===b?3:b;try{if(a){var c;a:{for(var d=a,e=0;3>e;++e){var g=Mg.exec(d);if(g){c=g;break a}d=decodeURIComponent(d)}c=void 0}var h=c;if(h&&"1"===h[1]){var k=h[3],l;a:{for(var m=h[2],n=0;nq){t=!0;break b}t=!1}t||sb(m,n,c,d,0==e?void 0:new Date(p+1E3*(null==e?7776E3:e)),!0)}}}var w={prefix:b,path:c,domain:d};jh(hh(g.gclid,g.gclsrc),w);},Bi=function(a,b,c,d,e){nh(a,b,c,d,e);},Ci=function(a,b){if(Ad()){ 119 | b&&D(b)}else Oa(a,b)},Di=function(a){return!!ng(a,"init",!1)},Ei=function(a){lg(a,"init",!0)},Fi=function(a,b,c){var d=(void 0===c?0:c)?"www.googletagmanager.com/gtag/js":Mc;d+="?id="+encodeURIComponent(a)+"&l=dataLayer";b&&ra(b,function(e,g){g&&(d+="&"+e+"="+encodeURIComponent(g))});L(H("https://","http://",d))},Gi=function(a,b){var c=a[b];return c};var Hi=function(a,b,c,d,e,g){var h={config:a,gtm:zh()};c&&(yg(d,void 0,e,g),h.auiddc=ug[vg(d)]);b&&(h.loadInsecure=b);M("__dc_ns_processor",[]).push(h);L((b?"http":"https")+"://www.googletagmanager.com/dclk/ns/v1.js")}; 120 | var Ii=gg.og; 121 | var Ji=new pa,Ki=function(a,b){function c(h){var k=jb(h),l=ib(k,"protocol"),m=ib(k,"host",!0),n=ib(k,"port"),p=ib(k,"path").toLowerCase().replace(/\/$/,"");if(void 0===l||"http"==l&&"80"==n||"https"==l&&"443"==n)l="web",n="default";return[l,m,n,p]}for(var d=c(String(a)),e=c(String(b)),g=0;g=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":var n;n=String(b).split(","); 123 | return 0<=la(n,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)la(P,G.nb)&&(B.cookieName=Z+"_ga")}var ba=String(Pc);m(B,"cookieDomain","auto");m(z,"forceSSL",!0);var Ca="general";0<=la("add_payment_info add_to_cart add_to_wishlist begin_checkout checkout_progress purchase refund remove_from_cart set_checkout_option".split(" "),ba)?Ca="ecommerce":0<=la("generate_lead login search select_content share sign_up view_item view_item_list view_promotion view_search_results".split(" "),ba)?Ca="engagement":"exception"==ba&&(Ca="error");m(y,"eventCategory",Ca);0<=la(["view_item", 170 | "view_item_list","view_promotion","view_search_results"],ba)&&m(z,"nonInteraction",!0);"login"==ba||"sign_up"==ba||"share"==ba?m(y,"eventLabel",vd(G.Le,v)):"search"==ba||"view_search_results"==ba?m(y,"eventLabel",vd(G.Re,v)):"select_content"==ba&&m(y,"eventLabel",vd(G.Ae,v));var R=y[G.ia]||{},O=R[G.Pa];O||0!=O&&R[G.B]?B.allowLinker=!0:!1===O&&m(B,"useAmpClientId",!1);if(!1===vd(G.ye,v)||!1===vd(G.N,v))z.allowAdFeatures=!1;B.name=w;z[">m"]=zh(!0);z.hitCallback=x;var na=vd("_x_19",v)||vi("gtag.remote_config."+ 171 | v+".url"),Ta=vd("_x_20",v)||vi("gtag.remote_config."+v+".dualId");na&&(B._x_19=na);Ta&&(B._x_20=Ta);y.ca=z;y.Ba=B;return y},p=function(v){function w(J){var P=f(J);P.list=J.list_name;P.listPosition=J.list_position;P.position=J.list_position||J.creative_slot;P.creative=J.creative_name;return P}function x(J){for(var P=[],U=0;J&&U
    ' 32 | }; 33 | 34 | /** 35 | * Updates configuration. 36 | * 37 | * NProgress.configure({ 38 | * minimum: 0.1 39 | * }); 40 | */ 41 | NProgress.configure = function(options) { 42 | var key, value; 43 | for (key in options) { 44 | value = options[key]; 45 | if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value; 46 | } 47 | 48 | return this; 49 | }; 50 | 51 | /** 52 | * Last number. 53 | */ 54 | 55 | NProgress.status = null; 56 | 57 | /** 58 | * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. 59 | * 60 | * NProgress.set(0.4); 61 | * NProgress.set(1.0); 62 | */ 63 | 64 | NProgress.set = function(n) { 65 | var started = NProgress.isStarted(); 66 | 67 | n = clamp(n, Settings.minimum, 1); 68 | NProgress.status = (n === 1 ? null : n); 69 | 70 | var progress = NProgress.render(!started), 71 | bar = progress.querySelector(Settings.barSelector), 72 | speed = Settings.speed, 73 | ease = Settings.easing; 74 | 75 | progress.offsetWidth; /* Repaint */ 76 | 77 | queue(function(next) { 78 | // Set positionUsing if it hasn't already been set 79 | if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS(); 80 | 81 | // Add transition 82 | css(bar, barPositionCSS(n, speed, ease)); 83 | 84 | if (n === 1) { 85 | // Fade out 86 | css(progress, { 87 | transition: 'none', 88 | opacity: 1 89 | }); 90 | progress.offsetWidth; /* Repaint */ 91 | 92 | setTimeout(function() { 93 | css(progress, { 94 | transition: 'all ' + speed + 'ms linear', 95 | opacity: 0 96 | }); 97 | setTimeout(function() { 98 | NProgress.remove(); 99 | next(); 100 | }, speed); 101 | }, speed); 102 | } else { 103 | setTimeout(next, speed); 104 | } 105 | }); 106 | 107 | return this; 108 | }; 109 | 110 | NProgress.isStarted = function() { 111 | return typeof NProgress.status === 'number'; 112 | }; 113 | 114 | /** 115 | * Shows the progress bar. 116 | * This is the same as setting the status to 0%, except that it doesn't go backwards. 117 | * 118 | * NProgress.start(); 119 | * 120 | */ 121 | NProgress.start = function() { 122 | if (!NProgress.status) NProgress.set(0); 123 | 124 | var work = function() { 125 | setTimeout(function() { 126 | if (!NProgress.status) return; 127 | NProgress.trickle(); 128 | work(); 129 | }, Settings.trickleSpeed); 130 | }; 131 | 132 | if (Settings.trickle) work(); 133 | 134 | return this; 135 | }; 136 | 137 | /** 138 | * Hides the progress bar. 139 | * This is the *sort of* the same as setting the status to 100%, with the 140 | * difference being `done()` makes some placebo effect of some realistic motion. 141 | * 142 | * NProgress.done(); 143 | * 144 | * If `true` is passed, it will show the progress bar even if its hidden. 145 | * 146 | * NProgress.done(true); 147 | */ 148 | 149 | NProgress.done = function(force) { 150 | if (!force && !NProgress.status) return this; 151 | 152 | return NProgress.inc(0.3 + 0.5 * Math.random()).set(1); 153 | }; 154 | 155 | /** 156 | * Increments by a random amount. 157 | */ 158 | 159 | NProgress.inc = function(amount) { 160 | var n = NProgress.status; 161 | 162 | if (!n) { 163 | return NProgress.start(); 164 | } else { 165 | if (typeof amount !== 'number') { 166 | amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95); 167 | } 168 | 169 | n = clamp(n + amount, 0, 0.994); 170 | return NProgress.set(n); 171 | } 172 | }; 173 | 174 | NProgress.trickle = function() { 175 | return NProgress.inc(Math.random() * Settings.trickleRate); 176 | }; 177 | 178 | /** 179 | * Waits for all supplied jQuery promises and 180 | * increases the progress as the promises resolve. 181 | * 182 | * @param $promise jQUery Promise 183 | */ 184 | (function() { 185 | var initial = 0, current = 0; 186 | 187 | NProgress.promise = function($promise) { 188 | if (!$promise || $promise.state() === "resolved") { 189 | return this; 190 | } 191 | 192 | if (current === 0) { 193 | NProgress.start(); 194 | } 195 | 196 | initial++; 197 | current++; 198 | 199 | $promise.always(function() { 200 | current--; 201 | if (current === 0) { 202 | initial = 0; 203 | NProgress.done(); 204 | } else { 205 | NProgress.set((initial - current) / initial); 206 | } 207 | }); 208 | 209 | return this; 210 | }; 211 | 212 | })(); 213 | 214 | /** 215 | * (Internal) renders the progress bar markup based on the `template` 216 | * setting. 217 | */ 218 | 219 | NProgress.render = function(fromStart) { 220 | if (NProgress.isRendered()) return document.getElementById('nprogress'); 221 | 222 | addClass(document.documentElement, 'nprogress-busy'); 223 | 224 | var progress = document.createElement('div'); 225 | progress.id = 'nprogress'; 226 | progress.innerHTML = Settings.template; 227 | 228 | var bar = progress.querySelector(Settings.barSelector), 229 | perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0), 230 | parent = document.querySelector(Settings.parent), 231 | spinner; 232 | 233 | css(bar, { 234 | transition: 'all 0 linear', 235 | transform: 'translate3d(' + perc + '%,0,0)' 236 | }); 237 | 238 | if (!Settings.showSpinner) { 239 | spinner = progress.querySelector(Settings.spinnerSelector); 240 | spinner && removeElement(spinner); 241 | } 242 | 243 | if (parent != document.body) { 244 | addClass(parent, 'nprogress-custom-parent'); 245 | } 246 | 247 | parent.appendChild(progress); 248 | return progress; 249 | }; 250 | 251 | /** 252 | * Removes the element. Opposite of render(). 253 | */ 254 | 255 | NProgress.remove = function() { 256 | removeClass(document.documentElement, 'nprogress-busy'); 257 | removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent'); 258 | var progress = document.getElementById('nprogress'); 259 | progress && removeElement(progress); 260 | }; 261 | 262 | /** 263 | * Checks if the progress bar is rendered. 264 | */ 265 | 266 | NProgress.isRendered = function() { 267 | return !!document.getElementById('nprogress'); 268 | }; 269 | 270 | /** 271 | * Determine which positioning CSS rule to use. 272 | */ 273 | 274 | NProgress.getPositioningCSS = function() { 275 | // Sniff on document.body.style 276 | var bodyStyle = document.body.style; 277 | 278 | // Sniff prefixes 279 | var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' : 280 | ('MozTransform' in bodyStyle) ? 'Moz' : 281 | ('msTransform' in bodyStyle) ? 'ms' : 282 | ('OTransform' in bodyStyle) ? 'O' : ''; 283 | 284 | if (vendorPrefix + 'Perspective' in bodyStyle) { 285 | // Modern browsers with 3D support, e.g. Webkit, IE10 286 | return 'translate3d'; 287 | } else if (vendorPrefix + 'Transform' in bodyStyle) { 288 | // Browsers without 3D support, e.g. IE9 289 | return 'translate'; 290 | } else { 291 | // Browsers without translate() support, e.g. IE7-8 292 | return 'margin'; 293 | } 294 | }; 295 | 296 | /** 297 | * Helpers 298 | */ 299 | 300 | function clamp(n, min, max) { 301 | if (n < min) return min; 302 | if (n > max) return max; 303 | return n; 304 | } 305 | 306 | /** 307 | * (Internal) converts a percentage (`0..1`) to a bar translateX 308 | * percentage (`-100%..0%`). 309 | */ 310 | 311 | function toBarPerc(n) { 312 | return (-1 + n) * 100; 313 | } 314 | 315 | 316 | /** 317 | * (Internal) returns the correct CSS for changing the bar's 318 | * position given an n percentage, and speed and ease from Settings 319 | */ 320 | 321 | function barPositionCSS(n, speed, ease) { 322 | var barCSS; 323 | 324 | if (Settings.positionUsing === 'translate3d') { 325 | barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' }; 326 | } else if (Settings.positionUsing === 'translate') { 327 | barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' }; 328 | } else { 329 | barCSS = { 'margin-left': toBarPerc(n)+'%' }; 330 | } 331 | 332 | barCSS.transition = 'all '+speed+'ms '+ease; 333 | 334 | return barCSS; 335 | } 336 | 337 | /** 338 | * (Internal) Queues a function to be executed. 339 | */ 340 | 341 | var queue = (function() { 342 | var pending = []; 343 | 344 | function next() { 345 | var fn = pending.shift(); 346 | if (fn) { 347 | fn(next); 348 | } 349 | } 350 | 351 | return function(fn) { 352 | pending.push(fn); 353 | if (pending.length == 1) next(); 354 | }; 355 | })(); 356 | 357 | /** 358 | * (Internal) Applies css properties to an element, similar to the jQuery 359 | * css method. 360 | * 361 | * While this helper does assist with vendor prefixed property names, it 362 | * does not perform any manipulation of values prior to setting styles. 363 | */ 364 | 365 | var css = (function() { 366 | var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ], 367 | cssProps = {}; 368 | 369 | function camelCase(string) { 370 | return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) { 371 | return letter.toUpperCase(); 372 | }); 373 | } 374 | 375 | function getVendorProp(name) { 376 | var style = document.body.style; 377 | if (name in style) return name; 378 | 379 | var i = cssPrefixes.length, 380 | capName = name.charAt(0).toUpperCase() + name.slice(1), 381 | vendorName; 382 | while (i--) { 383 | vendorName = cssPrefixes[i] + capName; 384 | if (vendorName in style) return vendorName; 385 | } 386 | 387 | return name; 388 | } 389 | 390 | function getStyleProp(name) { 391 | name = camelCase(name); 392 | return cssProps[name] || (cssProps[name] = getVendorProp(name)); 393 | } 394 | 395 | function applyCss(element, prop, value) { 396 | prop = getStyleProp(prop); 397 | element.style[prop] = value; 398 | } 399 | 400 | return function(element, properties) { 401 | var args = arguments, 402 | prop, 403 | value; 404 | 405 | if (args.length == 2) { 406 | for (prop in properties) { 407 | value = properties[prop]; 408 | if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value); 409 | } 410 | } else { 411 | applyCss(element, args[1], args[2]); 412 | } 413 | } 414 | })(); 415 | 416 | /** 417 | * (Internal) Determines if an element or space separated list of class names contains a class name. 418 | */ 419 | 420 | function hasClass(element, name) { 421 | var list = typeof element == 'string' ? element : classList(element); 422 | return list.indexOf(' ' + name + ' ') >= 0; 423 | } 424 | 425 | /** 426 | * (Internal) Adds a class to an element. 427 | */ 428 | 429 | function addClass(element, name) { 430 | var oldList = classList(element), 431 | newList = oldList + name; 432 | 433 | if (hasClass(oldList, name)) return; 434 | 435 | // Trim the opening space. 436 | element.className = newList.substring(1); 437 | } 438 | 439 | /** 440 | * (Internal) Removes a class from an element. 441 | */ 442 | 443 | function removeClass(element, name) { 444 | var oldList = classList(element), 445 | newList; 446 | 447 | if (!hasClass(element, name)) return; 448 | 449 | // Replace the class name. 450 | newList = oldList.replace(' ' + name + ' ', ' '); 451 | 452 | // Trim the opening and closing spaces. 453 | element.className = newList.substring(1, newList.length - 1); 454 | } 455 | 456 | /** 457 | * (Internal) Gets a space separated list of the class names on the element. 458 | * The list is wrapped with a single space on each end to facilitate finding 459 | * matches within the list. 460 | */ 461 | 462 | function classList(element) { 463 | return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' '); 464 | } 465 | 466 | /** 467 | * (Internal) Removes an element from the DOM. 468 | */ 469 | 470 | function removeElement(element) { 471 | element && element.parentNode && element.parentNode.removeChild(element); 472 | } 473 | 474 | return NProgress; 475 | }); 476 | 477 | -------------------------------------------------------------------------------- /js/pjax.min.js: -------------------------------------------------------------------------------- 1 | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Pjax=f()}})(function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i]+>/gi;var htmlAttribsRegex=/\s?[a-z:]+(?:=['"][^'">]+['"])*/gi;var matches=html.match(htmlRegex);if(matches&&matches.length){matches=matches[0].match(htmlAttribsRegex);if(matches.length){matches.shift();matches.forEach(function(htmlAttrib){var attr=htmlAttrib.trim().split("=");if(attr.length===1){tmpEl.documentElement.setAttribute(attr[0],true)}else{tmpEl.documentElement.setAttribute(attr[0],attr[1].slice(1,-1))}})}}tmpEl.documentElement.innerHTML=html;this.log("load content",tmpEl.documentElement.attributes,tmpEl.documentElement.innerHTML.length);if(document.activeElement&&contains(document,this.options.selectors,document.activeElement)){try{document.activeElement.blur()}catch(e){}}this.switchSelectors(this.options.selectors,tmpEl,document,options)},abortRequest:require("./lib/abort-request"),doRequest:require("./lib/send-request"),handleResponse:require("./lib/proto/handle-response"),loadUrl:function(href,options){options=typeof options==="object"?extend({},this.options,options):clone(this.options);this.log("load href",href,options);this.abortRequest(this.request);trigger(document,"pjax:send",options);this.request=this.doRequest(href,options,this.handleResponse.bind(this))},afterAllSwitches:function(){var autofocusEl=Array.prototype.slice.call(document.querySelectorAll("[autofocus]")).pop();if(autofocusEl&&document.activeElement!==autofocusEl){autofocusEl.focus()}this.options.selectors.forEach(function(selector){forEachEls(document.querySelectorAll(selector),function(el){executeScripts(el)})});var state=this.state;if(state.options.history){if(!window.history.state){this.lastUid=this.maxUid=newUid();window.history.replaceState({url:window.location.href,title:document.title,uid:this.maxUid,scrollPos:[0,0]},document.title)}this.lastUid=this.maxUid=newUid();window.history.pushState({url:state.href,title:state.options.title,uid:this.maxUid,scrollPos:[0,0]},state.options.title,state.href)}this.forEachSelectors(function(el){this.parseDOM(el)},this);trigger(document,"pjax:complete pjax:success",state.options);if(typeof state.options.analytics==="function"){state.options.analytics()}if(state.options.history){var a=document.createElement("a");a.href=this.state.href;if(a.hash){var name=a.hash.slice(1);name=decodeURIComponent(name);var curtop=0;var target=document.getElementById(name)||document.getElementsByName(name)[0];if(target){if(target.offsetParent){do{curtop+=target.offsetTop;target=target.offsetParent}while(target)}}window.scrollTo(0,curtop)}else if(state.options.scrollTo!==false){if(state.options.scrollTo.length>1){window.scrollTo(state.options.scrollTo[0],state.options.scrollTo[1])}else{window.scrollTo(0,state.options.scrollTo)}}}else if(state.options.scrollRestoration&&state.options.scrollPos){window.scrollTo(state.options.scrollPos[0],state.options.scrollPos[1])}this.state={numPendingSwitches:0,href:null,options:null}}};Pjax.isSupported=require("./lib/is-supported");if(Pjax.isSupported()){module.exports=Pjax}else{var stupidPjax=noop;for(var key in Pjax.prototype){if(Pjax.prototype.hasOwnProperty(key)&&typeof Pjax.prototype[key]==="function"){stupidPjax[key]=noop}}module.exports=stupidPjax}},{"./lib/abort-request":2,"./lib/events/on":4,"./lib/events/trigger":5,"./lib/execute-scripts":6,"./lib/foreach-els":7,"./lib/foreach-selectors":8,"./lib/is-supported":9,"./lib/parse-options":10,"./lib/proto/attach-form":11,"./lib/proto/attach-link":12,"./lib/proto/handle-response":13,"./lib/proto/log":14,"./lib/proto/parse-element":15,"./lib/send-request":16,"./lib/switches":18,"./lib/switches-selectors":17,"./lib/uniqueid":19,"./lib/util/clone":20,"./lib/util/contains":21,"./lib/util/extend":22,"./lib/util/noop":23}],2:[function(require,module,exports){var noop=require("./util/noop");module.exports=function(request){if(request&&request.readyState<4){request.onreadystatechange=noop;request.abort()}}},{"./util/noop":23}],3:[function(require,module,exports){module.exports=function(el){var code=el.text||el.textContent||el.innerHTML||"";var src=el.src||"";var parent=el.parentNode||document.querySelector("head")||document.documentElement;var script=document.createElement("script");if(code.match("document.write")){if(console&&console.log){console.log("Script contains document.write. Can’t be executed correctly. Code skipped ",el)}return false}script.type="text/javascript";script.id=el.id;if(src!==""){script.src=src;script.async=false}if(code!==""){try{script.appendChild(document.createTextNode(code))}catch(e){script.text=code}}parent.appendChild(script);if((parent instanceof HTMLHeadElement||parent instanceof HTMLBodyElement)&&parent.contains(script)){parent.removeChild(script)}return true}},{}],4:[function(require,module,exports){var forEachEls=require("../foreach-els");module.exports=function(els,events,listener,useCapture){events=typeof events==="string"?events.split(" "):events;events.forEach(function(e){forEachEls(els,function(el){el.addEventListener(e,listener,useCapture)})})}},{"../foreach-els":7}],5:[function(require,module,exports){var forEachEls=require("../foreach-els");module.exports=function(els,events,opts){events=typeof events==="string"?events.split(" "):events;events.forEach(function(e){var event;event=document.createEvent("HTMLEvents");event.initEvent(e,true,true);event.eventName=e;if(opts){Object.keys(opts).forEach(function(key){event[key]=opts[key]})}forEachEls(els,function(el){var domFix=false;if(!el.parentNode&&el!==document&&el!==window){domFix=true;document.body.appendChild(el)}el.dispatchEvent(event);if(domFix){el.parentNode.removeChild(el)}})})}},{"../foreach-els":7}],6:[function(require,module,exports){var forEachEls=require("./foreach-els");var evalScript=require("./eval-script");module.exports=function(el){if(el.tagName.toLowerCase()==="script"){evalScript(el)}forEachEls(el.querySelectorAll("script"),function(script){if(!script.type||script.type.toLowerCase()==="text/javascript"){if(script.parentNode){script.parentNode.removeChild(script)}evalScript(script)}})}},{"./eval-script":3,"./foreach-els":7}],7:[function(require,module,exports){module.exports=function(els,fn,context){if(els instanceof HTMLCollection||els instanceof NodeList||els instanceof Array){return Array.prototype.forEach.call(els,fn,context)}return fn.call(context,els)}},{}],8:[function(require,module,exports){var forEachEls=require("./foreach-els");module.exports=function(selectors,cb,context,DOMcontext){DOMcontext=DOMcontext||document;selectors.forEach(function(selector){forEachEls(DOMcontext.querySelectorAll(selector),cb,context)})}},{"./foreach-els":7}],9:[function(require,module,exports){module.exports=function(){return window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)}},{}],10:[function(require,module,exports){var defaultSwitches=require("./switches");module.exports=function(options){options=options||{};options.elements=options.elements||"a[href], form[action]";options.selectors=options.selectors||["title",".js-Pjax"];options.switches=options.switches||{};options.switchesOptions=options.switchesOptions||{};options.history=typeof options.history==="undefined"?true:options.history;options.analytics=typeof options.analytics==="function"||options.analytics===false?options.analytics:defaultAnalytics;options.scrollTo=typeof options.scrollTo==="undefined"?0:options.scrollTo;options.scrollRestoration=typeof options.scrollRestoration!=="undefined"?options.scrollRestoration:true;options.cacheBust=typeof options.cacheBust==="undefined"?true:options.cacheBust;options.debug=options.debug||false;options.timeout=options.timeout||0;options.currentUrlFullReload=typeof options.currentUrlFullReload==="undefined"?false:options.currentUrlFullReload;if(!options.switches.head){options.switches.head=defaultSwitches.switchElementsAlt}if(!options.switches.body){options.switches.body=defaultSwitches.switchElementsAlt}return options};function defaultAnalytics(){if(window._gaq){_gaq.push(["_trackPageview"])}if(window.ga){ga("send","pageview",{page:location.pathname,title:document.title})}}},{"./switches":18}],11:[function(require,module,exports){var on=require("../events/on");var clone=require("../util/clone");var attrState="data-pjax-state";var formAction=function(el,event){if(isDefaultPrevented(event)){return}var options=clone(this.options);options.requestOptions={requestUrl:el.getAttribute("action")||window.location.href,requestMethod:el.getAttribute("method")||"GET"};var virtLinkElement=document.createElement("a");virtLinkElement.setAttribute("href",options.requestOptions.requestUrl);var attrValue=checkIfShouldAbort(virtLinkElement,options);if(attrValue){el.setAttribute(attrState,attrValue);return}event.preventDefault();if(el.enctype==="multipart/form-data"){options.requestOptions.formData=new FormData(el)}else{options.requestOptions.requestParams=parseFormElements(el)}el.setAttribute(attrState,"submit");options.triggerElement=el;this.loadUrl(virtLinkElement.href,options)};function parseFormElements(el){var requestParams=[];var formElements=el.elements;for(var i=0;i1||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey){return"modifier"}if(el.protocol!==window.location.protocol||el.host!==window.location.host){return"external"}if(el.hash&&el.href.replace(el.hash,"")===window.location.href.replace(location.hash,"")){return"anchor"}if(el.href===window.location.href.split("#")[0]+"#"){return"anchor-empty"}}var isDefaultPrevented=function(event){return event.defaultPrevented||event.returnValue===false};module.exports=function(el){var that=this;el.setAttribute(attrState,"");on(el,"click",function(event){linkAction.call(that,el,event)});on(el,"keyup",function(event){if(event.keyCode===13){linkAction.call(that,el,event)}}.bind(this))}},{"../events/on":4,"../util/clone":20}],13:[function(require,module,exports){var clone=require("../util/clone");var newUid=require("../uniqueid");var trigger=require("../events/trigger");module.exports=function(responseText,request,href,options){options=clone(options||this.options);options.request=request;if(responseText===false){trigger(document,"pjax:complete pjax:error",options);return}var currentState=window.history.state||{};window.history.replaceState({url:currentState.url||window.location.href,title:currentState.title||document.title,uid:currentState.uid||newUid(),scrollPos:[document.documentElement.scrollLeft||document.body.scrollLeft,document.documentElement.scrollTop||document.body.scrollTop]},document.title,window.location.href);var oldHref=href;if(request.responseURL){if(href!==request.responseURL){href=request.responseURL}}else if(request.getResponseHeader("X-PJAX-URL")){href=request.getResponseHeader("X-PJAX-URL")}else if(request.getResponseHeader("X-XHR-Redirected-To")){href=request.getResponseHeader("X-XHR-Redirected-To")}var a=document.createElement("a");a.href=oldHref;var oldHash=a.hash;a.href=href;if(oldHash&&!a.hash){a.hash=oldHash;href=a.href}this.state.href=href;this.state.options=options;try{this.loadContent(responseText,options)}catch(e){trigger(document,"pjax:error",options);if(!this.options.debug){if(console&&console.error){console.error("Pjax switch fail: ",e)}return this.latestChance(href)}else{throw e}}}},{"../events/trigger":5,"../uniqueid":19,"../util/clone":20}],14:[function(require,module,exports){module.exports=function(){if(this.options.debug&&console){if(typeof console.log==="function"){console.log.apply(console,arguments)}else if(console.log){console.log(arguments)}}}},{}],15:[function(require,module,exports){var attrState="data-pjax-state";module.exports=function(el){switch(el.tagName.toLowerCase()){case"a":if(!el.hasAttribute(attrState)){this.attachLink(el)}break;case"form":if(!el.hasAttribute(attrState)){this.attachForm(el)}break;default:throw"Pjax can only be applied on or
    submit"}}},{}],16:[function(require,module,exports){var updateQueryString=require("./util/update-query-string");module.exports=function(location,options,callback){options=options||{};var queryString;var requestOptions=options.requestOptions||{};var requestMethod=(requestOptions.requestMethod||"GET").toUpperCase();var requestParams=requestOptions.requestParams||null;var formData=requestOptions.formData||null;var requestPayload=null;var request=new XMLHttpRequest;var timeout=options.timeout||0;request.onreadystatechange=function(){if(request.readyState===4){if(request.status===200){callback(request.responseText,request,location,options)}else if(request.status!==0){callback(null,request,location,options)}}};request.onerror=function(e){console.log(e);callback(null,request,location,options)};request.ontimeout=function(){callback(null,request,location,options)};if(requestParams&&requestParams.length){queryString=requestParams.map(function(param){return param.name+"="+param.value}).join("&");switch(requestMethod){case"GET":location=location.split("?")[0];location+="?"+queryString;break;case"POST":requestPayload=queryString;break}}else if(formData){requestPayload=formData}if(options.cacheBust){location=updateQueryString(location,"t",Date.now())}request.open(requestMethod,location,true);request.timeout=timeout;request.setRequestHeader("X-Requested-With","XMLHttpRequest");request.setRequestHeader("X-PJAX","true");request.setRequestHeader("X-PJAX-Selectors",JSON.stringify(options.selectors));if(requestPayload&&requestMethod==="POST"&&!formData){request.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}request.send(requestPayload);return request}},{"./util/update-query-string":24}],17:[function(require,module,exports){var forEachEls=require("./foreach-els");var defaultSwitches=require("./switches");module.exports=function(switches,switchesOptions,selectors,fromEl,toEl,options){var switchesQueue=[];selectors.forEach(function(selector){var newEls=fromEl.querySelectorAll(selector);var oldEls=toEl.querySelectorAll(selector);if(this.log){this.log("Pjax switch",selector,newEls,oldEls)}if(newEls.length!==oldEls.length){throw"DOM doesn’t look the same on new loaded page: ’"+selector+"’ - new "+newEls.length+", old "+oldEls.length}forEachEls(newEls,function(newEl,i){var oldEl=oldEls[i];if(this.log){this.log("newEl",newEl,"oldEl",oldEl)}var callback=switches[selector]?switches[selector].bind(this,oldEl,newEl,options,switchesOptions[selector]):defaultSwitches.outerHTML.bind(this,oldEl,newEl,options);switchesQueue.push(callback)},this)},this);this.state.numPendingSwitches=switchesQueue.length;switchesQueue.forEach(function(queuedSwitch){queuedSwitch()})}},{"./foreach-els":7,"./switches":18}],18:[function(require,module,exports){var on=require("./events/on");module.exports={outerHTML:function(oldEl,newEl){oldEl.outerHTML=newEl.outerHTML;this.onSwitch()},innerHTML:function(oldEl,newEl){oldEl.innerHTML=newEl.innerHTML;if(newEl.className===""){oldEl.removeAttribute("class")}else{oldEl.className=newEl.className}this.onSwitch()},switchElementsAlt:function(oldEl,newEl){oldEl.innerHTML=newEl.innerHTML;if(newEl.hasAttributes()){var attrs=newEl.attributes;for(var i=0;i 4 |
    5 | 6 |

    7 | 18 |
    19 |
    20 | content(); ?> 21 |
    22 | 23 | need('sidebar.php'); ?> 24 | need('footer.php'); ?> -------------------------------------------------------------------------------- /post.php: -------------------------------------------------------------------------------- 1 | 2 | need('header.php'); ?> 3 | 4 |
    5 |
    6 | 7 |

    title() ?>

    8 | 19 |
    20 |
    21 | content(); ?> 22 |
    23 |
    24 | 28 | 32 | 70 | 73 |
    74 | 91 |
    92 | 94 |
    95 |
    96 |

    评论

    97 | need('comments.php'); ?> 98 |
    99 |
    100 | 101 | need('sidebar.php'); ?> 102 | need('footer.php'); ?> 103 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pannanxu/Keeping/8682b52b30b6cadbfe8013c36f5e923644893722/screenshot.png -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------