diff --git "a/2016/11/02/\345\215\201\345\271\264/index.html" "b/2016/11/02/\345\215\201\345\271\264/index.html" deleted file mode 100644 index af38d95..0000000 --- "a/2016/11/02/\345\215\201\345\271\264/index.html" +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - 十年 | HackMagic——前进的方向不会改变。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- -
- - - - -

十年

- - -
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- -
- - -
-
- - - -
- -
-
- - - - - - - - - - -
- - \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a397fe2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# github.io +个人博客 +111111111111111 diff --git a/archives/2016/11/index.html b/archives/2016/11/index.html deleted file mode 100644 index e6a17ec..0000000 --- a/archives/2016/11/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - 归档:2016/11 | HackMagic——前进的方向不会改变。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

2016/11

- - - -
- -
-
- -
- - - - -

十年

- - -
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- -
- - -
-
- - - - - - - - -
- -
-
- - - - - - - - - - -
- - \ No newline at end of file diff --git a/archives/2016/index.html b/archives/2016/index.html deleted file mode 100644 index f844243..0000000 --- a/archives/2016/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - 归档:2016 | HackMagic——前进的方向不会改变。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

2016

- - - -
- -
-
- -
- - - - -

十年

- - -
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- -
- - -
-
- - - - - - - - -
- -
-
- - - - - - - - - - -
- - \ No newline at end of file diff --git a/archives/index.html b/archives/index.html deleted file mode 100644 index c5eebc5..0000000 --- a/archives/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - 归档 | HackMagic——前进的方向不会改变。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

归档

- - - -
- -
-
- -
- - - - -

十年

- - -
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- -
- - -
-
- - - - - - - - -
- -
-
- - - - - - - - - - -
- - \ No newline at end of file diff --git a/css/font/fontawesome-webfont.eot b/css/font/fontawesome-webfont.eot deleted file mode 100644 index 89070c1..0000000 Binary files a/css/font/fontawesome-webfont.eot and /dev/null differ diff --git a/css/font/fontawesome-webfont.svg b/css/font/fontawesome-webfont.svg deleted file mode 100644 index 1245f92..0000000 --- a/css/font/fontawesome-webfont.svg +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/css/font/fontawesome-webfont.ttf b/css/font/fontawesome-webfont.ttf deleted file mode 100644 index c17e9f8..0000000 Binary files a/css/font/fontawesome-webfont.ttf and /dev/null differ diff --git a/css/font/fontawesome-webfont.woff b/css/font/fontawesome-webfont.woff deleted file mode 100644 index 09f2469..0000000 Binary files a/css/font/fontawesome-webfont.woff and /dev/null differ diff --git a/css/images/body.jpg b/css/images/body.jpg deleted file mode 100644 index 90e39bd..0000000 Binary files a/css/images/body.jpg and /dev/null differ diff --git a/css/images/favicon.ico b/css/images/favicon.ico deleted file mode 100644 index f283a66..0000000 Binary files a/css/images/favicon.ico and /dev/null differ diff --git a/css/style.css b/css/style.css deleted file mode 100644 index ca807af..0000000 --- a/css/style.css +++ /dev/null @@ -1,839 +0,0 @@ -@font-face { - font-family: 'FontAwesome'; - font-style: normal; - font-weight: normal; - src: url("font/fontawesome-webfont.eot?#iefix") format('embedded-opentype'), url("font/fontawesome-webfont.woff") format('woff'), url("font/fontawesome-webfont.ttf") format('truetype'), url("font/fontawesome-webfont.svg#FontAwesomeRegular") format('svg'); -} -* { - margin: 0; - padding: 0; - font-family: "Microsoft YaHei"; -} -body { - color: #fff; - font-size: 14px; - text-shadow: 1px 1px 1px rgba(0,0,0,0.5); -} -@media screen and (max-width: 1260px) { - body { - margin: 0 30px; - } -} -@media screen and (max-width: 600px) { - body { - font-size: 13px; - } -} -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: "Microsoft YaHei"; -} -h1 { - font-size: 1.8em; -} -h2 { - font-size: 1.5em; -} -h3 { - font-size: 1.3em; -} -a { - text-decoration: none; - color: #0cf; -} -a:hover { - text-decoration: underline; -} -.alignleft { - float: left; -} -.alignright { - float: right; -} -.clearfix { - zoom: 1; -} -.clearfix:before, -.clearfix:after { - content: ""; - display: table; -} -.clearfix:after { - clear: both; -} -.inner { - width: 1200px; - margin: 0 auto; -} -@media screen and (max-width: 1260px) { - .inner { - width: 100%; - } -} -#main-col { - width: 900px; -} -@media screen and (max-width: 1260px) { - #main-col { - width: 100%; - margin-right: -300px; - } -} -@media screen and (max-width: 900px) { - #main-col { - margin-right: 0; - float: none; - } -} -@media screen and (max-width: 1260px) { - #wrapper { - margin-right: 300px; - } -} -@media screen and (max-width: 900px) { - #wrapper { - margin-right: 0; - } -} -#bg { - background-image: url("images/body.jpg"); - background-color: #050a10; - background-attachment: fixed; - background-repeat: no-repeat; - background-position: center; - -webkit-background-size: cover; - -moz-background-size: cover; - background-size: cover; - height: 100%; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: -1; -} -#header { - margin: 50px auto; -} -#header a { - color: #fff; -} -#header a:hover { - color: #0cf; - text-decoration: none; -} -#header h1 { - font-weight: normal; - font-size: 2.5em; - line-height: 1; -} -#header h2 { - font-weight: normal; - font-size: 0.9em; - line-height: 1; - margin-top: 10px; -} -#header #main-nav { - font-family: "Microsoft YaHei"; - line-height: 2.5em; -} -#header #main-nav ul { - list-style: none; -} -#header #main-nav ul li { - float: left; - margin-left: 30px; -} -article { - border-radius: 17px; - background: rgba(0,0,0,0.65); -} -article.page { - padding-left: 20px; -} -article.page .icon { - display: none; -} -article.post .icon:before { - content: '\f016'; -} -article.photo .icon:before { - content: '\f030'; -} -article.link .icon:before { - content: '\f0c1'; -} -article.link .title a:after { - content: '\f08e'; - color: #fff; - font: 12px FontAwesome; - padding-left: 10px; - vertical-align: super; -} -article .post-content { - padding: 20px 20px 15px 77px; - margin-bottom: 50px; - position: relative; -} -@media screen and (max-width: 600px) { - article .post-content { - padding-left: 20px; - } -} -article .gallery { - overflow: hidden; - position: relative; -} -article .gallery:hover .control { - opacity: 1; - -ms-filter: none; - filter: none; -} -article .gallery img { - min-width: 100%; - max-width: 100%; - height: auto; - position: absolute; - top: 0; - left: 0; - opacity: 0; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - filter: alpha(opacity=0); -} -article .gallery .control { - opacity: 0; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - filter: alpha(opacity=0); - -webkit-transition: 0.3s; - -moz-transition: 0.3s; - -o-transition: 0.3s; - -ms-transition: 0.3s; - transition: 0.3s; -} -article .gallery .prev, -article .gallery .next { - position: absolute; - top: 0; - width: 50%; - height: 100%; - cursor: pointer; -} -article .gallery .prev:before, -article .gallery .next:before { - position: absolute; - font: 24px/1 FontAwesome; - text-align: center; - width: 24px; - text-shadow: 0 0 15px rgba(0,0,0,0.5); - color: #fff; - margin-top: -12px; - top: 50%; -} -article .gallery .prev { - left: 0; -} -article .gallery .prev:before { - content: '\f053'; - left: 10px; -} -article .gallery .next { - right: 0; -} -article .gallery .next:before { - content: '\f054'; - right: 10px; -} -article header .icon { - width: 32px; - height: 32px; - margin-right: 25px; - position: absolute; - top: 20px; - left: 20px; - color: #0cf; -} -@media screen and (max-width: 600px) { - article header .icon { - display: none; - } -} -article header .icon:before { - position: absolute; - font: 32px FontAwesome; - top: 0; - left: 0; - width: 32px; - text-align: center; -} -article header time { - color: #fff; - font: 0.9em "Microsoft YaHei"; - margin-bottom: 5px; - display: block; - line-height: 1; -} -article header .title { - font-weight: normal; -} -article header .title a { - color: #fff; -} -article header .title a:hover { - color: #0cf; - text-decoration: none; -} -article .entry { - text-align: justify; - line-height: 1.6; -} -article .entry p, -article .entry blockquote, -article .entry ul, -article .entry ol, -article .entry dl, -article .entry table, -article .entry iframe, -article .entry h3, -article .entry h4, -article .entry h5, -article .entry h6, -article .entry .video-container { - margin-top: 15px; -} -article .entry blockquote { - border-left: 4px solid #ddd; - padding: 0 15px; - color: #ccc; -/*footer - border-top none - font-size 0.8em - line-height 1 - margin 20px 0 0 - padding-top 0 - cite - &:before - content '—' - color #ccc - padding 0 0.5em*/ -} -article .entry blockquote>:first-child { - margin-top: 0px; -} -article .entry blockquote>:last-child { - margin-bottom: 0px; -} -article .entry code, -article .entry pre { - font-family: Consolas, Monaco, Lucida Console, monospace; -} -article .entry code { - padding: 0 5px; - margin: 0 2px; - font-size: 0.9em; - border: 1px solid #ddd; - border-radius: 3px; -} -article .entry pre { - border: 1px solid #ddd; - margin-top: 15px; - overflow: auto; - padding: 7px 15px; - border-radius: 2px; -} -article .entry pre code { - background: none; - padding: 0; - margin: 0; - border: none; - border-radius: 0; -} -article .entry ul, -article .entry ol, -article .entry dl { - margin-left: 20px; -} -article .entry ul ul, -article .entry ol ul, -article .entry dl ul, -article .entry ul ol, -article .entry ol ol, -article .entry dl ol, -article .entry ul dl, -article .entry ol dl, -article .entry dl dl { - margin-top: 0; -} -article .entry hr { - border-top: 1px dashed; - border-bottom: none; - margin-top: 10px; - margin-bottom: 10px; -} -article .entry h1, -article .entry h2 { - font-weight: normal; - border-bottom: 1px dashed #ddd; - padding-bottom: 10px; - margin-top: 20px; -} -article .entry h3, -article .entry h4, -article .entry h5, -article .entry h6 { - font-weight: normal; -} -article .entry img, -article .entry video { - max-width: 100%; - height: auto; - border: none; -} -article .entry iframe { - border: none; -} -article .entry .caption { - display: block; - margin-top: 5px; - color: #fff; - position: relative; - font-size: 0.9em; - padding-left: 25px; -} -article .entry .caption:before { - content: '\f040'; - position: absolute; - font: 1.3em FontAwesome; - position: absolute; - left: 0; - top: 3px; -} -article .entry .video-container { - position: relative; - padding-bottom: 56.25%; - padding-top: 30px; - height: 0; - overflow: hidden; -} -article .entry .video-container iframe, -article .entry .video-container object, -article .entry .video-container embed { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - margin-top: 0; -} -article .entry .pullquote { - float: right; - border: none; - padding: 0; - margin: 1em 0 0.5em 1.5em; - text-align: left; - width: 45%; - font-size: 1.5em; -} -article footer { - margin-top: 15px; - padding-top: 10px; - border-top: 1px dotted #ddd; - color: #fff; - font-size: 0.9em; - line-height: 16px; - position: relative; - min-height: 16px; -} -article footer a { - color: #fff; -} -article footer a:hover { - color: #0cf; - text-decoration: none; -} -article footer a:before { - font: 1.1em FontAwesome; - padding-right: 10px; - vertical-align: middle; -} -article footer a.more-link:before { - content: '\f054'; -} -article footer a.share-link { - margin-left: 5px; -} -article footer a.share-link:before { - content: '\f045'; -} -article footer a.comment-link:before { - content: '\f075'; -} -article footer .categories, -article footer .tags { - position: relative; - padding-left: 25px; - margin: 5px 0; -} -article footer .categories:before, -article footer .tags:before { - position: absolute; - font: 1.1em FontAwesome; -} -article footer .categories:before { - content: '\f07b'; - top: 2px; - left: 1px; -} -article footer .tags:before { - content: '\f02b'; - top: 3px; - left: 2px; -} -article footer .addthis { - margin-top: 15px; -} -article footer .addthis iframe { - margin-top: 0; -} -#comment { - padding: 20px; - background: rgba(0,0,0,0.65); - border-radius: 17px; - margin-bottom: 50px; -} -#comment .title { - font-weight: normal; - margin-bottom: 15px; -} -#pagination { - zoom: 1; - margin: block-margin auto; - background: rgba(0,0,0,0.65); - border-radius: 17px; - text-align: center; - overflow: hidden; - margin-bottom: 50px; -} -#pagination:before, -#pagination:after { - content: ""; - display: table; -} -#pagination:after { - clear: both; -} -#pagination a, -#pagination span { - padding: 10px 20px; - line-height: 1; - height: 2ex; -} -#pagination a { - color: #fff; - text-decoration: none; -} -#pagination a:hover { - background: #000; - color: #0cf; -} -#pagination .prev { - float: left; -} -#pagination .next { - float: right; -} -#pagination .page-number { - display: inline-block; -} -@media mq-mobile { - #pagination .page-number { - display: none; - } -} -#pagination .current { - color: color-cont; - font-weight: bold; -} -#pagination .space { - color: #ddd; -} -.archive-title { - color: #fff; - font-weight: normal; - margin-bottom: 30px; - text-shadow: 0 0 1px #fff; -} -.archive-title:before { - font-family: FontAwesome; - content: '\f073'; - padding-right: 15px; -} -.archive-title.tag:before { - content: '\f02b'; -} -.archive-title.category:before { - content: '\f07b'; -} -.archive { - -webkit-box-shadow: 1px 2px 3px #ddd; - box-shadow: 1px 2px 3px #ddd; - border-bottom: 1px solid #ddd; - margin-bottom: 50px; -} -.archive article { - -webkit-box-shadow: none; - box-shadow: none; -} -.archive article .post-content { - margin-bottom: 0; -} -#sidebar { - width: 270px; - line-height: 1.8em; -} -@media screen and (max-width: 900px) { - #sidebar { - float: none; - width: 100%; - } -} -#sidebar .widget { - background: rgba(0,0,0,0.65); - border-radius: 17px; - margin-bottom: 30px; - word-wrap: break-word; -} -#sidebar .widget .title { - padding: 15px 20px; - font-size: 1em; - border-bottom: 1px dotted #ddd; - font-weight: normal; -} -#sidebar .widget .entry { - font-size: 0.9em; - padding: 15px 20px; -} -#sidebar .widget ul, -#sidebar .widget ol, -#sidebar .widget dl { - list-style: none; -} -#sidebar .widget ul ul, -#sidebar .widget ol ul, -#sidebar .widget dl ul, -#sidebar .widget ul ol, -#sidebar .widget ol ol, -#sidebar .widget dl ol, -#sidebar .widget ul dl, -#sidebar .widget ol dl, -#sidebar .widget dl dl { - list-style: disc; - margin-left: 20px; -} -#sidebar .search { - margin-bottom: 30px; -} -#sidebar .search input { - background: rgba(0,0,0,0.65); - border-radius: 17px; - font-family: "Microsoft YaHei"; - font-style: italic; - font-size: 1em; - padding: 10px 15px; - border: 0; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #fff; -} -#sidebar .search input:focus { - color: #ddd; -} -#sidebar .tag small { - margin-left: 15px; - color: #fff; -} -#sidebar .tag small:before { - content: '('; -} -#sidebar .tag small:after { - content: ')'; -} -#sidebar .twitter li { - border-bottom: 1px solid #ddd; - padding: 15px 20px; - font-size: 0.9em; -} -#sidebar .twitter li:last-of-type { - border-bottom: none; -} -#sidebar .twitter small { - display: block; - margin-top: 10px; - color: #fff; - line-height: 1; -} -#sidebar .tagcloud .entry { - padding-right: 5px; -} -#sidebar .tagcloud a { - margin-right: 10px; - display: inline-block; -} -#footer { - color: #fff; - margin-bottom: 50px; - font: 0.9em/1.6 "Microsoft YaHei"; -} -.entry .gist { - background: #eee; - border: 1px solid #ddd; - margin-top: 15px; - padding: 7px 15px; - border-radius: 2px; - text-shadow: 0 0 1px #fff; - line-height: 1.6; - overflow: auto; - color: #666; -} -.entry .gist .gist-file { - border: none; - font-family: inherit; - margin: 0; - font-size: 0.9em; -} -.entry .gist .gist-file .gist-data { - background: none; - border-bottom: none; -} -.entry .gist .gist-file .gist-data pre { - padding: 0 !important; - font-family: Consolas, Monaco, Lucida Console, monospace; -} -.entry .gist .gist-file .gist-meta { - background: none; - color: #fff; - margin-top: 5px; - padding: 0; - text-shadow: 0 0 1px #fff; - font-size: 100%; -} -.entry .gist .gist-file .gist-meta a { - color: #0cf; -} -.entry .gist .gist-file .gist-meta a:visited { - color: #0cf; -} -figure.highlight { - border: 1px solid #ddd; - margin-top: 15px; - padding: 7px 15px; - border-radius: 2px; - line-height: 1.6; - overflow: auto; - position: relative; - font-size: 0.9em; -} -figure.highlight figcaption { - color: #fff; - margin-bottom: 5px; - text-shadow: 0 0 1px #fff; -} -figure.highlight figcaption a { - position: absolute; - right: 15px; -} -figure.highlight pre { - border: none; - padding: 0; - margin: 0; -} -figure.highlight table { - margin-top: 0; - border-spacing: 0; -} -figure.highlight .gutter { - color: #fff; - padding-right: 15px; - border-right: 1px solid #ddd; - text-align: right; -} -figure.highlight .code { - padding-left: 15px; - border-left: 1px solid #fff; -} -figure.highlight .line { - height: 20px; - font-family: Consolas, Monaco, Lucida Console, monospace; -} -pre .comment, -pre .template_comment, -pre .diff .header, -pre .doctype, -pre .pi, -pre .lisp .string, -pre .javadoc { - color: #93a1a1; - font-style: italic; -} -pre .keyword, -pre .winutils, -pre .method, -pre .addition, -pre .css .tag, -pre .request, -pre .status, -pre .nginx .title { - color: #859900; -} -pre .number, -pre .command, -pre .string, -pre .tag .value, -pre .phpdoc, -pre .tex .formula, -pre .regexp, -pre .hexcolor { - color: #2aa198; -} -pre .title, -pre .localvars, -pre .chunk, -pre .decorator, -pre .built_in, -pre .identifier, -pre .vhdl, -pre .literal, -pre .id { - color: #268bd2; -} -pre .attribute, -pre .variable, -pre .lisp .body, -pre .smalltalk .number, -pre .constant, -pre .class .title, -pre .parent, -pre .haskell .type { - color: #b58900; -} -pre .preprocessor, -pre .preprocessor .keyword, -pre .shebang, -pre .symbol, -pre .symbol .string, -pre .diff .change, -pre .special, -pre .attr_selector, -pre .important, -pre .subst, -pre .cdata, -pre .clojure .title { - color: #cb4b16; -} -pre .deletion { - color: #dc322f; -} diff --git a/fancybox/blank.gif b/fancybox/blank.gif deleted file mode 100644 index 35d42e8..0000000 Binary files a/fancybox/blank.gif and /dev/null differ diff --git a/fancybox/fancybox_loading.gif b/fancybox/fancybox_loading.gif deleted file mode 100644 index a03a40c..0000000 Binary files a/fancybox/fancybox_loading.gif and /dev/null differ diff --git a/fancybox/fancybox_loading@2x.gif b/fancybox/fancybox_loading@2x.gif deleted file mode 100644 index 9205aeb..0000000 Binary files a/fancybox/fancybox_loading@2x.gif and /dev/null differ diff --git a/fancybox/fancybox_overlay.png b/fancybox/fancybox_overlay.png deleted file mode 100644 index a439139..0000000 Binary files a/fancybox/fancybox_overlay.png and /dev/null differ diff --git a/fancybox/fancybox_sprite.png b/fancybox/fancybox_sprite.png deleted file mode 100644 index fd8d5ca..0000000 Binary files a/fancybox/fancybox_sprite.png and /dev/null differ diff --git a/fancybox/fancybox_sprite@2x.png b/fancybox/fancybox_sprite@2x.png deleted file mode 100644 index d0e4779..0000000 Binary files a/fancybox/fancybox_sprite@2x.png and /dev/null differ diff --git a/fancybox/jquery.fancybox.css b/fancybox/jquery.fancybox.css deleted file mode 100644 index 367890a..0000000 --- a/fancybox/jquery.fancybox.css +++ /dev/null @@ -1,274 +0,0 @@ -/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ -.fancybox-wrap, -.fancybox-skin, -.fancybox-outer, -.fancybox-inner, -.fancybox-image, -.fancybox-wrap iframe, -.fancybox-wrap object, -.fancybox-nav, -.fancybox-nav span, -.fancybox-tmp -{ - padding: 0; - margin: 0; - border: 0; - outline: none; - vertical-align: top; -} - -.fancybox-wrap { - position: absolute; - top: 0; - left: 0; - z-index: 8020; -} - -.fancybox-skin { - position: relative; - background: #f9f9f9; - color: #444; - text-shadow: none; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.fancybox-opened { - z-index: 8030; -} - -.fancybox-opened .fancybox-skin { - -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); - -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); -} - -.fancybox-outer, .fancybox-inner { - position: relative; -} - -.fancybox-inner { - overflow: hidden; -} - -.fancybox-type-iframe .fancybox-inner { - -webkit-overflow-scrolling: touch; -} - -.fancybox-error { - color: #444; - font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; - margin: 0; - padding: 15px; - white-space: nowrap; -} - -.fancybox-image, .fancybox-iframe { - display: block; - width: 100%; - height: 100%; -} - -.fancybox-image { - max-width: 100%; - max-height: 100%; -} - -#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { - background-image: url('fancybox_sprite.png'); -} - -#fancybox-loading { - position: fixed; - top: 50%; - left: 50%; - margin-top: -22px; - margin-left: -22px; - background-position: 0 -108px; - opacity: 0.8; - cursor: pointer; - z-index: 8060; -} - -#fancybox-loading div { - width: 44px; - height: 44px; - background: url('fancybox_loading.gif') center center no-repeat; -} - -.fancybox-close { - position: absolute; - top: -18px; - right: -18px; - width: 36px; - height: 36px; - cursor: pointer; - z-index: 8040; -} - -.fancybox-nav { - position: absolute; - top: 0; - width: 40%; - height: 100%; - cursor: pointer; - text-decoration: none; - background: transparent url('blank.gif'); /* helps IE */ - -webkit-tap-highlight-color: rgba(0,0,0,0); - z-index: 8040; -} - -.fancybox-prev { - left: 0; -} - -.fancybox-next { - right: 0; -} - -.fancybox-nav span { - position: absolute; - top: 50%; - width: 36px; - height: 34px; - margin-top: -18px; - cursor: pointer; - z-index: 8040; - visibility: hidden; -} - -.fancybox-prev span { - left: 10px; - background-position: 0 -36px; -} - -.fancybox-next span { - right: 10px; - background-position: 0 -72px; -} - -.fancybox-nav:hover span { - visibility: visible; -} - -.fancybox-tmp { - position: absolute; - top: -99999px; - left: -99999px; - visibility: hidden; - max-width: 99999px; - max-height: 99999px; - overflow: visible !important; -} - -/* Overlay helper */ - -.fancybox-lock { - overflow: hidden !important; - width: auto; -} - -.fancybox-lock body { - overflow: hidden !important; -} - -.fancybox-lock-test { - overflow-y: hidden !important; -} - -.fancybox-overlay { - position: absolute; - top: 0; - left: 0; - overflow: hidden; - display: none; - z-index: 8010; - background: url('fancybox_overlay.png'); -} - -.fancybox-overlay-fixed { - position: fixed; - bottom: 0; - right: 0; -} - -.fancybox-lock .fancybox-overlay { - overflow: auto; - overflow-y: scroll; -} - -/* Title helper */ - -.fancybox-title { - visibility: hidden; - font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; - position: relative; - text-shadow: none; - z-index: 8050; -} - -.fancybox-opened .fancybox-title { - visibility: visible; -} - -.fancybox-title-float-wrap { - position: absolute; - bottom: 0; - right: 50%; - margin-bottom: -35px; - z-index: 8050; - text-align: center; -} - -.fancybox-title-float-wrap .child { - display: inline-block; - margin-right: -100%; - padding: 2px 20px; - background: transparent; /* Fallback for web browsers that doesn't support RGBa */ - background: rgba(0, 0, 0, 0.8); - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; - text-shadow: 0 1px 2px #222; - color: #FFF; - font-weight: bold; - line-height: 24px; - white-space: nowrap; -} - -.fancybox-title-outside-wrap { - position: relative; - margin-top: 10px; - color: #fff; -} - -.fancybox-title-inside-wrap { - padding-top: 10px; -} - -.fancybox-title-over-wrap { - position: absolute; - bottom: 0; - left: 0; - color: #fff; - padding: 10px; - background: #000; - background: rgba(0, 0, 0, .8); -} - -/*Retina graphics!*/ -@media only screen and (-webkit-min-device-pixel-ratio: 1.5), - only screen and (min--moz-device-pixel-ratio: 1.5), - only screen and (min-device-pixel-ratio: 1.5){ - - #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { - background-image: url('fancybox_sprite@2x.png'); - background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ - } - - #fancybox-loading div { - background-image: url('fancybox_loading@2x.gif'); - background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ - } -} \ No newline at end of file diff --git a/fancybox/jquery.fancybox.pack.js b/fancybox/jquery.fancybox.pack.js deleted file mode 100644 index 73f7578..0000000 --- a/fancybox/jquery.fancybox.pack.js +++ /dev/null @@ -1,46 +0,0 @@ -/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ -(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0
',image:'',iframe:'",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, -openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, -isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k, -c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&& -k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current|| -b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer= -setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d= -a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")), -b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(), -y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement; -if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0, -{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1, -mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio= -!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href"); -"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload= -this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href); -f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload, -e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin, -outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}", -g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll": -"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside? -h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth|| -h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive? -b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth), -p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"=== -f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d= -b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('
'+e+"
");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d, -e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+ -":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('
').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
').appendTo("body");var e=20=== -d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery); \ No newline at end of file diff --git a/images/bkg.png b/images/bkg.png new file mode 100644 index 0000000..d10e5ca Binary files /dev/null and b/images/bkg.png differ diff --git a/images/blacktocat.png b/images/blacktocat.png new file mode 100644 index 0000000..9759d77 Binary files /dev/null and b/images/blacktocat.png differ diff --git a/index.html b/index.html index 82c52d7..fcc6cd7 100644 --- a/index.html +++ b/index.html @@ -1,179 +1,60 @@ - + - - - - HackMagic——前进的方向不会改变。 - + + + - + + + - + GitHub.io by hackmagic + - + - - +
+
+

GitHub.io

+

个人博客

+ +
+ Download as .zip + Download as .tar.gz + View on GitHub +
+
+
- - +
+
+

+Welcome to GitHub Pages.

- - - +

This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new gh-pages branch locally. If you’re using GitHub Desktop, simply sync your repository and you’ll see the new branch.

- - - +

+Designer Templates

- - - - +

We’ve crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.

+

+Creating pages manually

- - +

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

- +

+Authors and Contributors

+

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

- - -
-
-
- -
-
- -
- - - - -

十年

- +

+Support or Contact

-
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- +

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

+
+ - -
- - - - - - - - - - -
- -
-

- - © 2016 HackMagic - - All rights reserved.

-

Powered by Hexo

-
-
- -
- - - - - - - - - -
- - \ No newline at end of file + + diff --git a/javascripts/main.js b/javascripts/main.js new file mode 100644 index 0000000..d8135d3 --- /dev/null +++ b/javascripts/main.js @@ -0,0 +1 @@ +console.log('This would be the main JS file.'); diff --git a/js/gallery.js b/js/gallery.js deleted file mode 100644 index dfd0ffc..0000000 --- a/js/gallery.js +++ /dev/null @@ -1,67 +0,0 @@ -(function($){ - // Caption - $('.entry').each(function(i){ - $(this).find('img').each(function(){ - if (!$(this).hasClass('nofancybox')){ - var alt = this.alt; - - if (alt){ - $(this).after('' + alt + ''); - } - - $(this).wrap(''); - } - }); - }); - - // Gallery - var play = function(parent, item, callback){ - var width = parent.width(); - - item.imagesLoaded(function(){ - var _this = this[0], - nWidth = _this.naturalWidth, - nHeight = _this.naturalHeight; - - callback(); - this.animate({opacity: 1}, 500); - parent.animate({height: width * nHeight / nWidth}, 500); - }); - }; - - $('.gallery').each(function(){ - var $this = $(this), - current = 0, - photoset = $this.children('.photoset').children(), - all = photoset.length, - loading = true; - - play($this, photoset.eq(0), function(){ - loading = false; - }); - - $this.on('click', '.prev', function(){ - if (!loading){ - var next = (current - 1) % all; - loading = true; - - play($this, photoset.eq(next), function(){ - photoset.eq(current).animate({opacity: 0}, 500); - loading = false; - current = next; - }); - } - }).on('click', '.next', function(){ - if (!loading){ - var next = (current + 1) % all; - loading = true; - - play($this, photoset.eq(next), function(){ - photoset.eq(current).animate({opacity: 0}, 500); - loading = false; - current = next; - }); - } - }); - }); -})(jQuery); diff --git a/js/jquery.imagesloaded.min.js b/js/jquery.imagesloaded.min.js deleted file mode 100644 index bc56220..0000000 --- a/js/jquery.imagesloaded.min.js +++ /dev/null @@ -1,3 +0,0 @@ -(function(c,n){var l="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";c.fn.imagesLoaded=function(f){function m(){var b=c(i),a=c(h);d&&(h.length?d.reject(e,b,a):d.resolve(e));c.isFunction(f)&&f.call(g,e,b,a)}function j(b,a){b.src===l||-1!==c.inArray(b,k)||(k.push(b),a?h.push(b):i.push(b),c.data(b,"imagesLoaded",{isBroken:a,src:b.src}),o&&d.notifyWith(c(b),[a,e,c(i),c(h)]),e.length===k.length&&(setTimeout(m),e.unbind(".imagesLoaded")))}var g=this,d=c.isFunction(c.Deferred)?c.Deferred(): -0,o=c.isFunction(d.notify),e=g.find("img").add(g.filter("img")),k=[],i=[],h=[];c.isPlainObject(f)&&c.each(f,function(b,a){if("callback"===b)f=a;else if(d)d[b](a)});e.length?e.bind("load.imagesLoaded error.imagesLoaded",function(b){j(b.target,"error"===b.type)}).each(function(b,a){var d=a.src,e=c.data(a,"imagesLoaded");if(e&&e.src===d)j(a,e.isBroken);else if(a.complete&&a.naturalWidth!==n)j(a,0===a.naturalWidth||0===a.naturalHeight);else if(a.readyState||a.complete)a.src=l,a.src=d}):m();return d?d.promise(g): -g}})(jQuery); diff --git a/params.json b/params.json new file mode 100644 index 0000000..1eeb010 --- /dev/null +++ b/params.json @@ -0,0 +1,6 @@ +{ + "name": "GitHub.io", + "tagline": "个人博客", + "body": "### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here [using GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/), select a template crafted by a designer, and publish. After your page is generated, you can check out the new `gh-pages` branch locally. If you’re using GitHub Desktop, simply sync your repository and you’ll see the new branch.\r\n\r\n### Designer Templates\r\nWe’ve crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.\r\n\r\n### Creating pages manually\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out our [documentation](https://help.github.com/pages) or [contact support](https://github.com/contact) and we’ll help you sort it out.\r\n", + "note": "Don't delete this file! It's used internally to help with page regeneration." +} \ No newline at end of file diff --git a/stylesheets/github-dark.css b/stylesheets/github-dark.css new file mode 100644 index 0000000..3711a0f --- /dev/null +++ b/stylesheets/github-dark.css @@ -0,0 +1,124 @@ +/* +The MIT License (MIT) + +Copyright (c) 2015 GitHub, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +.pl-c /* comment */ { + color: #969896; +} + +.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */, +.pl-s .pl-v /* string variable */ { + color: #0099cd; +} + +.pl-e /* entity */, +.pl-en /* entity.name */ { + color: #9774cb; +} + +.pl-s .pl-s1 /* string source */, +.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ { + color: #ddd; +} + +.pl-ent /* entity.name.tag */ { + color: #7bcc72; +} + +.pl-k /* keyword, storage, storage.type */ { + color: #cc2372; +} + +.pl-pds /* punctuation.definition.string, string.regexp.character-class */, +.pl-s /* string */, +.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */, +.pl-sr /* string.regexp */, +.pl-sr .pl-cce /* string.regexp constant.character.escape */, +.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */, +.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ { + color: #3c66e2; +} + +.pl-v /* variable */ { + color: #fb8764; +} + +.pl-id /* invalid.deprecated */ { + color: #e63525; +} + +.pl-ii /* invalid.illegal */ { + background-color: #e63525; + color: #f8f8f8; +} + +.pl-sr .pl-cce /* string.regexp constant.character.escape */ { + color: #7bcc72; + font-weight: bold; +} + +.pl-ml /* markup.list */ { + color: #c26b2b; +} + +.pl-mh /* markup.heading */, +.pl-mh .pl-en /* markup.heading entity.name */, +.pl-ms /* meta.separator */ { + color: #264ec5; + font-weight: bold; +} + +.pl-mq /* markup.quote */ { + color: #00acac; +} + +.pl-mi /* markup.italic */ { + color: #ddd; + font-style: italic; +} + +.pl-mb /* markup.bold */ { + color: #ddd; + font-weight: bold; +} + +.pl-md /* markup.deleted, meta.diff.header.from-file */ { + background-color: #ffecec; + color: #bd2c00; +} + +.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ { + background-color: #eaffea; + color: #55a532; +} + +.pl-mdr /* meta.diff.range */ { + color: #9774cb; + font-weight: bold; +} + +.pl-mo /* meta.output */ { + color: #264ec5; +} + diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css new file mode 100644 index 0000000..a54a639 --- /dev/null +++ b/stylesheets/stylesheet.css @@ -0,0 +1,247 @@ +body { + margin: 0; + padding: 0; + background: #151515 url("../images/bkg.png") 0 0; + color: #eaeaea; + font: 16px; + line-height: 1.5; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; +} + +/* General & 'Reset' Stuff */ + +.container { + width: 90%; + max-width: 600px; + margin: 0 auto; +} + +section { + display: block; + margin: 0 0 20px 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0 0 20px; +} + +li { + line-height: 1.4 ; +} + +/* Header,
+ header - container + h1 - project name + h2 - project description +*/ + +header { + background: rgba(0, 0, 0, 0.1); + width: 100%; + border-bottom: 1px dashed #b5e853; + padding: 20px 0; + margin: 0 0 40px 0; +} + +header h1 { + font-size: 30px; + line-height: 1.5; + margin: 0 0 0 -40px; + font-weight: bold; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: #b5e853; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); + letter-spacing: -1px; + -webkit-font-smoothing: antialiased; +} + +header h1:before { + content: "./ "; + font-size: 24px; +} + +header h2 { + font-size: 18px; + font-weight: 300; + color: #666; +} + +#downloads .btn { + display: inline-block; + text-align: center; + margin: 0; +} + +/* Main Content +*/ + +#main_content { + width: 100%; + -webkit-font-smoothing: antialiased; +} +section img { + max-width: 100% +} + +h1, h2, h3, h4, h5, h6 { + font-weight: normal; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: #b5e853; + letter-spacing: -0.03em; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); +} + +#main_content h1 { + font-size: 30px; +} + +#main_content h2 { + font-size: 24px; +} + +#main_content h3 { + font-size: 18px; +} + +#main_content h4 { + font-size: 14px; +} + +#main_content h5 { + font-size: 12px; + text-transform: uppercase; + margin: 0 0 5px 0; +} + +#main_content h6 { + font-size: 12px; + text-transform: uppercase; + color: #999; + margin: 0 0 5px 0; +} + +dt { + font-style: italic; + font-weight: bold; +} + +ul li { + list-style: none; +} + +ul li:before { + content: ">>"; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + font-size: 13px; + color: #b5e853; + margin-left: -37px; + margin-right: 21px; + line-height: 16px; +} + +blockquote { + color: #aaa; + padding-left: 10px; + border-left: 1px dotted #666; +} + +pre { + background: rgba(0, 0, 0, 0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 10px; + font-size: 14px; + color: #b5e853; + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + text-wrap: normal; + overflow: auto; + overflow-y: hidden; +} + +table { + width: 100%; + margin: 0 0 20px 0; +} + +th { + text-align: left; + border-bottom: 1px dashed #b5e853; + padding: 5px 10px; +} + +td { + padding: 5px 10px; +} + +hr { + height: 0; + border: 0; + border-bottom: 1px dashed #b5e853; + color: #b5e853; +} + +/* Buttons +*/ + +.btn { + display: inline-block; + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3)); + padding: 8px 18px; + border-radius: 50px; + border: 2px solid rgba(0, 0, 0, 0.7); + border-bottom: 2px solid rgba(0, 0, 0, 0.7); + border-top: 2px solid rgba(0, 0, 0, 1); + color: rgba(255, 255, 255, 0.8); + font-family: Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 13px; + text-decoration: none; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); +} + +.btn:hover { + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8)); +} + +.btn .icon { + display: inline-block; + width: 16px; + height: 16px; + margin: 1px 8px 0 0; + float: left; +} + +.btn-github .icon { + opacity: 0.6; + background: url("../images/blacktocat.png") 0 0 no-repeat; +} + +/* Links + a, a:hover, a:visited +*/ + +a { + color: #63c0f5; + text-shadow: 0 0 5px rgba(104, 182, 255, 0.5); +} + +/* Clearfix */ + +.cf:before, .cf:after { + content:""; + display:table; +} + +.cf:after { + clear:both; +} + +.cf { + zoom:1; +} \ No newline at end of file diff --git "a/tags/\350\207\264\346\233\276\347\273\217\347\232\204\350\207\252\345\267\261/index.html" "b/tags/\350\207\264\346\233\276\347\273\217\347\232\204\350\207\252\345\267\261/index.html" deleted file mode 100644 index 45ccb00..0000000 --- "a/tags/\350\207\264\346\233\276\347\273\217\347\232\204\350\207\252\345\267\261/index.html" +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - 致曾经的自己 | HackMagic——前进的方向不会改变。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

致曾经的自己

- - - -
- -
-
- -
- - - - -

十年

- - -
-
- -
1
2
3
十年前我还是在一个青葱少年
年轻而任性 不知天高地厚 为爱疯为情困
却不知自己真正想要的
- -
- - -
-
- - - - - - - - -
- -
-
-
-

- - © 2016 HackMagic - - All rights reserved.

-

Powered by Hexo

-
-
- -
- - - - - - - - - -
- - \ No newline at end of file