├── index.html ├── starter-kit ├── index.html ├── Gemfile ├── blog │ ├── index.html │ ├── categories │ │ └── index.html │ └── tags │ │ └── index.html ├── _posts │ ├── 2013-04-22-hello-world.md │ ├── 2017-05-27-code-highlighting.md │ └── 2017-05-25-quick-kramdown-demo.md ├── search.json ├── _config.yml └── _data │ └── i18n.yml ├── assets ├── stylesheets │ ├── blog.scss │ └── home.scss ├── fonts │ ├── ubuntu-c-webfont.eot │ ├── ubuntu-c-webfont.ttf │ ├── ubuntu-c-webfont.woff │ ├── bitter-regular-webfont.eot │ ├── bitter-regular-webfont.ttf │ ├── junge-regular-webfont.eot │ ├── junge-regular-webfont.ttf │ ├── junge-regular-webfont.woff │ └── bitter-regular-webfont.woff ├── images │ ├── screenshots │ │ ├── post.png │ │ └── homepage.png │ ├── theme │ │ ├── btn-menu.png │ │ ├── btn-more.png │ │ ├── btn-search.png │ │ ├── cc-by-sa.png │ │ ├── btn-more-small.png │ │ ├── noisy_texture_F9F9F9.png │ │ ├── noisy_texture_section0-200x200.png │ │ └── noisy_texture_section1-200x200.png │ └── simple-icons │ │ ├── vk-48.png │ │ ├── gmail-48.png │ │ ├── rss-48.png │ │ ├── github-48.png │ │ ├── twitter-48.png │ │ ├── facebook-48.png │ │ ├── instagram-48.png │ │ ├── linkedin-48.png │ │ └── stackoverflow-48.png └── javascripts │ ├── unveil │ ├── loader.gif │ └── jquery.unveil.min.js │ ├── fancybox │ ├── blank.gif │ ├── fancybox_loading.gif │ ├── fancybox_overlay.png │ ├── fancybox_sprite.png │ ├── fancybox_loading@2x.gif │ ├── fancybox_sprite@2x.png │ ├── helpers │ │ ├── fancybox_buttons.png │ │ ├── jquery.fancybox-thumbs.css │ │ ├── jquery.fancybox-buttons.css │ │ ├── jquery.fancybox-buttons.js │ │ ├── jquery.fancybox-thumbs.js │ │ └── jquery.fancybox-media.js │ └── jquery.fancybox.css │ ├── jquery.easing.min.js │ ├── jekyll-search.jquery.js │ ├── jquery.fullpage.min.css.map │ ├── modernizr-2.8.3.min.js │ ├── pace.min.js │ └── jquery.fullPage.min.js ├── blog ├── index.html ├── categories │ └── index.html └── tags │ └── index.html ├── _includes ├── common │ ├── notices.html │ ├── gtm-body.html │ ├── gtm-head.html │ ├── addthis.html │ ├── meta.html │ ├── libraries.html │ └── disqus.html ├── helpers │ ├── pages_list │ ├── categories_list │ ├── tags_list │ └── posts_collate ├── blog │ ├── overlay.html │ ├── header.html │ ├── footer.html │ └── scripts.html └── home │ └── scripts.html ├── .gitignore ├── Gemfile ├── _posts ├── 2013-04-22-hello-world.md ├── 2017-05-27-code-highlighting.md └── 2017-05-25-quick-kramdown-demo.md ├── _sass ├── simple-texture │ ├── home │ │ ├── _variables.scss │ │ ├── _responsive.scss │ │ └── _fullpage.scss │ ├── blog │ │ ├── _variables.scss │ │ ├── _footer.scss │ │ ├── _responsive.scss │ │ ├── _header.scss │ │ ├── _overlay.scss │ │ └── _content.scss │ └── common │ │ ├── _fonts.scss │ │ ├── _social-icons.scss │ │ ├── _normalize.scss │ │ ├── _helper.scss │ │ ├── _pace.scss │ │ ├── _highlight.scss │ │ └── _animate.scss ├── simple-texture-blog.scss └── simple-texture-home.scss ├── search.json ├── _layouts ├── redirect.html ├── page.html ├── blog.html ├── home.html └── post.html ├── jekyll-theme-simple-texture.gemspec ├── LICENSE ├── _config.yml ├── _data └── i18n.yml └── README.md /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: home 3 | --- 4 | -------------------------------------------------------------------------------- /starter-kit/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: home 3 | --- 4 | -------------------------------------------------------------------------------- /assets/stylesheets/blog.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | @import 'simple-texture-blog'; 4 | -------------------------------------------------------------------------------- /assets/stylesheets/home.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | @import 'simple-texture-home'; 4 | -------------------------------------------------------------------------------- /assets/fonts/ubuntu-c-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/ubuntu-c-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/ubuntu-c-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/ubuntu-c-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/ubuntu-c-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/ubuntu-c-webfont.woff -------------------------------------------------------------------------------- /assets/images/screenshots/post.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/screenshots/post.png -------------------------------------------------------------------------------- /assets/images/theme/btn-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/btn-menu.png -------------------------------------------------------------------------------- /assets/images/theme/btn-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/btn-more.png -------------------------------------------------------------------------------- /assets/images/theme/btn-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/btn-search.png -------------------------------------------------------------------------------- /assets/images/theme/cc-by-sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/cc-by-sa.png -------------------------------------------------------------------------------- /assets/images/simple-icons/vk-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/vk-48.png -------------------------------------------------------------------------------- /assets/javascripts/unveil/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/unveil/loader.gif -------------------------------------------------------------------------------- /starter-kit/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'jekyll-theme-simple-texture' 4 | gem "github-pages", group: :jekyll_plugins 5 | -------------------------------------------------------------------------------- /assets/fonts/bitter-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/bitter-regular-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/bitter-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/bitter-regular-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/junge-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/junge-regular-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/junge-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/junge-regular-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/junge-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/junge-regular-webfont.woff -------------------------------------------------------------------------------- /assets/images/screenshots/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/screenshots/homepage.png -------------------------------------------------------------------------------- /assets/images/simple-icons/gmail-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/gmail-48.png -------------------------------------------------------------------------------- /assets/images/simple-icons/rss-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/rss-48.png -------------------------------------------------------------------------------- /assets/images/theme/btn-more-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/btn-more-small.png -------------------------------------------------------------------------------- /assets/javascripts/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/blank.gif -------------------------------------------------------------------------------- /assets/fonts/bitter-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/fonts/bitter-regular-webfont.woff -------------------------------------------------------------------------------- /assets/images/simple-icons/github-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/github-48.png -------------------------------------------------------------------------------- /assets/images/simple-icons/twitter-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/twitter-48.png -------------------------------------------------------------------------------- /assets/images/simple-icons/facebook-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/facebook-48.png -------------------------------------------------------------------------------- /assets/images/simple-icons/instagram-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/instagram-48.png -------------------------------------------------------------------------------- /assets/images/simple-icons/linkedin-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/linkedin-48.png -------------------------------------------------------------------------------- /assets/images/theme/noisy_texture_F9F9F9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/noisy_texture_F9F9F9.png -------------------------------------------------------------------------------- /assets/images/simple-icons/stackoverflow-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/simple-icons/stackoverflow-48.png -------------------------------------------------------------------------------- /assets/javascripts/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /assets/javascripts/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /assets/javascripts/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /assets/javascripts/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /assets/javascripts/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /assets/images/theme/noisy_texture_section0-200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/noisy_texture_section0-200x200.png -------------------------------------------------------------------------------- /assets/images/theme/noisy_texture_section1-200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/images/theme/noisy_texture_section1-200x200.png -------------------------------------------------------------------------------- /assets/javascripts/fancybox/helpers/fancybox_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yizeng/jekyll-theme-simple-texture/HEAD/assets/javascripts/fancybox/helpers/fancybox_buttons.png -------------------------------------------------------------------------------- /blog/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title : All Posts 4 | header : All Posts 5 | group: navigation 6 | --- 7 | {% assign posts_collate = site.posts %} 8 | {% include helpers/posts_collate %} 9 | -------------------------------------------------------------------------------- /starter-kit/blog/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title : All Posts 4 | header : All Posts 5 | group: navigation 6 | --- 7 | {% assign posts_collate = site.posts %} 8 | {% include helpers/posts_collate %} 9 | -------------------------------------------------------------------------------- /_includes/common/notices.html: -------------------------------------------------------------------------------- 1 | 4 | 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | .sass-cache 4 | _site 5 | Gemfile.lock 6 | 7 | Thumbs.db 8 | .DS_Store 9 | 10 | .rbenv-version 11 | .rvmrc 12 | /node_modules 13 | /yarn-error.log 14 | yarn.lock 15 | 16 | # Ignore Yard Doc 17 | /doc 18 | .yardoc/ 19 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | gemspec 3 | 4 | # If you've just forked the repo, 5 | # please remove the content above and uncomment the following before bundling. 6 | # 7 | # source "https://rubygems.org" 8 | 9 | # gem "github-pages", group: :jekyll_plugins 10 | -------------------------------------------------------------------------------- /_includes/common/gtm-body.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /_posts/2013-04-22-hello-world.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Hello World!" 4 | description: "The first 'Hello world' post for Simple Texture theme." 5 | categories: [uncategorized] 6 | tags: [random, jekyll] 7 | redirect_from: 8 | - /2013/04/22/ 9 | --- 10 | Hello World! This is the beginning of this theme. -------------------------------------------------------------------------------- /starter-kit/_posts/2013-04-22-hello-world.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Hello World!" 4 | description: "The first 'Hello world' post for Simple Texture theme." 5 | categories: [uncategorized] 6 | tags: [random, jekyll] 7 | redirect_from: 8 | - /2013/04/22/ 9 | --- 10 | Hello World! This is the beginning of this theme. -------------------------------------------------------------------------------- /_sass/simple-texture/home/_variables.scss: -------------------------------------------------------------------------------- 1 | $color-text-dark: #2D2D2D; 2 | $color-text-light: #FFFFFF; 3 | $color-hover: #FF9900; 4 | $color-hover-transparent: rgba(255, 153, 0, .8); 5 | $color-background-dark: rgba(0, 0, 0, .5); 6 | $color-background-light: rgba(255, 255, 255, .1); 7 | $fonts-body: 'Junge Regular', 'Times New Roman', Georgia, serif; -------------------------------------------------------------------------------- /search.json: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | [ 4 | {% for post in site.posts %} 5 | { 6 | "title" : "{{ post.title | escape }}", 7 | "url" : "{{ post.url }}", 8 | "date" : "{{ post.date }}", 9 | "shortdate" : "{{ post.date | date: '%B %d, %Y' }}" 10 | } {% if forloop.last %}{% else %},{% endif %} 11 | {% endfor %} 12 | ] -------------------------------------------------------------------------------- /starter-kit/search.json: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | [ 4 | {% for post in site.posts %} 5 | { 6 | "title" : "{{ post.title | escape }}", 7 | "url" : "{{ post.url }}", 8 | "date" : "{{ post.date }}", 9 | "shortdate" : "{{ post.date | date: '%B %d, %Y' }}" 10 | } {% if forloop.last %}{% else %},{% endif %} 11 | {% endfor %} 12 | ] -------------------------------------------------------------------------------- /_layouts/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
Theme Simple Texture developed by Yi Zeng, powered by Jekyll.
' 29 | view: 'View' 30 | en-us: 31 | <<: *en 32 | en-gb: 33 | <<: *en 34 | en-au: 35 | <<: *en 36 | en-ca: 37 | <<: *en 38 | en-nz: 39 | <<: *en 40 | zh: &zh 41 | about: '关于' 42 | articles: '文章列表' 43 | back_to_top: '返回顶部' 44 | categories: '文章分类' 45 | close: '关闭' 46 | enter_blog: '进入博客' 47 | last_updated: '最后更新于' 48 | menu: '菜单' 49 | more: '更多' 50 | next_post: '下一篇' 51 | notice_no_js: '本网站需要 JavaScript。请查阅指南来给您的浏览器开启 JavaScript 功能。' 52 | notice_old_ie: '您正在使用一个过时的网页浏览器。请升级您的浏览器或开启 Google Chrome Frame 来提高用户体验。' 53 | page_404_content: '页面将在数秒内自动跳转回 首页' 54 | page_404_heading: '对不起,无法找到该页。' 55 | previous_post: '上一篇' 56 | published: '发表信息' 57 | redirecting: '跳转中...' 58 | search: '搜索' 59 | search_not_found: '啊哈本博客主题 Simple Texture 由 Yi Zeng 基于 Jekyll 开发.
' 69 | view: '查阅' 70 | zh-cn: 71 | <<: *zh 72 | zh-hk: 73 | <<: *zh # Not Properly Translated Yet. 74 | zh-tw: 75 | <<: *zh # Not Properly Translated Yet. 76 | -------------------------------------------------------------------------------- /starter-kit/_data/i18n.yml: -------------------------------------------------------------------------------- 1 | en: &en 2 | about: 'About' 3 | articles: 'Articles' 4 | back_to_top: 'Back to Top' 5 | categories: 'Categories' 6 | close: 'Close' 7 | enter_blog: 'Enter Blog' 8 | last_updated: 'Last updated' 9 | menu: 'Menu' 10 | more: 'More' 11 | next_post: 'Next Post' 12 | notice_no_js: 'This site requires JavaScript. Here are the instructions how to enable JavaScript in your web browser.' 13 | notice_old_ie: 'You are using an outdated browser. Please upgrade your browser or activate Google Chrome Frame to improve your experience.' 14 | page_404_content: 'You will be redirected to homepage in few seconds.' 15 | page_404_heading: 'Sorry, the page is not found.' 16 | published: 'Published' 17 | redirecting: 'Redirecting...' 18 | search: 'Search' 19 | search_not_found: 'Oh shucksTheme Simple Texture developed by Yi Zeng, powered by Jekyll.
' 29 | view: 'View' 30 | en-us: 31 | <<: *en 32 | en-gb: 33 | <<: *en 34 | en-au: 35 | <<: *en 36 | en-ca: 37 | <<: *en 38 | en-nz: 39 | <<: *en 40 | zh: &zh 41 | about: '关于' 42 | articles: '文章列表' 43 | back_to_top: '返回顶部' 44 | categories: '文章分类' 45 | close: '关闭' 46 | enter_blog: '进入博客' 47 | last_updated: '最后更新于' 48 | menu: '菜单' 49 | more: '更多' 50 | next_post: '下一篇' 51 | notice_no_js: '本网站需要 JavaScript。请查阅指南来给您的浏览器开启 JavaScript 功能。' 52 | notice_old_ie: '您正在使用一个过时的网页浏览器。请升级您的浏览器或开启 Google Chrome Frame 来提高用户体验。' 53 | page_404_content: '页面将在数秒内自动跳转回 首页' 54 | page_404_heading: '对不起,无法找到该页。' 55 | previous_post: '上一篇' 56 | published: '发表信息' 57 | redirecting: '跳转中...' 58 | search: '搜索' 59 | search_not_found: '啊哈本博客主题 Simple Texture 由 Yi Zeng 基于 Jekyll 开发.
' 69 | view: '查阅' 70 | zh-cn: 71 | <<: *zh 72 | zh-hk: 73 | <<: *zh # Not Properly Translated Yet. 74 | zh-tw: 75 | <<: *zh # Not Properly Translated Yet. 76 | -------------------------------------------------------------------------------- /assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Buttons helper for fancyBox 3 | * version: 1.0.5 (Mon, 15 Oct 2012) 4 | * @requires fancyBox v2.0 or later 5 | * 6 | * Usage: 7 | * $(".fancybox").fancybox({ 8 | * helpers : { 9 | * buttons: { 10 | * position : 'top' 11 | * } 12 | * } 13 | * }); 14 | * 15 | */ 16 | (function ($) { 17 | //Shortcut for fancyBox object 18 | var F = $.fancybox; 19 | 20 | //Add helper object 21 | F.helpers.buttons = { 22 | defaults : { 23 | skipSingle : false, // disables if gallery contains single image 24 | position : 'top', // 'top' or 'bottom' 25 | tpl : '' 26 | }, 27 | 28 | list : null, 29 | buttons: null, 30 | 31 | beforeLoad: function (opts, obj) { 32 | //Remove self if gallery do not have at least two items 33 | 34 | if (opts.skipSingle && obj.group.length < 2) { 35 | obj.helpers.buttons = false; 36 | obj.closeBtn = true; 37 | 38 | return; 39 | } 40 | 41 | //Increase top margin to give space for buttons 42 | obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; 43 | }, 44 | 45 | onPlayStart: function () { 46 | if (this.buttons) { 47 | this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); 48 | } 49 | }, 50 | 51 | onPlayEnd: function () { 52 | if (this.buttons) { 53 | this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); 54 | } 55 | }, 56 | 57 | afterShow: function (opts, obj) { 58 | var buttons = this.buttons; 59 | 60 | if (!buttons) { 61 | this.list = $(opts.tpl).addClass(opts.position).appendTo('body'); 62 | 63 | buttons = { 64 | prev : this.list.find('.btnPrev').click( F.prev ), 65 | next : this.list.find('.btnNext').click( F.next ), 66 | play : this.list.find('.btnPlay').click( F.play ), 67 | toggle : this.list.find('.btnToggle').click( F.toggle ), 68 | close : this.list.find('.btnClose').click( F.close ) 69 | } 70 | } 71 | 72 | //Prev 73 | if (obj.index > 0 || obj.loop) { 74 | buttons.prev.removeClass('btnDisabled'); 75 | } else { 76 | buttons.prev.addClass('btnDisabled'); 77 | } 78 | 79 | //Next / Play 80 | if (obj.loop || obj.index < obj.group.length - 1) { 81 | buttons.next.removeClass('btnDisabled'); 82 | buttons.play.removeClass('btnDisabled'); 83 | 84 | } else { 85 | buttons.next.addClass('btnDisabled'); 86 | buttons.play.addClass('btnDisabled'); 87 | } 88 | 89 | this.buttons = buttons; 90 | 91 | this.onUpdate(opts, obj); 92 | }, 93 | 94 | onUpdate: function (opts, obj) { 95 | var toggle; 96 | 97 | if (!this.buttons) { 98 | return; 99 | } 100 | 101 | toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); 102 | 103 | //Size toggle button 104 | if (obj.canShrink) { 105 | toggle.addClass('btnToggleOn'); 106 | 107 | } else if (!obj.canExpand) { 108 | toggle.addClass('btnDisabled'); 109 | } 110 | }, 111 | 112 | beforeClose: function () { 113 | if (this.list) { 114 | this.list.remove(); 115 | } 116 | 117 | this.list = null; 118 | this.buttons = null; 119 | } 120 | }; 121 | 122 | }(jQuery)); 123 | -------------------------------------------------------------------------------- /_posts/2017-05-25-quick-kramdown-demo.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Quick kramdown demo" 4 | description: "A quick demo post to some kramdown features." 5 | categories: [demo] 6 | tags: [demo, jekyll] 7 | redirect_from: 8 | - /2017/05/25/ 9 | --- 10 | 11 | > This is [kramdown][kramdown] formatting test page for [Simple Texture][Simple Texture] theme. 12 | 13 | * Kramdown table of contents 14 | {:toc .toc} 15 | 16 | # General Usage 17 | 18 | This is a normal paragraph. 19 | 20 | This is [a link](https://yizeng.me) to my homepage. 21 | A [link](https://yizeng.me/blog "Yi Zeng's Blog") can also have a title. 22 | 23 | This is a ***text with light and strong emphasis***. 24 | 25 | This **is _emphasized_ as well**. 26 | 27 | This *does _not_ work*. 28 | 29 | This **does __not__ work either**. 30 | 31 | This is a footnote[^1]. 32 | 33 | This scarcely known tag emulates keyboard text, which is usually styled like the `` tag.
34 |
35 | This tag should denote inserted text.
36 |
37 | The emphasize tag should _italicize_ text.
38 |
39 | This tag will let you strikeout text.
40 |
41 | ## Blockquotes
42 |
43 | > ruby -v
44 | >
45 | > tsc -v
46 |
47 | ### Nested
48 |
49 | > This is a paragraph in blockquote.
50 | >
51 | > > A nested blockquote.
52 | >
53 |
54 | ### Lists inside
55 |
56 | > Unordered List
57 | > * lists one
58 | > * lists two
59 | > * lists three
60 | >
61 | > Ordered List
62 | > 1. lists one
63 | > 2. lists two
64 | > 3. lists three
65 |
66 | ### Long lines
67 |
68 | > Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.
69 |
70 | ## Lists
71 |
72 | * list 1 item 1
73 | * nested list item 1
74 | * nested list item 2
75 | * nested list item 3 with blockquote
76 | > ruby -v
77 | >
78 | > tsc -v
79 | * list 1 item 2
80 | * list 1 item 3
81 |
82 | ## Tables
83 |
84 |
85 | * Table 1
86 |
87 | |-----------------+------------+-----------------+----------------|
88 | | Default aligned |Left aligned| Center aligned | Right aligned |
89 | |-----------------|:-----------|:---------------:|---------------:|
90 | | First body part |Second cell | Third cell | fourth cell |
91 | | Second line |foo | **strong** | baz |
92 | | Third line |quux | baz | bar |
93 | | Footer row | | | |
94 | |-----------------+------------+-----------------+----------------|
95 |
96 | * Table 2
97 |
98 | |---
99 | | Default aligned | Left aligned | Center aligned | Right aligned
100 | |-|:-|:-:|-:
101 | | First body part | Second cell | Third cell | fourth cell
102 | | Second line |foo | **strong** | baz
103 | | Third line |quux | baz | bar
104 | | Footer row
105 |
106 | ## Horizontal Rules
107 |
108 | * * *
109 |
110 | ---
111 |
112 | _ _ _ _
113 |
114 | ---------------
115 |
116 | ## Images
117 |
118 | Here comes an image!
119 |
120 |
121 |
122 |
123 |
124 | [^1]: This is a footnote.
125 |
126 | [kramdown]: https://kramdown.gettalong.org/
127 | [Simple Texture]: https://github.com/yizeng/jekyll-theme-simple-texture
--------------------------------------------------------------------------------
/starter-kit/_posts/2017-05-25-quick-kramdown-demo.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: post
3 | title: "Quick kramdown demo"
4 | description: "A quick demo post to some kramdown features."
5 | categories: [demo]
6 | tags: [demo, jekyll]
7 | redirect_from:
8 | - /2017/05/25/
9 | ---
10 |
11 | > This is [kramdown][kramdown] formatting test page for [Simple Texture][Simple Texture] theme.
12 |
13 | * Kramdown table of contents
14 | {:toc .toc}
15 |
16 | # General Usage
17 |
18 | This is a normal paragraph.
19 |
20 | This is [a link](https://yizeng.me) to my homepage.
21 | A [link](https://yizeng.me/blog "Yi Zeng's Blog") can also have a title.
22 |
23 | This is a ***text with light and strong emphasis***.
24 |
25 | This **is _emphasized_ as well**.
26 |
27 | This *does _not_ work*.
28 |
29 | This **does __not__ work either**.
30 |
31 | This is a footnote[^1].
32 |
33 | This scarcely known tag emulates keyboard text, which is usually styled like the `` tag.
34 |
35 | This tag should denote inserted text.
36 |
37 | The emphasize tag should _italicize_ text.
38 |
39 | This tag will let you strikeout text.
40 |
41 | ## Blockquotes
42 |
43 | > ruby -v
44 | >
45 | > tsc -v
46 |
47 | ### Nested
48 |
49 | > This is a paragraph in blockquote.
50 | >
51 | > > A nested blockquote.
52 | >
53 |
54 | ### Lists inside
55 |
56 | > Unordered List
57 | > * lists one
58 | > * lists two
59 | > * lists three
60 | >
61 | > Ordered List
62 | > 1. lists one
63 | > 2. lists two
64 | > 3. lists three
65 |
66 | ### Long lines
67 |
68 | > Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.
69 |
70 | ## Lists
71 |
72 | * list 1 item 1
73 | * nested list item 1
74 | * nested list item 2
75 | * nested list item 3 with blockquote
76 | > ruby -v
77 | >
78 | > tsc -v
79 | * list 1 item 2
80 | * list 1 item 3
81 |
82 | ## Tables
83 |
84 |
85 | * Table 1
86 |
87 | |-----------------+------------+-----------------+----------------|
88 | | Default aligned |Left aligned| Center aligned | Right aligned |
89 | |-----------------|:-----------|:---------------:|---------------:|
90 | | First body part |Second cell | Third cell | fourth cell |
91 | | Second line |foo | **strong** | baz |
92 | | Third line |quux | baz | bar |
93 | | Footer row | | | |
94 | |-----------------+------------+-----------------+----------------|
95 |
96 | * Table 2
97 |
98 | |---
99 | | Default aligned | Left aligned | Center aligned | Right aligned
100 | |-|:-|:-:|-:
101 | | First body part | Second cell | Third cell | fourth cell
102 | | Second line |foo | **strong** | baz
103 | | Third line |quux | baz | bar
104 | | Footer row
105 |
106 | ## Horizontal Rules
107 |
108 | * * *
109 |
110 | ---
111 |
112 | _ _ _ _
113 |
114 | ---------------
115 |
116 | ## Images
117 |
118 | Here comes an image!
119 |
120 |
121 |
122 |
123 |
124 | [^1]: This is a footnote.
125 |
126 | [kramdown]: https://kramdown.gettalong.org/
127 | [Simple Texture]: https://github.com/yizeng/jekyll-theme-simple-texture
--------------------------------------------------------------------------------
/assets/javascripts/jekyll-search.jquery.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | $.fn.simpleJekyllSearch = function(options) {
3 | var settings = $.extend({
4 | jsonFile : '/search.json',
5 | template : '{title}',
6 | searchResults : '.results',
7 | searchResultsTitle : 'Search results
',
8 | limit : '10',
9 | noResults : 'Oh shucks
Nothing found :(
'
10 | }, options);
11 |
12 | var jsonData = [],
13 | origThis = this,
14 | searchResults = $(settings.searchResults);
15 |
16 | var matches = [];
17 |
18 | if(settings.jsonFile.length && searchResults.length){
19 | $.ajax({
20 | type: "GET",
21 | url: settings.jsonFile,
22 | dataType: 'json',
23 | success: function(data, textStatus, jqXHR) {
24 | jsonData = data;
25 | registerEvent();
26 | },
27 | error: function(x,y,z) {
28 | console.log("***ERROR in simpleJekyllSearch.js***");
29 | console.log(x);
30 | console.log(y);
31 | console.log(z);
32 | // x.responseText should have what's wrong
33 | }
34 | });
35 | }
36 |
37 | function registerEvent(){
38 | origThis.keyup(function(e){
39 | if(e.which === 13){
40 | if(matches)
41 | window.location = matches[0].url;
42 |
43 | //follow the first link
44 | // if(searchResults.children().length)
45 | }
46 | if($(this).val().length){
47 | writeMatches( performSearch($(this).val()) );
48 | }else{
49 | clearSearchResults();
50 | }
51 | });
52 | }
53 |
54 | function performSearch(str){
55 | matches = [];
56 |
57 | for (var i = 0; i < jsonData.length; i++) {
58 | var obj = jsonData[i];
59 | for (key in obj) {
60 | if(obj.hasOwnProperty(key)){
61 | if (obj[key] instanceof Array){
62 | var seen = false;
63 | for (var j = 0; j < obj[key].length; j++){
64 | if(obj[key][j].toLowerCase().indexOf(str.toLowerCase()) >= 0){
65 | matches.push(obj);
66 | break;
67 | }
68 | }
69 | }else if (obj[key].toLowerCase().indexOf(str.toLowerCase()) >= 0){
70 | matches.push(obj);
71 | break;
72 | }
73 | }
74 | }
75 | }
76 | return matches;
77 | }
78 |
79 | function writeMatches(m){
80 | clearSearchResults();
81 |
82 | searchResults.append( $(settings.searchResultsTitle) );
83 |
84 | if(m && m.length){
85 | for (var i = 0; i < m.length && i < settings.limit; i++) {
86 | var obj = m[i];
87 | output = settings.template;
88 | output = output.replace(/\{(.*?)\}/g, function(match, property) {
89 | return obj[property];
90 | });
91 | searchResults.append($(output));
92 | }
93 | }else{
94 | searchResults.append( settings.noResults );
95 | }
96 | }
97 | function clearSearchResults(){
98 | searchResults.children().remove();
99 | }
100 | }
101 | }(jQuery));
102 |
--------------------------------------------------------------------------------
/_sass/simple-texture/common/_highlight.scss:
--------------------------------------------------------------------------------
1 | .highlight .hll { background-color: #49483e }
2 | .highlight { background: #272822; color: #f8f8f2 }
3 | .highlight .c { color: #75715e } /* Comment */
4 | .highlight .k { color: #66d9ef } /* Keyword */
5 | .highlight .l { color: #ae81ff } /* Literal */
6 | .highlight .n { color: #f8f8f2 } /* Name */
7 | .highlight .o { color: #f92672 } /* Operator */
8 | .highlight .p { color: #f8f8f2 } /* Punctuation */
9 | .highlight .ch { color: #75715e } /* Comment.Hashbang */
10 | .highlight .cm { color: #75715e } /* Comment.Multiline */
11 | .highlight .cp { color: #75715e } /* Comment.Preproc */
12 | .highlight .cpf { color: #75715e } /* Comment.PreprocFile */
13 | .highlight .c1 { color: #75715e } /* Comment.Single */
14 | .highlight .cs { color: #75715e } /* Comment.Special */
15 | .highlight .gd { color: #f92672 } /* Generic.Deleted */
16 | .highlight .ge { font-style: italic } /* Generic.Emph */
17 | .highlight .gi { color: #a6e22e } /* Generic.Inserted */
18 | .highlight .gs { font-weight: bold } /* Generic.Strong */
19 | .highlight .gu { color: #75715e } /* Generic.Subheading */
20 | .highlight .kc { color: #66d9ef } /* Keyword.Constant */
21 | .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
22 | .highlight .kn { color: #f92672 } /* Keyword.Namespace */
23 | .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
24 | .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
25 | .highlight .kt { color: #66d9ef } /* Keyword.Type */
26 | .highlight .ld { color: #e6db74 } /* Literal.Date */
27 | .highlight .m { color: #ae81ff } /* Literal.Number */
28 | .highlight .s { color: #e6db74 } /* Literal.String */
29 | .highlight .na { color: #a6e22e } /* Name.Attribute */
30 | .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
31 | .highlight .nc { color: #a6e22e } /* Name.Class */
32 | .highlight .no { color: #66d9ef } /* Name.Constant */
33 | .highlight .nd { color: #a6e22e } /* Name.Decorator */
34 | .highlight .ni { color: #f8f8f2 } /* Name.Entity */
35 | .highlight .ne { color: #a6e22e } /* Name.Exception */
36 | .highlight .nf { color: #a6e22e } /* Name.Function */
37 | .highlight .nl { color: #f8f8f2 } /* Name.Label */
38 | .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
39 | .highlight .nx { color: #a6e22e } /* Name.Other */
40 | .highlight .py { color: #f8f8f2 } /* Name.Property */
41 | .highlight .nt { color: #f92672 } /* Name.Tag */
42 | .highlight .nv { color: #f8f8f2 } /* Name.Variable */
43 | .highlight .ow { color: #f92672 } /* Operator.Word */
44 | .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
45 | .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
46 | .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
47 | .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
48 | .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
49 | .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
50 | .highlight .sa { color: #e6db74 } /* Literal.String.Affix */
51 | .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
52 | .highlight .sc { color: #e6db74 } /* Literal.String.Char */
53 | .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
54 | .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
55 | .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
56 | .highlight .se { color: #ae81ff } /* Literal.String.Escape */
57 | .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
58 | .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
59 | .highlight .sx { color: #e6db74 } /* Literal.String.Other */
60 | .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
61 | .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
62 | .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
63 | .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
64 | .highlight .fm { color: #a6e22e } /* Name.Function.Magic */
65 | .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
66 | .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
67 | .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
68 | .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
69 | .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
--------------------------------------------------------------------------------
/_sass/simple-texture-home.scss:
--------------------------------------------------------------------------------
1 | @import 'simple-texture/home/variables';
2 | @import 'simple-texture/common/normalize';
3 | @import 'simple-texture/common/animate';
4 | @import 'simple-texture/common/fonts';
5 | @import 'simple-texture/common/helper';
6 | @import 'simple-texture/common/pace';
7 | @import 'simple-texture/common/social-icons';
8 | @import 'simple-texture/home/fullpage';
9 |
10 | body {
11 | font-family: $fonts-body;
12 | font-size: 18px;
13 | line-height: 36px;
14 |
15 | color: $color-text-dark;
16 | }
17 |
18 | h1 {
19 | font-size: 5em;
20 |
21 | text-transform: uppercase;
22 | }
23 |
24 | h2 {
25 | font-size: 2.225em;
26 | }
27 |
28 | h3 {
29 | font-size: 1.725em;
30 | }
31 |
32 | .small,
33 | aside,
34 | small {
35 | font-size: .75em;
36 | }
37 |
38 | a:hover,
39 | a:link,
40 | a:visited {
41 | text-decoration: none;
42 | }
43 |
44 | button,
45 | input,
46 | optgroup,
47 | select,
48 | textarea {
49 | font-family: $fonts-body;
50 | }
51 |
52 | .site-notice {
53 | top: 0;
54 |
55 | width: 100%;
56 |
57 | text-align: center;
58 |
59 | background: $color-background-dark;
60 |
61 | a {
62 | color: $color-hover;
63 |
64 | &:hover {
65 | color: $color-hover-transparent;
66 | }
67 | }
68 | }
69 |
70 | #menu {
71 | display: none;
72 | }
73 |
74 | .section {
75 | text-align: center;
76 |
77 | span {
78 | padding: 0 10px 0 10px;
79 | }
80 | }
81 |
82 | #section0 {
83 | background: url('../images/theme/noisy_texture_section0-200x200.png') repeat 0 0 #F0F0F0;
84 | }
85 |
86 | #section1 {
87 | background: url('../images/theme/noisy_texture_section1-200x200.png') repeat 0 0 #150E1F;
88 | }
89 |
90 | #fullPage-nav {
91 | span {
92 | border: 1px solid #8A8A8A;
93 | }
94 |
95 | li .active span {
96 | background: #707070;
97 | }
98 | }
99 |
100 |
101 | .btn-light,
102 | .btn-dark {
103 | -webkit-transition: all .3s ease-in-out;
104 | -moz-transition: all .3s ease-in-out;
105 | -o-transition: all .3s ease-in-out;
106 | transition: all .3s ease-in-out;
107 | text-decoration: none;
108 |
109 | color: $color-text-light;
110 | border: 1px solid #150E1F;
111 | outline: none;
112 |
113 | &:hover {
114 | border: 1px solid $color-text-light;
115 | }
116 | }
117 |
118 | .btn-dark {
119 | background-color: $color-background-dark !important;
120 | &:hover,
121 | &:focus {
122 | background-color: $color-background-light !important;
123 | }
124 | }
125 |
126 | .btn-light {
127 | background-color: $color-background-light !important;
128 | &:hover,
129 | &:focus {
130 | background-color: $color-background-dark !important;
131 | }
132 | }
133 |
134 | .btn-enter {
135 | padding: 4px 6px 0 4px;
136 | }
137 |
138 | .btn-continue {
139 | position: absolute;
140 | z-index: 2;
141 | bottom: 0;
142 | left: 50%;
143 |
144 | display: inline-block;
145 |
146 | width: 32px;
147 | height: 32px;
148 | margin-left: -30px;
149 | padding: 12px;
150 |
151 | -webkit-transition: all .3s ease-in-out;
152 | -moz-transition: all .3s ease-in-out;
153 | -o-transition: all .3s ease-in-out;
154 | transition: all .3s ease-in-out;
155 | text-indent: -9999em;
156 |
157 | outline: none;
158 | background-image: url('../images/theme/btn-more.png');
159 | background-repeat: no-repeat;
160 | background-position: center center;
161 |
162 | -webkit-tap-highlight-color: rgba(0,0,0,0);
163 |
164 | &:hover {
165 | -webkit-animation-name: bounce;
166 | animation-name: bounce;
167 | }
168 | }
169 |
170 | .social-links {
171 | $icon-size: 64px;
172 | a {
173 | display: inline-block;
174 |
175 | width: $icon-size;
176 | height: $icon-size;
177 | margin: 18px;
178 |
179 | background-size: $icon-size $icon-size;
180 | }
181 | }
182 |
183 | @import 'simple-texture/home/responsive';
184 |
--------------------------------------------------------------------------------
/_sass/simple-texture/home/_fullpage.scss:
--------------------------------------------------------------------------------
1 | /* fullPage 1.6.6 */
2 | html,
3 | body {
4 | overflow: hidden;
5 |
6 | margin: 0;
7 | padding: 0;
8 | }
9 | #superContainer {
10 | position: relative;
11 |
12 | height: 100%;
13 | /* Touch detection for Windows 8 */
14 |
15 | -ms-touch-action: none;
16 | touch-action: none;
17 | }
18 | .section {
19 | position: relative;
20 |
21 | -webkit-box-sizing: border-box;
22 | -moz-box-sizing: border-box;
23 | box-sizing: border-box;
24 | }
25 | .slide {
26 | float: left;
27 | }
28 | .slide,
29 | .slidesContainer {
30 | display: block;
31 |
32 | height: 100%;
33 | }
34 | .slides {
35 | position: relative;
36 |
37 | overflow: hidden;
38 |
39 | height: 100%;
40 |
41 | -webkit-transition: all .3s ease-out;
42 | -moz-transition: all .3s ease-out;
43 | -o-transition: all .3s ease-out;
44 | transition: all .3s ease-out;
45 | }
46 | .section.table,
47 | .slide.table {
48 | display: table;
49 |
50 | width: 100%;
51 | }
52 | .tableCell {
53 | display: table-cell;
54 |
55 | width: 100%;
56 | height: 100%;
57 |
58 | vertical-align: middle;
59 | }
60 | .slidesContainer {
61 | position: relative;
62 |
63 | float: left;
64 | }
65 | .controlArrow {
66 | position: absolute;
67 | top: 50%;
68 |
69 | width: 0;
70 | height: 0;
71 | margin-top: -38px;
72 |
73 | cursor: pointer;
74 |
75 | border-style: solid;
76 | }
77 | .controlArrow.prev {
78 | left: 15px;
79 |
80 | width: 0;
81 |
82 | border-width: 38.5px 34px 38.5px 0;
83 | border-color: transparent #FFFFFF transparent transparent;
84 | }
85 | .controlArrow.next {
86 | right: 15px;
87 |
88 | border-width: 38.5px 0 38.5px 34px;
89 | border-color: transparent transparent transparent #FFFFFF;
90 | }
91 | .scrollable {
92 | overflow: scroll;
93 | }
94 | .easing {
95 | -webkit-transition: all .7s ease-out;
96 | -moz-transition: all .7s ease-out;
97 | -o-transition: all .7s ease-out;
98 | transition: all .7s ease-out;
99 | }
100 | #fullPage-nav {
101 | position: fixed;
102 | z-index: 100;
103 | top: 50%;
104 |
105 | margin-top: -32px;
106 |
107 | opacity: 1;
108 | }
109 | #fullPage-nav.right {
110 | right: 17px;
111 | }
112 | #fullPage-nav.left {
113 | left: 17px;
114 | }
115 | .fullPage-slidesNav {
116 | position: absolute;
117 | z-index: 4;
118 | left: 50%;
119 |
120 | opacity: 1;
121 | }
122 | .fullPage-slidesNav.bottom {
123 | bottom: 17px;
124 | }
125 | .fullPage-slidesNav.top {
126 | top: 17px;
127 | }
128 | #fullPage-nav ul,
129 | .fullPage-slidesNav ul {
130 | margin: 0;
131 | padding: 0;
132 | }
133 | #fullPage-nav li,
134 | .fullPage-slidesNav li {
135 | position: relative;
136 |
137 | display: block;
138 |
139 | width: 14px;
140 | height: 13px;
141 | margin: 7px;
142 | }
143 | .fullPage-slidesNav li {
144 | display: inline-block;
145 | }
146 | #fullPage-nav li a,
147 | .fullPage-slidesNav li a {
148 | position: relative;
149 | z-index: 1;
150 |
151 | display: block;
152 |
153 | width: 100%;
154 | height: 100%;
155 |
156 | cursor: pointer;
157 | text-decoration: none;
158 | }
159 | #fullPage-nav li .active span,
160 | .fullPage-slidesNav .active span {
161 | background: #333333;
162 | }
163 | #fullPage-nav span,
164 | .fullPage-slidesNav span {
165 | position: absolute;
166 | z-index: 1;
167 | top: 2px;
168 | left: 2px;
169 |
170 | width: 8px;
171 | height: 8px;
172 |
173 | border: 1px solid #000000;
174 | -webkit-border-radius: 50%;
175 | -moz-border-radius: 50%;
176 | border-radius: 50%;
177 | background: rgba(0, 0, 0, 0);
178 | }
179 | .fullPage-tooltip {
180 | font-family: arial, helvetica, sans-serif;
181 | font-size: 14px;
182 |
183 | position: absolute;
184 | top: -2px;
185 |
186 | color: #FFFFFF;
187 | }
188 | .fullPage-tooltip.right {
189 | right: 20px;
190 | }
191 | .fullPage-tooltip.left {
192 | left: 20px;
193 | }
194 |
--------------------------------------------------------------------------------
/_sass/simple-texture/common/_animate.scss:
--------------------------------------------------------------------------------
1 | /*! Animate.css - http://daneden.me/animate */
2 |
3 | .animated {
4 | -webkit-animation-duration: 1s;
5 | animation-duration: 1s;
6 |
7 | -webkit-animation-fill-mode: both;
8 | animation-fill-mode: both;
9 | }
10 |
11 | @-webkit-keyframes bounce {
12 | 0%,
13 | 20%,
14 | 50%,
15 | 80%,
16 | 100% {
17 | -webkit-transform: translateY(0);
18 | transform: translateY(0);
19 | }
20 |
21 | 40% {
22 | -webkit-transform: translateY(-30px);
23 | transform: translateY(-30px);
24 | }
25 |
26 | 60% {
27 | -webkit-transform: translateY(-15px);
28 | transform: translateY(-15px);
29 | }
30 | }
31 |
32 | @keyframes bounce {
33 | 0%,
34 | 20%,
35 | 50%,
36 | 80%,
37 | 100% {
38 | -webkit-transform: translateY(0);
39 | -ms-transform: translateY(0);
40 | transform: translateY(0);
41 | }
42 |
43 | 40% {
44 | -webkit-transform: translateY(-30px);
45 | -ms-transform: translateY(-30px);
46 | transform: translateY(-30px);
47 | }
48 |
49 | 60% {
50 | -webkit-transform: translateY(-15px);
51 | -ms-transform: translateY(-15px);
52 | transform: translateY(-15px);
53 | }
54 | }
55 |
56 | .bounce {
57 | -webkit-animation-name: bounce;
58 | animation-name: bounce;
59 | }
60 |
61 | @-webkit-keyframes fadeInDown {
62 | 0% {
63 | -webkit-transform: translateY(-20px);
64 | transform: translateY(-20px);
65 |
66 | opacity: 0;
67 | }
68 |
69 | 100% {
70 | -webkit-transform: translateY(0);
71 | transform: translateY(0);
72 |
73 | opacity: 1;
74 | }
75 | }
76 |
77 | @keyframes fadeInDown {
78 | 0% {
79 | -webkit-transform: translateY(-20px);
80 | -ms-transform: translateY(-20px);
81 | transform: translateY(-20px);
82 |
83 | opacity: 0;
84 | }
85 |
86 | 100% {
87 | -webkit-transform: translateY(0);
88 | -ms-transform: translateY(0);
89 | transform: translateY(0);
90 |
91 | opacity: 1;
92 | }
93 | }
94 |
95 | .fadeInDown {
96 | -webkit-animation-name: fadeInDown;
97 | animation-name: fadeInDown;
98 | }
99 |
100 | @-webkit-keyframes fadeInLeft {
101 | 0% {
102 | -webkit-transform: translateX(-20px);
103 | transform: translateX(-20px);
104 |
105 | opacity: 0;
106 | }
107 |
108 | 100% {
109 | -webkit-transform: translateX(0);
110 | transform: translateX(0);
111 |
112 | opacity: 1;
113 | }
114 | }
115 |
116 | @keyframes fadeInLeft {
117 | 0% {
118 | -webkit-transform: translateX(-20px);
119 | -ms-transform: translateX(-20px);
120 | transform: translateX(-20px);
121 |
122 | opacity: 0;
123 | }
124 |
125 | 100% {
126 | -webkit-transform: translateX(0);
127 | -ms-transform: translateX(0);
128 | transform: translateX(0);
129 |
130 | opacity: 1;
131 | }
132 | }
133 |
134 | .fadeInLeft {
135 | -webkit-animation-name: fadeInLeft;
136 | animation-name: fadeInLeft;
137 | }
138 |
139 | @-webkit-keyframes fadeInUp {
140 | 0% {
141 | -webkit-transform: translateY(20px);
142 | transform: translateY(20px);
143 |
144 | opacity: 0;
145 | }
146 |
147 | 100% {
148 | -webkit-transform: translateY(0);
149 | transform: translateY(0);
150 |
151 | opacity: 1;
152 | }
153 | }
154 |
155 | @keyframes fadeInUp {
156 | 0% {
157 | -webkit-transform: translateY(20px);
158 | -ms-transform: translateY(20px);
159 | transform: translateY(20px);
160 |
161 | opacity: 0;
162 | }
163 |
164 | 100% {
165 | -webkit-transform: translateY(0);
166 | -ms-transform: translateY(0);
167 | transform: translateY(0);
168 |
169 | opacity: 1;
170 | }
171 | }
172 |
173 | .fadeInUp {
174 | -webkit-animation-name: fadeInUp;
175 | animation-name: fadeInUp;
176 | }
177 |
--------------------------------------------------------------------------------
/_sass/simple-texture/blog/_overlay.scss:
--------------------------------------------------------------------------------
1 | .site-notice {
2 | text-align: center;
3 |
4 | color: $color-text;
5 |
6 | a {
7 | font-size: .95em;
8 |
9 | padding-right: 3px;
10 | padding-left: 3px;
11 |
12 | color: #0077CC;
13 | border-bottom: 1px dotted #FFD18D;
14 |
15 | &:hover {
16 | -webkit-transition: all .3s ease-out;
17 | -moz-transition: all .3s ease-out;
18 | -o-transition: all .3s ease-out;
19 | transition: all .3s ease-out;
20 |
21 | color: $color-text;
22 | background-color: $color-hover;
23 | }
24 |
25 | &:visited {
26 | color: #4A6B82;
27 | }
28 | }
29 | }
30 |
31 | body.nav-overlay,
32 | body.search-overlay {
33 | overflow: hidden;
34 |
35 | &:after {
36 | position: fixed;
37 | z-index: 9001;
38 | top: 0;
39 | left: 0;
40 |
41 | width: 100%;
42 | height: 100%;
43 | min-height: 100%;
44 |
45 | content: '';
46 |
47 | background-color: rgba(25, 25, 25, .95);
48 | }
49 | }
50 |
51 | .overlay-wrapper {
52 | position: absolute;
53 | top: 50px;
54 |
55 | display: none;
56 | zoom: 1;
57 |
58 | width: 90%;
59 | padding-right: 5%;
60 | padding-left: 5%;
61 | }
62 |
63 | .overlay-form {
64 | position: relative;
65 | z-index: 9002;
66 | top: 0;
67 | left: -200px;
68 |
69 | width: 100%;
70 |
71 | opacity: 0;
72 |
73 | &.active {
74 | top: 0;
75 | left: 0;
76 |
77 | opacity: 1;
78 | }
79 |
80 | a,
81 | h1,
82 | h2,
83 | h3,
84 | h4,
85 | li,
86 | ol,
87 | dl,
88 | p,
89 | span,
90 | button,
91 | input {
92 | color: #FFFFFF;
93 | }
94 |
95 | .overlay-header {
96 | font-size: 2em;
97 |
98 | border: none;
99 | border-bottom: 1px solid #FFFFFF;
100 | background-color: transparent;
101 | }
102 |
103 | .search-field {
104 | width: 100%;
105 | padding-bottom: 12px;
106 |
107 | background-clip: padding-box;
108 | box-shadow: none;
109 |
110 | -webkit-appearance: none;
111 | -moz-appearance: none;
112 | appearance: none;
113 | }
114 |
115 | .menu {
116 | display: block;
117 |
118 | margin-left: 18px;
119 | padding-bottom: 16px;
120 |
121 | text-align: center;
122 | }
123 |
124 | .btn-close {
125 | position: absolute;
126 | z-index: 1;
127 | top: .6rem;
128 | right: 1rem;
129 |
130 | display: block;
131 |
132 | width: auto;
133 | height: auto;
134 |
135 | cursor: pointer;
136 | text-align: center;
137 |
138 | &:hover {
139 | font-weight: bold;
140 |
141 | -webkit-transition: all .3s ease-in-out;
142 | -moz-transition: all .3s ease-in-out;
143 | -o-transition: all .3s ease-in-out;
144 | transition: all .3s ease-in-out;
145 | }
146 | }
147 |
148 | .results {
149 | position: absolute;
150 |
151 | width: 100%;
152 | margin: 0;
153 | padding: 0;
154 |
155 | outline: 0;
156 | text-shadow: none;
157 |
158 | .entry-date {
159 | display: none;
160 | float: right;
161 | }
162 |
163 | li {
164 | font-size: 1em;
165 |
166 | margin-left: 12px;
167 | padding: 3px;
168 |
169 | &:hover {
170 | -webkit-transition: all .3s ease-in-out;
171 | -moz-transition: all .3s ease-in-out;
172 | -o-transition: all .3s ease-in-out;
173 | transition: all .3s ease-in-out;
174 |
175 | border: 1px dashed #FFFFFF;
176 | }
177 | }
178 | }
179 | }
180 |
181 | .nav-form .results {
182 | ul {
183 | padding: 0;
184 | li {
185 | list-style: none;
186 | a {
187 | display: block;
188 |
189 | margin-right: auto;
190 | margin-left: auto;
191 |
192 | text-align: center;
193 | }
194 | }
195 | }
196 | }
197 |
--------------------------------------------------------------------------------
/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Thumbnail helper for fancyBox
3 | * version: 1.0.7 (Mon, 01 Oct 2012)
4 | * @requires fancyBox v2.0 or later
5 | *
6 | * Usage:
7 | * $(".fancybox").fancybox({
8 | * helpers : {
9 | * thumbs: {
10 | * width : 50,
11 | * height : 50
12 | * }
13 | * }
14 | * });
15 | *
16 | */
17 | (function ($) {
18 | //Shortcut for fancyBox object
19 | var F = $.fancybox;
20 |
21 | //Add helper object
22 | F.helpers.thumbs = {
23 | defaults : {
24 | width : 50, // thumbnail width
25 | height : 50, // thumbnail height
26 | position : 'bottom', // 'top' or 'bottom'
27 | source : function ( item ) { // function to obtain the URL of the thumbnail image
28 | var href;
29 |
30 | if (item.element) {
31 | href = $(item.element).find('img').attr('src');
32 | }
33 |
34 | if (!href && item.type === 'image' && item.href) {
35 | href = item.href;
36 | }
37 |
38 | return href;
39 | }
40 | },
41 |
42 | wrap : null,
43 | list : null,
44 | width : 0,
45 |
46 | init: function (opts, obj) {
47 | var that = this,
48 | list,
49 | thumbWidth = opts.width,
50 | thumbHeight = opts.height,
51 | thumbSource = opts.source;
52 |
53 | //Build list structure
54 | list = '';
55 |
56 | for (var n = 0; n < obj.group.length; n++) {
57 | list += ' ';
58 | }
59 |
60 | this.wrap = $('').addClass(opts.position).appendTo('body');
61 | this.list = $('' + list + '
').appendTo(this.wrap);
62 |
63 | //Load each thumbnail
64 | $.each(obj.group, function (i) {
65 | var href = thumbSource( obj.group[ i ] );
66 |
67 | if (!href) {
68 | return;
69 | }
70 |
71 | $("
").load(function () {
72 | var width = this.width,
73 | height = this.height,
74 | widthRatio, heightRatio, parent;
75 |
76 | if (!that.list || !width || !height) {
77 | return;
78 | }
79 |
80 | //Calculate thumbnail width/height and center it
81 | widthRatio = width / thumbWidth;
82 | heightRatio = height / thumbHeight;
83 |
84 | parent = that.list.children().eq(i).find('a');
85 |
86 | if (widthRatio >= 1 && heightRatio >= 1) {
87 | if (widthRatio > heightRatio) {
88 | width = Math.floor(width / heightRatio);
89 | height = thumbHeight;
90 |
91 | } else {
92 | width = thumbWidth;
93 | height = Math.floor(height / widthRatio);
94 | }
95 | }
96 |
97 | $(this).css({
98 | width : width,
99 | height : height,
100 | top : Math.floor(thumbHeight / 2 - height / 2),
101 | left : Math.floor(thumbWidth / 2 - width / 2)
102 | });
103 |
104 | parent.width(thumbWidth).height(thumbHeight);
105 |
106 | $(this).hide().appendTo(parent).fadeIn(300);
107 |
108 | }).attr('src', href);
109 | });
110 |
111 | //Set initial width
112 | this.width = this.list.children().eq(0).outerWidth(true);
113 |
114 | this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)));
115 | },
116 |
117 | beforeLoad: function (opts, obj) {
118 | //Remove self if gallery do not have at least two items
119 | if (obj.group.length < 2) {
120 | obj.helpers.thumbs = false;
121 |
122 | return;
123 | }
124 |
125 | //Increase bottom margin to give space for thumbs
126 | obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15);
127 | },
128 |
129 | afterShow: function (opts, obj) {
130 | //Check if exists and create or update list
131 | if (this.list) {
132 | this.onUpdate(opts, obj);
133 |
134 | } else {
135 | this.init(opts, obj);
136 | }
137 |
138 | //Set active element
139 | this.list.children().removeClass('active').eq(obj.index).addClass('active');
140 | },
141 |
142 | //Center list
143 | onUpdate: function (opts, obj) {
144 | if (this.list) {
145 | this.list.stop(true).animate({
146 | 'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))
147 | }, 150);
148 | }
149 | },
150 |
151 | beforeClose: function () {
152 | if (this.wrap) {
153 | this.wrap.remove();
154 | }
155 |
156 | this.wrap = null;
157 | this.list = null;
158 | this.width = 0;
159 | }
160 | }
161 |
162 | }(jQuery));
--------------------------------------------------------------------------------
/_includes/blog/scripts.html:
--------------------------------------------------------------------------------
1 |
42 |
43 |
44 |
45 |
88 |
89 |
90 |
91 |
92 |
93 |
97 |
98 |
115 |
--------------------------------------------------------------------------------
/_layouts/post.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: blog
3 | ---
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{ page.title }}
11 |
12 |
13 |
14 |
15 |
16 |
46 |
47 | {{ content }}
48 |
49 |
50 |
51 |
69 |
70 | {% if site.disqus.shortname and page.comments != false %}
71 | {% include common/disqus.html %}
72 |
73 |
74 |
75 |
76 | {% endif %}
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Simple Texture Jekyll Theme
2 |
3 | 
4 |
5 | Simple Texture is a gem-based responsive simple texture styled Jekyll theme for [Jekyll][Jekyll] 3.3 or above,
6 | which can also be forked as a boilerplate for older versions of Jekyll.
7 |
8 | ## Demo
9 |
10 | - Starter-kit demo:
11 |
12 | - My own personal blog:
13 |
14 | 
15 |
16 | 
17 |
18 | ## Installation
19 |
20 | ### As a Jekyll theme gem (Jekyll >= 3.3)
21 |
22 | If you are creating a new website or blog,
23 | please follow the commands below first:
24 |
25 | 1. Install Jekyll and [Bundler][Bundler]
26 |
27 | gem install jekyll bundler
28 |
29 | 2. Create a new Jekyll app
30 |
31 | jekyll new jekyllapp
32 |
33 | 3. Enter the new directory
34 |
35 | cd jekyllapp
36 |
37 | 4. Then follow the instructions below like existing Jekyll app.
38 |
39 | Then for existing Jekyll apps,
40 |
41 | 1. Install Bundler if haven't done so.
42 |
43 | gem install bundler
44 |
45 | 1. Remove Jekyll auto-generated default pages `404.html`, `about.markdown` and `index.markdown` or any your custom layouts or existing theme files.
46 |
47 | 1. Remove the existing `Gemfile.lock`.
48 |
49 | 1. Download the respository [here](https://github.com/yizeng/jekyll-theme-simple-texture/archive/master.zip)
50 | and locate `starter-kit` folder,
51 | or download `starter-kit` folder directly [here](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/yizeng/jekyll-theme-simple-texture/tree/master/starter-kit).
52 |
53 | 1. Put everything in the `starter-kit` in the root directory,
54 | i.e. `jekyllapp` in this example.
55 |
56 | 1. Run `bundle install` to install dependencies.
57 |
58 | 1. Run Jekyll with `bundle exec jekyll serve`
59 |
60 | 1. Hack away at !
61 |
62 | ### As a fork
63 |
64 | 1. Fork the repo [here](https://github.com/yizeng/jekyll-theme-simple-texture#fork-destination-box)
65 |
66 | 2. Clone the repo just forked.
67 |
68 | git clone git@github.com:[YOUR_USERNAME]/jekyll-theme-simple-texture.git
69 |
70 | 3. Delete `starter-kit` folder and `jekyll-theme-simple-texture.gemspec` file (they're for people installing via gem)
71 |
72 | 4. Install Bundler if haven't done so.
73 |
74 | gem install bundler
75 |
76 | 5. Update the `Gemfile` to look like the following:
77 |
78 | ```ruby
79 | source "https://rubygems.org"
80 |
81 | gem "github-pages", group: :jekyll_plugins
82 | ```
83 |
84 | 6. Run `bundle install` to install dependencies.
85 |
86 | 7. Run Jekyll with `bundle exec jekyll serve`
87 |
88 | 8. Hack away at !
89 |
90 | ## Contributing
91 |
92 | Bug reports and pull requests are welcome on GitHub at . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
93 |
94 | ## Credits
95 |
96 | - [Jekyll][Jekyll]
97 | + [jekyll-feed](https://github.com/jekyll/jekyll-feed)
98 | + [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from)
99 | + [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
100 | + [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap)
101 | + [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
102 | + [Jekyll-Bootstrap](http://jekyllbootstrap.com/)
103 | + [theme-the-program](https://github.com/jekyllbootstrap/theme-the-program)
104 |
105 | - [Sass](http://sass-lang.com/)
106 | + [Normalize.css](https://necolas.github.io/normalize.css/)
107 | + [Animate.css](https://daneden.github.io/animate.css/)
108 | + [Simple Icons](https://simpleicons.org/)
109 | + [Noise Texture Generator](http://www.noisetexturegenerator.com/)
110 | - JavaScript
111 | + [cdnjs](https://cdnjs.com/)
112 | + [jQuery](https://jquery.com/)
113 | + [fullPage.js](https://alvarotrigo.com/fullPage/)
114 | + [pace.js](http://github.hubspot.com/pace/docs/welcome/)
115 | + [Modernizr](https://modernizr.com/)
116 | + [FancyBox](http://fancybox.net/)
117 | + [unveil.js](http://luis-almeida.github.io/unveil/)
118 | - Fonts
119 | + [Font Squirrel](https://www.fontsquirrel.com/)
120 | + [Bitter](https://fonts.google.com/specimen/Bitter)
121 | + [Junge](https://fonts.google.com/specimen/Junge)
122 | + [Ubuntu Condensed](https://fonts.google.com/specimen/Ubuntu+Condensed)
123 |
124 | ## License
125 |
126 | The theme is available as open source under the terms of the
127 | [MIT License](https://github.com/yizeng/jekyll-theme-simple-texture/blob/master/LICENSE).
128 |
129 | MIT License
130 |
131 | Copyright (c) 2017 Yi Zeng
132 |
133 | Permission is hereby granted, free of charge, to any person obtaining a copy
134 | of this software and associated documentation files (the "Software"), to deal
135 | in the Software without restriction, including without limitation the rights
136 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
137 | copies of the Software, and to permit persons to whom the Software is
138 | furnished to do so, subject to the following conditions:
139 |
140 | The above copyright notice and this permission notice shall be included in all
141 | copies or substantial portions of the Software.
142 |
143 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
144 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
145 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
146 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
147 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
148 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
149 | SOFTWARE.
150 |
151 | [Jekyll]: http://jekyllrb.com/
152 | [Bundler]: https://bundler.io/
153 |
--------------------------------------------------------------------------------
/assets/javascripts/fancybox/helpers/jquery.fancybox-media.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Media helper for fancyBox
3 | * version: 1.0.6 (Fri, 14 Jun 2013)
4 | * @requires fancyBox v2.0 or later
5 | *
6 | * Usage:
7 | * $(".fancybox").fancybox({
8 | * helpers : {
9 | * media: true
10 | * }
11 | * });
12 | *
13 | * Set custom URL parameters:
14 | * $(".fancybox").fancybox({
15 | * helpers : {
16 | * media: {
17 | * youtube : {
18 | * params : {
19 | * autoplay : 0
20 | * }
21 | * }
22 | * }
23 | * }
24 | * });
25 | *
26 | * Or:
27 | * $(".fancybox").fancybox({,
28 | * helpers : {
29 | * media: true
30 | * },
31 | * youtube : {
32 | * autoplay: 0
33 | * }
34 | * });
35 | *
36 | * Supports:
37 | *
38 | * Youtube
39 | * http://www.youtube.com/watch?v=opj24KnzrWo
40 | * http://www.youtube.com/embed/opj24KnzrWo
41 | * http://youtu.be/opj24KnzrWo
42 | * http://www.youtube-nocookie.com/embed/opj24KnzrWo
43 | * Vimeo
44 | * http://vimeo.com/40648169
45 | * http://vimeo.com/channels/staffpicks/38843628
46 | * http://vimeo.com/groups/surrealism/videos/36516384
47 | * http://player.vimeo.com/video/45074303
48 | * Metacafe
49 | * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
50 | * http://www.metacafe.com/watch/7635964/
51 | * Dailymotion
52 | * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
53 | * Twitvid
54 | * http://twitvid.com/QY7MD
55 | * Twitpic
56 | * http://twitpic.com/7p93st
57 | * Instagram
58 | * http://instagr.am/p/IejkuUGxQn/
59 | * http://instagram.com/p/IejkuUGxQn/
60 | * Google maps
61 | * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
62 | * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
63 | * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
64 | */
65 | (function ($) {
66 | "use strict";
67 |
68 | //Shortcut for fancyBox object
69 | var F = $.fancybox,
70 | format = function( url, rez, params ) {
71 | params = params || '';
72 |
73 | if ( $.type( params ) === "object" ) {
74 | params = $.param(params, true);
75 | }
76 |
77 | $.each(rez, function(key, value) {
78 | url = url.replace( '$' + key, value || '' );
79 | });
80 |
81 | if (params.length) {
82 | url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params;
83 | }
84 |
85 | return url;
86 | };
87 |
88 | //Add helper object
89 | F.helpers.media = {
90 | defaults : {
91 | youtube : {
92 | matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
93 | params : {
94 | autoplay : 1,
95 | autohide : 1,
96 | fs : 1,
97 | rel : 0,
98 | hd : 1,
99 | wmode : 'opaque',
100 | enablejsapi : 1
101 | },
102 | type : 'iframe',
103 | url : '//www.youtube.com/embed/$3'
104 | },
105 | vimeo : {
106 | matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
107 | params : {
108 | autoplay : 1,
109 | hd : 1,
110 | show_title : 1,
111 | show_byline : 1,
112 | show_portrait : 0,
113 | fullscreen : 1
114 | },
115 | type : 'iframe',
116 | url : '//player.vimeo.com/video/$1'
117 | },
118 | metacafe : {
119 | matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
120 | params : {
121 | autoPlay : 'yes'
122 | },
123 | type : 'swf',
124 | url : function( rez, params, obj ) {
125 | obj.swf.flashVars = 'playerVars=' + $.param( params, true );
126 |
127 | return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf';
128 | }
129 | },
130 | dailymotion : {
131 | matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
132 | params : {
133 | additionalInfos : 0,
134 | autoStart : 1
135 | },
136 | type : 'swf',
137 | url : '//www.dailymotion.com/swf/video/$1'
138 | },
139 | twitvid : {
140 | matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
141 | params : {
142 | autoplay : 0
143 | },
144 | type : 'iframe',
145 | url : '//www.twitvid.com/embed.php?guid=$1'
146 | },
147 | twitpic : {
148 | matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
149 | type : 'image',
150 | url : '//twitpic.com/show/full/$1/'
151 | },
152 | instagram : {
153 | matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
154 | type : 'image',
155 | url : '//$1/p/$2/media/?size=l'
156 | },
157 | google_maps : {
158 | matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
159 | type : 'iframe',
160 | url : function( rez ) {
161 | return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed');
162 | }
163 | }
164 | },
165 |
166 | beforeLoad : function(opts, obj) {
167 | var url = obj.href || '',
168 | type = false,
169 | what,
170 | item,
171 | rez,
172 | params;
173 |
174 | for (what in opts) {
175 | if (opts.hasOwnProperty(what)) {
176 | item = opts[ what ];
177 | rez = url.match( item.matcher );
178 |
179 | if (rez) {
180 | type = item.type;
181 | params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
182 |
183 | url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
184 |
185 | break;
186 | }
187 | }
188 | }
189 |
190 | if (type) {
191 | obj.href = url;
192 | obj.type = type;
193 |
194 | obj.autoHeight = false;
195 | }
196 | }
197 | };
198 |
199 | }(jQuery));
--------------------------------------------------------------------------------
/assets/javascripts/fancybox/jquery.fancybox.css:
--------------------------------------------------------------------------------
1 | /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
2 | .fancybox-wrap,
3 | .fancybox-skin,
4 | .fancybox-outer,
5 | .fancybox-inner,
6 | .fancybox-image,
7 | .fancybox-wrap iframe,
8 | .fancybox-wrap object,
9 | .fancybox-nav,
10 | .fancybox-nav span,
11 | .fancybox-tmp
12 | {
13 | padding: 0;
14 | margin: 0;
15 | border: 0;
16 | outline: none;
17 | vertical-align: top;
18 | }
19 |
20 | .fancybox-wrap {
21 | position: absolute;
22 | top: 0;
23 | left: 0;
24 | z-index: 8020;
25 | }
26 |
27 | .fancybox-skin {
28 | position: relative;
29 | background: #f9f9f9;
30 | color: #444;
31 | text-shadow: none;
32 | -webkit-border-radius: 4px;
33 | -moz-border-radius: 4px;
34 | border-radius: 4px;
35 | }
36 |
37 | .fancybox-opened {
38 | z-index: 8030;
39 | }
40 |
41 | .fancybox-opened .fancybox-skin {
42 | -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
43 | -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
44 | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
45 | }
46 |
47 | .fancybox-outer, .fancybox-inner {
48 | position: relative;
49 | }
50 |
51 | .fancybox-inner {
52 | overflow: hidden;
53 | }
54 |
55 | .fancybox-type-iframe .fancybox-inner {
56 | -webkit-overflow-scrolling: touch;
57 | }
58 |
59 | .fancybox-error {
60 | color: #444;
61 | font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
62 | margin: 0;
63 | padding: 15px;
64 | white-space: nowrap;
65 | }
66 |
67 | .fancybox-image, .fancybox-iframe {
68 | display: block;
69 | width: 100%;
70 | height: 100%;
71 | }
72 |
73 | .fancybox-image {
74 | max-width: 100%;
75 | max-height: 100%;
76 | }
77 |
78 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
79 | background-image: url('fancybox_sprite.png');
80 | }
81 |
82 | #fancybox-loading {
83 | position: fixed;
84 | top: 50%;
85 | left: 50%;
86 | margin-top: -22px;
87 | margin-left: -22px;
88 | background-position: 0 -108px;
89 | opacity: 0.8;
90 | cursor: pointer;
91 | z-index: 8060;
92 | }
93 |
94 | #fancybox-loading div {
95 | width: 44px;
96 | height: 44px;
97 | background: url('fancybox_loading.gif') center center no-repeat;
98 | }
99 |
100 | .fancybox-close {
101 | position: absolute;
102 | top: -18px;
103 | right: -18px;
104 | width: 36px;
105 | height: 36px;
106 | cursor: pointer;
107 | z-index: 8040;
108 | }
109 |
110 | .fancybox-nav {
111 | position: absolute;
112 | top: 0;
113 | width: 40%;
114 | height: 100%;
115 | cursor: pointer;
116 | text-decoration: none;
117 | background: transparent url('blank.gif'); /* helps IE */
118 | -webkit-tap-highlight-color: rgba(0,0,0,0);
119 | z-index: 8040;
120 | }
121 |
122 | .fancybox-prev {
123 | left: 0;
124 | }
125 |
126 | .fancybox-next {
127 | right: 0;
128 | }
129 |
130 | .fancybox-nav span {
131 | position: absolute;
132 | top: 50%;
133 | width: 36px;
134 | height: 34px;
135 | margin-top: -18px;
136 | cursor: pointer;
137 | z-index: 8040;
138 | visibility: hidden;
139 | }
140 |
141 | .fancybox-prev span {
142 | left: 10px;
143 | background-position: 0 -36px;
144 | }
145 |
146 | .fancybox-next span {
147 | right: 10px;
148 | background-position: 0 -72px;
149 | }
150 |
151 | .fancybox-nav:hover span {
152 | visibility: visible;
153 | }
154 |
155 | .fancybox-tmp {
156 | position: absolute;
157 | top: -99999px;
158 | left: -99999px;
159 | visibility: hidden;
160 | max-width: 99999px;
161 | max-height: 99999px;
162 | overflow: visible !important;
163 | }
164 |
165 | /* Overlay helper */
166 |
167 | .fancybox-lock {
168 | overflow: hidden !important;
169 | width: auto;
170 | }
171 |
172 | .fancybox-lock body {
173 | overflow: hidden !important;
174 | }
175 |
176 | .fancybox-lock-test {
177 | overflow-y: hidden !important;
178 | }
179 |
180 | .fancybox-overlay {
181 | position: absolute;
182 | top: 0;
183 | left: 0;
184 | overflow: hidden;
185 | display: none;
186 | z-index: 8010;
187 | background: url('fancybox_overlay.png');
188 | }
189 |
190 | .fancybox-overlay-fixed {
191 | position: fixed;
192 | bottom: 0;
193 | right: 0;
194 | }
195 |
196 | .fancybox-lock .fancybox-overlay {
197 | overflow: auto;
198 | overflow-y: scroll;
199 | }
200 |
201 | /* Title helper */
202 |
203 | .fancybox-title {
204 | visibility: hidden;
205 | font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
206 | position: relative;
207 | text-shadow: none;
208 | z-index: 8050;
209 | }
210 |
211 | .fancybox-opened .fancybox-title {
212 | visibility: visible;
213 | }
214 |
215 | .fancybox-title-float-wrap {
216 | position: absolute;
217 | bottom: 0;
218 | right: 50%;
219 | margin-bottom: -35px;
220 | z-index: 8050;
221 | text-align: center;
222 | }
223 |
224 | .fancybox-title-float-wrap .child {
225 | display: inline-block;
226 | margin-right: -100%;
227 | padding: 2px 20px;
228 | background: transparent; /* Fallback for web browsers that doesn't support RGBa */
229 | background: rgba(0, 0, 0, 0.8);
230 | -webkit-border-radius: 15px;
231 | -moz-border-radius: 15px;
232 | border-radius: 15px;
233 | text-shadow: 0 1px 2px #222;
234 | color: #FFF;
235 | font-weight: bold;
236 | line-height: 24px;
237 | white-space: nowrap;
238 | }
239 |
240 | .fancybox-title-outside-wrap {
241 | position: relative;
242 | margin-top: 10px;
243 | color: #fff;
244 | }
245 |
246 | .fancybox-title-inside-wrap {
247 | padding-top: 10px;
248 | }
249 |
250 | .fancybox-title-over-wrap {
251 | position: absolute;
252 | bottom: 0;
253 | left: 0;
254 | color: #fff;
255 | padding: 10px;
256 | background: #000;
257 | background: rgba(0, 0, 0, .8);
258 | }
259 |
260 | /*Retina graphics!*/
261 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
262 | only screen and (min--moz-device-pixel-ratio: 1.5),
263 | only screen and (min-device-pixel-ratio: 1.5){
264 |
265 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
266 | background-image: url('fancybox_sprite@2x.png');
267 | background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
268 | }
269 |
270 | #fancybox-loading div {
271 | background-image: url('fancybox_loading@2x.gif');
272 | background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
273 | }
274 | }
--------------------------------------------------------------------------------
/assets/javascripts/jquery.fullpage.min.css.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["jquery.fullpage.css"],"names":[],"mappings":";;;;;;AAQA,iBADA,gBAEI,OAAQ,EACR,QAAS,EACT,SAAS,OAGT,4BAAgG,cAEpG,gBACI,OAAQ,KACR,SAAU,SAGV,iBAAyH,KAGzH,aAAqJ,KAEzJ,YACI,SAAU,SACV,mBAAoB,WACpB,gBAAmL,WACnL,WAAyL,WAE7L,UACI,MAAO,KAEX,UAAW,oBACP,OAAQ,KACR,QAAS,MAEb,WACI,QAAQ,EACR,OAAQ,KACR,SAAU,OACV,SAAU,SACV,mBAAoB,IAAI,IAAK,SAC7B,WAAsN,IAAI,IAAK,SAEnO,qBAAsB,mBAClB,QAAS,MACT,aAAa,MACb,MAAO,KAEX,cACI,QAAS,WACT,eAAgB,OAChB,MAAO,KACP,OAAQ,KAEZ,oBACI,MAAO,KACP,SAAU,SAEd,iBACI,oBAAqB,KACrB,iBAAmQ,KACnQ,mBAA4R,KAC5R,gBAA2T,KAC3T,SAAgU,SAChU,QAAS,EACT,IAAK,IACL,OAAQ,QACR,MAAO,EACP,OAAQ,EACR,aAAc,MACd,WAAY,MACZ,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBAEf,yBACI,KAAM,KACN,MAAO,EACP,aAAc,OAAO,KAAK,OAAO,EACjC,aAAc,YAAY,KAAK,YAAY,YAE/C,yBACI,MAAO,KACP,aAAc,OAAO,EAAE,OAAO,KAC9B,aAAc,YAAY,YAAY,YAAY,KAEtD,eACI,SAAU,OACV,SAAU,SAEd,aACI,SAAU,OAEd,kBACI,OAAQ,YAEZ,iBACI,mBAAoB,eACpB,WAAY,eAEhB,QACI,SAAU,MACV,QAAS,IACT,WAAY,MACZ,IAAK,IACL,QAAS,EACT,kBAAmB,mBAEvB,cACI,MAAO,KAEX,aACI,KAAM,KAEV,cACI,SAAU,SACV,QAAS,EACT,KAAM,IACN,QAAS,EACT,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBAEf,qBACI,OAAQ,KAEZ,kBACI,IAAK,KAET,WACA,iBACE,OAAQ,EACR,QAAS,EAEX,cACA,oBACI,QAAS,MACT,MAAO,KACP,OAAQ,KACR,OAAQ,IACR,SAAS,SAEb,oBACI,QAAS,aAEb,gBACA,sBACI,QAAS,MACT,SAAU,SACV,QAAS,EACT,MAAO,KACP,OAAQ,KACR,OAAQ,QACR,gBAAiB,KAErB,4BAEA,kCADA,kCAEA,wCACI,OAAQ,KACR,MAAO,KACP,OAAQ,KAAK,EAAE,EAAE,KACjB,cAAe,KAEnB,qBACA,2BACI,cAAe,IACf,SAAU,SACV,QAAS,EACT,OAAQ,IACR,MAAO,IACP,OAAQ,EACR,WAAY,KACZ,KAAM,IACN,IAAK,IACL,OAAQ,KAAK,EAAE,EAAE,KACjB,mBAAoB,IAAI,IAAK,YAC7B,gBAAiB,IAAI,IAAK,YAC1B,cAAe,IAAI,IAAK,YACxB,WAAY,IAAI,IAAK,YAEzB,2BACA,iCACI,MAAO,KACP,OAAQ,KACR,OAAQ,KAAK,EAAI,EAAI,KAEzB,0BACI,SAAU,SACV,IAAK,KACL,MAAO,KACP,UAAW,KACX,YAAa,MAAO,UAAW,WAC/B,YAAa,OACb,UAAW,MACX,SAAU,OACV,QAAS,MACT,QAAS,EACT,MAAO,EACP,OAAQ,QAEZ,gCACA,4CACI,mBAAoB,QAAQ,IAAK,QACjC,WAAY,QAAQ,IAAK,QACzB,MAAO,KACP,QAAS,EAEb,gCACI,MAAO,KAEX,+BACI,KAAM,KAGV,0BACA,8BAFA,2BAGI,OAAQ,eAIZ,oDACA,wDAFA,qDAGI,OAAQ","file":"jquery.fullpage.min.css","sourceRoot":"/source/","sourcesContent":["/*!\r\n * fullPage 2.9.4\r\n * https://github.com/alvarotrigo/fullPage.js\r\n * MIT licensed\r\n *\r\n * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo\r\n */\r\nhtml.fp-enabled,\r\n.fp-enabled body {\r\n margin: 0;\r\n padding: 0;\r\n overflow:hidden;\r\n\r\n /*Avoid flicker on slides transitions for mobile phones #336 */\r\n -webkit-tap-highlight-color: rgba(0,0,0,0);\r\n}\r\n#superContainer {\r\n height: 100%;\r\n position: relative;\r\n\r\n /* Touch detection for Windows 8 */\r\n -ms-touch-action: none;\r\n\r\n /* IE 11 on Windows Phone 8.1*/\r\n touch-action: none;\r\n}\r\n.fp-section {\r\n position: relative;\r\n -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */\r\n -moz-box-sizing: border-box; /* <=28 */\r\n box-sizing: border-box;\r\n}\r\n.fp-slide {\r\n float: left;\r\n}\r\n.fp-slide, .fp-slidesContainer {\r\n height: 100%;\r\n display: block;\r\n}\r\n.fp-slides {\r\n z-index:1;\r\n height: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */\r\n transition: all 0.3s ease-out;\r\n}\r\n.fp-section.fp-table, .fp-slide.fp-table {\r\n display: table;\r\n table-layout:fixed;\r\n width: 100%;\r\n}\r\n.fp-tableCell {\r\n display: table-cell;\r\n vertical-align: middle;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.fp-slidesContainer {\r\n float: left;\r\n position: relative;\r\n}\r\n.fp-controlArrow {\r\n -webkit-user-select: none; /* webkit (safari, chrome) browsers */\r\n -moz-user-select: none; /* mozilla browsers */\r\n -khtml-user-select: none; /* webkit (konqueror) browsers */\r\n -ms-user-select: none; /* IE10+ */\r\n position: absolute;\r\n z-index: 4;\r\n top: 50%;\r\n cursor: pointer;\r\n width: 0;\r\n height: 0;\r\n border-style: solid;\r\n margin-top: -38px;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n}\r\n.fp-controlArrow.fp-prev {\r\n left: 15px;\r\n width: 0;\r\n border-width: 38.5px 34px 38.5px 0;\r\n border-color: transparent #fff transparent transparent;\r\n}\r\n.fp-controlArrow.fp-next {\r\n right: 15px;\r\n border-width: 38.5px 0 38.5px 34px;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n.fp-scrollable {\r\n overflow: hidden;\r\n position: relative;\r\n}\r\n.fp-scroller{\r\n overflow: hidden;\r\n}\r\n.iScrollIndicator{\r\n border: 0 !important;\r\n}\r\n.fp-notransition {\r\n -webkit-transition: none !important;\r\n transition: none !important;\r\n}\r\n#fp-nav {\r\n position: fixed;\r\n z-index: 100;\r\n margin-top: -32px;\r\n top: 50%;\r\n opacity: 1;\r\n -webkit-transform: translate3d(0,0,0);\r\n}\r\n#fp-nav.right {\r\n right: 17px;\r\n}\r\n#fp-nav.left {\r\n left: 17px;\r\n}\r\n.fp-slidesNav{\r\n position: absolute;\r\n z-index: 4;\r\n left: 50%;\r\n opacity: 1;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n}\r\n.fp-slidesNav.bottom {\r\n bottom: 17px;\r\n}\r\n.fp-slidesNav.top {\r\n top: 17px;\r\n}\r\n#fp-nav ul,\r\n.fp-slidesNav ul {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n#fp-nav ul li,\r\n.fp-slidesNav ul li {\r\n display: block;\r\n width: 14px;\r\n height: 13px;\r\n margin: 7px;\r\n position:relative;\r\n}\r\n.fp-slidesNav ul li {\r\n display: inline-block;\r\n}\r\n#fp-nav ul li a,\r\n.fp-slidesNav ul li a {\r\n display: block;\r\n position: relative;\r\n z-index: 1;\r\n width: 100%;\r\n height: 100%;\r\n cursor: pointer;\r\n text-decoration: none;\r\n}\r\n#fp-nav ul li a.active span,\r\n.fp-slidesNav ul li a.active span,\r\n#fp-nav ul li:hover a.active span,\r\n.fp-slidesNav ul li:hover a.active span{\r\n height: 12px;\r\n width: 12px;\r\n margin: -6px 0 0 -6px;\r\n border-radius: 100%;\r\n }\r\n#fp-nav ul li a span,\r\n.fp-slidesNav ul li a span {\r\n border-radius: 50%;\r\n position: absolute;\r\n z-index: 1;\r\n height: 4px;\r\n width: 4px;\r\n border: 0;\r\n background: #333;\r\n left: 50%;\r\n top: 50%;\r\n margin: -2px 0 0 -2px;\r\n -webkit-transition: all 0.1s ease-in-out;\r\n -moz-transition: all 0.1s ease-in-out;\r\n -o-transition: all 0.1s ease-in-out;\r\n transition: all 0.1s ease-in-out;\r\n}\r\n#fp-nav ul li:hover a span,\r\n.fp-slidesNav ul li:hover a span{\r\n width: 10px;\r\n height: 10px;\r\n margin: -5px 0px 0px -5px;\r\n}\r\n#fp-nav ul li .fp-tooltip {\r\n position: absolute;\r\n top: -2px;\r\n color: #fff;\r\n font-size: 14px;\r\n font-family: arial, helvetica, sans-serif;\r\n white-space: nowrap;\r\n max-width: 220px;\r\n overflow: hidden;\r\n display: block;\r\n opacity: 0;\r\n width: 0;\r\n cursor: pointer;\r\n}\r\n#fp-nav ul li:hover .fp-tooltip,\r\n#fp-nav.fp-show-active a.active + .fp-tooltip {\r\n -webkit-transition: opacity 0.2s ease-in;\r\n transition: opacity 0.2s ease-in;\r\n width: auto;\r\n opacity: 1;\r\n}\r\n#fp-nav ul li .fp-tooltip.right {\r\n right: 20px;\r\n}\r\n#fp-nav ul li .fp-tooltip.left {\r\n left: 20px;\r\n}\r\n.fp-auto-height.fp-section,\r\n.fp-auto-height .fp-slide,\r\n.fp-auto-height .fp-tableCell{\r\n height: auto !important;\r\n}\r\n\r\n.fp-responsive .fp-auto-height-responsive.fp-section,\r\n.fp-responsive .fp-auto-height-responsive .fp-slide,\r\n.fp-responsive .fp-auto-height-responsive .fp-tableCell {\r\n height: auto !important;\r\n}"]}
--------------------------------------------------------------------------------
/assets/javascripts/modernizr-2.8.3.min.js:
--------------------------------------------------------------------------------
1 | window.Modernizr=function(e,t,n){function r(e){b.cssText=e}function o(e,t){return r(S.join(e+";")+(t||""))}function a(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function c(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&b[o]!==n)return"pfx"==t?o:!0}return!1}function s(e,t,r){for(var o in e){var i=t[e[o]];if(i!==n)return r===!1?e[o]:a(i,"function")?i.bind(r||t):i}return!1}function u(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+k.join(r+" ")+r).split(" ");return a(t,"string")||a(t,"undefined")?c(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),s(o,t,n))}function l(){p.input=function(n){for(var r=0,o=n.length;o>r;r++)j[n[r]]=!!(n[r]in E);return j.list&&(j.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),j}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(e){for(var r,o,a,i=0,c=e.length;c>i;i++)E.setAttribute("type",o=e[i]),r="text"!==E.type,r&&(E.value=x,E.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&E.style.WebkitAppearance!==n?(g.appendChild(E),a=t.defaultView,r=a.getComputedStyle&&"textfield"!==a.getComputedStyle(E,null).WebkitAppearance&&0!==E.offsetHeight,g.removeChild(E)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?E.checkValidity&&E.checkValidity()===!1:E.value!=x)),P[e[i]]=!!r;return P}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d,f,m="2.8.3",p={},h=!0,g=t.documentElement,v="modernizr",y=t.createElement(v),b=y.style,E=t.createElement("input"),x=":)",w={}.toString,S=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",k=C.split(" "),T=C.toLowerCase().split(" "),N={svg:"http://www.w3.org/2000/svg"},M={},P={},j={},$=[],D=$.slice,F=function(e,n,r,o){var a,i,c,s,u=t.createElement("div"),l=t.body,d=l||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=o?o[r]:v+(r+1),u.appendChild(c);return a=["",'"].join(""),u.id=v,(l?u:d).innerHTML+=a,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden",s=g.style.overflow,g.style.overflow="hidden",g.appendChild(d)),i=n(u,e),l?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),g.style.overflow=s),!!i},z=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return F("@media "+t+" { #"+v+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},A=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var i=e in o;return i||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),i=a(o[e],"function"),a(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,i}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty;f=a(L,"undefined")||a(L.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=D.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(D.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(D.call(arguments)))};return r}),M.flexbox=function(){return u("flexWrap")},M.flexboxlegacy=function(){return u("boxDirection")},M.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M.canvastext=function(){return!(!p.canvas||!a(t.createElement("canvas").getContext("2d").fillText,"function"))},M.webgl=function(){return!!e.WebGLRenderingContext},M.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:F(["@media (",S.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},M.geolocation=function(){return"geolocation"in navigator},M.postmessage=function(){return!!e.postMessage},M.websqldatabase=function(){return!!e.openDatabase},M.indexedDB=function(){return!!u("indexedDB",e)},M.hashchange=function(){return A("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},M.history=function(){return!(!e.history||!history.pushState)},M.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},M.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},M.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),i(b.backgroundColor,"rgba")},M.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),i(b.backgroundColor,"rgba")||i(b.backgroundColor,"hsla")},M.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},M.backgroundsize=function(){return u("backgroundSize")},M.borderimage=function(){return u("borderImage")},M.borderradius=function(){return u("borderRadius")},M.boxshadow=function(){return u("boxShadow")},M.textshadow=function(){return""===t.createElement("div").style.textShadow},M.opacity=function(){return o("opacity:.55"),/^0.55$/.test(b.opacity)},M.cssanimations=function(){return u("animationName")},M.csscolumns=function(){return u("columnCount")},M.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+S.join(n+e)).slice(0,-e.length)),i(b.backgroundImage,"gradient")},M.cssreflections=function(){return u("boxReflect")},M.csstransforms=function(){return!!u("transform")},M.csstransforms3d=function(){var e=!!u("perspective");return e&&"webkitPerspective"in g.style&&F("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},M.csstransitions=function(){return u("transition")},M.fontface=function(){var e;return F('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},M.generatedcontent=function(){var e;return F(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},M.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},M.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},M.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},M.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},M.webworkers=function(){return!!e.Worker},M.applicationcache=function(){return!!e.applicationCache},M.svg=function(){return!!t.createElementNS&&!!t.createElementNS(N.svg,"svg").createSVGRect},M.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==N.svg},M.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(w.call(t.createElementNS(N.svg,"animate")))},M.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(w.call(t.createElementNS(N.svg,"clipPath")))};for(var H in M)f(M,H)&&(d=H.toLowerCase(),p[d]=M[H](),$.push((p[d]?"":"no-")+d));return p.input||l(),p.addTest=function(e,t){if("object"==typeof e)for(var r in e)f(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof h&&h&&(g.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),y=E=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[h]];return t||(t={},g++,e[h]=g,v[g]=t),t}function a(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||m.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||o(e);for(var a=n.frag.cloneNode(),i=0,c=r(),s=c.length;s>i;i++)a.createElement(c[i]);return a}function c(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function s(e){e||(e=t);var r=o(e);return!y.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||c(e,r),e}var u,l,d="3.7.0",f=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",g=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML=" ",u="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,l=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:s,createElement:a,createDocumentFragment:i};e.html5=y,s(t)}(this,t),p._version=m,p._prefixes=S,p._domPrefixes=T,p._cssomPrefixes=k,p.mq=z,p.hasEvent=A,p.testProp=function(e){return c([e])},p.testAllProps=u,p.testStyles=F,p.prefixed=function(e,t,n){return t?u(e,t,n):u(e,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+$.join(" "):""),p}(this,this.document);
--------------------------------------------------------------------------------
/assets/javascripts/pace.min.js:
--------------------------------------------------------------------------------
1 | /*! pace 1.0.2 */
2 | (function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];cQ;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='\n \n\n',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e;e=[];for(d in b.prototype)try{e.push(null==a[d]&&"function"!=typeof b[d]?"function"==typeof Object.defineProperty?Object.defineProperty(a,d,{get:function(){return b.prototype[d]},configurable:!0,enumerable:!0}):a[d]=b.prototype[d]:void 0)}catch(f){c=f}return e},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}).call(this);
--------------------------------------------------------------------------------
/assets/javascripts/jquery.fullPage.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * fullPage 2.0.7
3 | * https://github.com/alvarotrigo/fullPage.js
4 | * MIT licensed
5 | *
6 | * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
7 | */
8 | (function(a){a.fn.fullpage=function(c){function $(b){var e=b.originalEvent;c.autoScrolling&&b.preventDefault();if(!L(b.target)&&(b=a(".section.active"),!t&&!s))if(e=M(e),w=e.y,A=e.x,b.find(".slides").length&&Math.abs(B-A)>Math.abs(x-w))Math.abs(B-A)>a(window).width()/100*c.touchSensitivity&&(B>A?a.fn.fullpage.moveSlideRight():a.fn.fullpage.moveSlideLeft());else if(c.autoScrolling&&(e=b.find(".slides").length?b.find(".slide.active").find(".scrollable"):b.find(".scrollable"),Math.abs(x-w)>a(window).height()/
9 | 100*c.touchSensitivity))if(x>w)if(0x)if(0b)if(0g?"left":"right";m||a.isFunction(c.onSlideLeave)&&c.onSlideLeave.call(this,h,q+1,n,p)}e.addClass("active").siblings().removeClass("active");
15 | "undefined"===typeof r&&(r=g);l.hasClass("active")&&(c.loopHorizontal||(l.find(".controlArrow.prev").toggle(0!=g),l.find(".controlArrow.next").toggle(!e.is(":last-child"))),O(g,r,h));c.css3?(d="translate3d(-"+d.left+"px, 0px, 0px)",b.find(".slidesContainer").toggleClass("easing",0b||900>c?(900>c&&(f=c,d=900),d=(100*f/d).toFixed(2),a("body").css("font-size",d+"%")):a("body").css("font-size","100%")}function S(b,e){c.navigation&&(a("#fullPage-nav").find(".active").removeClass("active"),
18 | b?a("#fullPage-nav").find('a[href="#'+b+'"]').addClass("active"):a("#fullPage-nav").find("li").eq(e).find("a").addClass("active"))}function R(b){c.menu&&(a(c.menu).find(".active").removeClass("active"),a(c.menu).find('[data-menuanchor="'+b+'"]').addClass("active"))}function C(b,a){if("top"===b)return!a.scrollTop();if("bottom"===b)return a.scrollTop()+a.innerHeight()>=a[0].scrollHeight}function H(b){var c=a(".section.active").index(".section");b=b.index(".section");return c>b?"up":"down"}function F(b){b.css("overflow",
19 | "hidden");var a=b.closest(".section"),d=b.find(".scrollable");if(d.length)var f=b.find(".scrollable").get(0).scrollHeight;else f=b.get(0).scrollHeight,c.verticalCentered&&(f=b.find(".tableCell").get(0).scrollHeight);a=k-parseInt(a.css("padding-bottom"))-parseInt(a.css("padding-top"));f>a?d.length?d.css("height",a+"px").parent().css("height",a+"px"):(c.verticalCentered?b.find(".tableCell").wrapInner(''):b.wrapInner(''),b.find(".scrollable").slimScroll({height:a+
20 | "px",size:"10px",alwaysVisible:!0})):(b.find(".scrollable").children().first().unwrap().unwrap(),b.find(".slimScrollBar").remove(),b.find(".slimScrollRail").remove());b.css("overflow","")}function W(b){b.addClass("table").wrapInner('')}function V(b){var a=k;if(c.paddingTop||c.paddingBottom)a=b,a.hasClass("section")||(a=b.closest(".section")),b=parseInt(a.css("padding-top"))+parseInt(a.css("padding-bottom")),a=k-b;return a}function P(b,a){u.toggleClass("easing",
21 | a);u.css(T(b))}function I(b,c){"undefined"===typeof c&&(c=0);var d=isNaN(b)?a('[data-anchor="'+b+'"]'):a(".section").eq(b-1);b===v||d.hasClass("active")?X(d,c):h(d,function(){X(d,c)})}function X(b,a){if("undefined"!=typeof a){var c=b.find(".slides"),f=c.find('[data-anchor="'+a+'"]');f.length||(f=c.find(".slide").eq(a));f.length&&p(c,f)}}function ca(b,a){b.append('');var d=b.find(".fullPage-slidesNav");d.addClass(c.slidesNavPosition);for(var f=0;f');
22 | d.css("margin-left","-"+d.width()/2+"px");d.find("li").first().find("a").addClass("active")}function O(b,a,d){var f="";c.anchors.length&&(b?("undefined"!==typeof d&&(f=d),"undefined"===typeof a&&(a=b),J=a,location.hash=f+"/"+a):("undefined"!==typeof b&&(J=a),location.hash=d))}function da(){var b=document.createElement("p"),a,c={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(b,
23 | null);for(var f in c)void 0!==b.style[f]&&(b.style[f]="translate3d(1px,1px,1px)",a=window.getComputedStyle(b).getPropertyValue(c[f]));document.body.removeChild(b);return void 0!==a&&0 '),u=a("#superContainer"));if(c.navigation){a("body").append('');var m=a("#fullPage-nav");m.css("color",c.navigationColor);m.addClass(c.navigationPosition)}a(".section").each(function(b){var e=
29 | a(this),d=a(this).find(".slide"),f=d.length;b||0!==a(".section.active").length||a(this).addClass("active");a(this).css("height",k+"px");(c.paddingTop||c.paddingBottom)&&a(this).css("padding",c.paddingTop+" 0 "+c.paddingBottom+" 0");"undefined"!==typeof c.slidesColor[b]&&a(this).css("background-color",c.slidesColor[b]);"undefined"!==typeof c.anchors[b]&&a(this).attr("data-anchor",c.anchors[b]);if(c.navigation){var g="";c.anchors.length&&(g=c.anchors[b]);b=c.navigationTooltips[b];"undefined"===typeof b&&
30 | (b="");m.find("ul").append(' ')}if(0 ');d.parent().wrap('');a(this).find(".slidesContainer").css("width",g+"%");a(this).find(".slides").after('');"#fff"!=c.controlArrowColor&&(a(this).find(".controlArrow.next").css("border-color","transparent transparent transparent "+c.controlArrowColor),
31 | a(this).find(".controlArrow.prev").css("border-color","transparent "+c.controlArrowColor+" transparent transparent"));c.loopHorizontal||a(this).find(".controlArrow.prev").hide();c.slidesNavigation&&ca(a(this),f);d.each(function(b){b||0!=e.find(".slide.active").length||a(this).addClass("active");a(this).css("width",h+"%");c.verticalCentered&&W(a(this))})}else c.verticalCentered&&W(a(this))}).promise().done(function(){a.fn.fullpage.setAutoScrolling(c.autoScrolling);var b=a(".section.active").find(".slide.active");
32 | if(b.length&&(0!=a(".section.active").index(".section")||0==a(".section.active").index(".section")&&0!=b.index())){var e=c.scrollingSpeed;a.fn.fullpage.setScrollingSpeed(0);p(a(".section.active").find(".slides"),b);a.fn.fullpage.setScrollingSpeed(e)}c.fixedElements&&c.css3&&a(c.fixedElements).appendTo("body");c.navigation&&(m.css("margin-top","-"+m.height()/2+"px"),m.find("li").eq(a(".section.active").index(".section")).find("a").addClass("active"));c.menu&&c.css3&&a(c.menu).appendTo("body");if(c.scrollOverflow)a(window).on("load",
33 | function(){a(".section").each(function(){var b=a(this).find(".slide");b.length?b.each(function(){F(a(this))}):F(a(this))});a.isFunction(c.afterRender)&&c.afterRender.call(this)});else a.isFunction(c.afterRender)&&c.afterRender.call(this);b=window.location.hash.replace("#","").split("/")[0];b.length&&(e=a('[data-anchor="'+b+'"]'),!c.animateAnchor&&e.length&&(z(e.position().top),a.isFunction(c.afterLoad)&&c.afterLoad.call(this,b,e.index(".section")+1),e.addClass("active").siblings().removeClass("active")));
34 | a(window).on("load",function(){var a=window.location.hash.replace("#","").split("/"),b=a[0],a=a[1];b&&I(b,a)})});var Y,K=!1;a(window).scroll(function(b){if(!c.autoScrolling){var e=a(window).scrollTop();b=a(".section").map(function(){if(a(this).offset().top'+b+"").hide().appendTo(a(this)).fadeIn(200)},mouseleave:function(){a(this).find(".fullPage-tooltip").fadeOut().remove()}},"#fullPage-nav li");c.normalScrollElements&&(a(document).on("mouseover",c.normalScrollElements,function(){a.fn.fullpage.setMouseWheelScrolling(!1)}),a(document).on("mouseout",c.normalScrollElements,function(){a.fn.fullpage.setMouseWheelScrolling(!0)}));
39 | a(".section").on("click",".controlArrow",function(){a(this).hasClass("prev")?a.fn.fullpage.moveSlideLeft():a.fn.fullpage.moveSlideRight()});a(".section").on("click",".toSlide",function(b){b.preventDefault();b=a(this).closest(".section").find(".slides");b.find(".slide.active");var c=null,c=b.find(".slide").eq(a(this).data("index")-1);0 p {
251 | margin: 0;
252 | }
253 |
254 | .footnote,
255 | .reversefootnote {
256 | padding: 0 2px;
257 |
258 | border: none;
259 | }
260 |
261 | .footnotes {
262 | font-size: .9em;
263 | line-height: 1.2em;
264 |
265 | margin-top: 26px;
266 |
267 | border-top: 1px dashed rgba(0,0,0,.8);
268 |
269 | ol {
270 | margin-top: 26px;
271 | padding-left: 18px;
272 |
273 | p {
274 | margin-top: 12px;
275 | margin-bottom: 12px;
276 | padding-left: 6px;
277 | }
278 | }
279 | }
280 |
281 | .toc {
282 | display: inline-block;
283 |
284 | min-width: 195px;
285 | margin: 8px 0;
286 | padding: 12px 24px;
287 |
288 | text-align: left;
289 |
290 | border: 1px dashed $color-box-border;
291 |
292 | a {
293 | color: $color-text;
294 | border: none;
295 |
296 | &:active,
297 | &:hover,
298 | &:visited {
299 | color: $color-text;
300 | }
301 | }
302 |
303 | li,
304 | ol,
305 | ul {
306 | margin-left: .8em;
307 | padding-left: 0;
308 | }
309 |
310 | &:hover {
311 | border-width: 1.5px;
312 | }
313 | }
314 |
315 | .data-table {
316 | overflow: auto;
317 |
318 | &::-webkit-scrollbar {
319 | height: 8px;
320 |
321 | -webkit-border-radius: 5px;
322 | -moz-border-radius: 5px;
323 | border-radius: 5px;
324 | }
325 |
326 | &::-webkit-scrollbar-track {
327 | -webkit-border-radius: 5px;
328 | -moz-border-radius: 5px;
329 | border-radius: 5px;
330 | background-color: $color-box-border;
331 | }
332 |
333 | &::-webkit-scrollbar-thumb:horizontal {
334 | -webkit-border-radius: 5px;
335 | -moz-border-radius: 5px;
336 | border-radius: 5px;
337 | background-color: $color-meta-link-hover;
338 | }
339 | }
340 |
341 | .gist .gist-file {
342 | font-family: $fonts-code !important;
343 |
344 | border: none !important;
345 |
346 | .gist-data {
347 | font-size: 12px;
348 |
349 | margin: 12px;
350 |
351 | background-color: $color-code-background;
352 |
353 | .data {
354 | padding: 20px;
355 | padding-left: 12px;
356 |
357 | &::-webkit-scrollbar {
358 | height: 6px;
359 |
360 | -webkit-border-radius: 5px;
361 | -moz-border-radius: 5px;
362 | border-radius: 5px;
363 | }
364 |
365 | &::-webkit-scrollbar-track {
366 | -webkit-border-radius: 5px;
367 | -moz-border-radius: 5px;
368 | border-radius: 5px;
369 | background-color: $color-code-background;
370 | }
371 |
372 | &::-webkit-scrollbar-thumb:horizontal {
373 | -webkit-border-radius: 5px;
374 | -moz-border-radius: 5px;
375 | border-radius: 5px;
376 | background-color: $color-box-border;
377 | }
378 | table {
379 | border: none;
380 | background-color: $color-code-background;
381 | td {
382 | font-family: $fonts-code;
383 | font-size: 12px;
384 | line-height: 20px;
385 |
386 | border: none;
387 | background-color: $color-code-background;
388 | }
389 | }
390 |
391 | .blob-code-inner,
392 | .blob-num {
393 | color: #FFFFFF;
394 | }
395 |
396 | .blob-num {
397 | &:hover {
398 | cursor: default;
399 | }
400 | }
401 |
402 | .pl-s,
403 | .pl-pds,
404 | .pl-s .pl-pse .pl-s1,
405 | .pl-sr,
406 | .pl-sr .pl-cce,
407 | .pl-sr .pl-sre,
408 | .pl-sr .pl-sra {
409 | color: #ECAC29;
410 | }
411 |
412 | .pl-k,
413 | .pl-smi,
414 | .pl-e {
415 | color: #66D9EF;
416 | }
417 |
418 | .pl-c1 {
419 | color: #F8F8F2;
420 | }
421 |
422 | .pl-en,
423 | .pl-ent {
424 | color: #A6E22E;
425 | }
426 | }
427 | }
428 |
429 | .gist-meta {
430 | display: none;
431 | visibility: hidden;
432 | }
433 | }
434 |
435 | .tag_box {
436 | padding: .8125em;
437 |
438 | list-style: none;
439 |
440 | background: url('../images/theme/noisy_texture_section0-200x200.png') repeat #F0F0F0;
441 | background-clip: padding-box;
442 | box-shadow: inset 0 3px 3px rgba(0, 0, 0, .4), 0 3px 0 rgba(255, 255, 255, .4);
443 |
444 | li {
445 | line-height: normal;
446 |
447 | display: inline;
448 |
449 | vertical-align: middle;
450 |
451 | a {
452 | float: left;
453 |
454 | margin: 5px;
455 | padding: 3px 6px;
456 |
457 | -webkit-user-select: none;
458 | -moz-user-select: none;
459 | -ms-user-select: none;
460 | user-select: none;
461 | -webkit-transition-duration: .2s;
462 | -moz-transition-duration: .2s;
463 | -o-transition-duration: .2s;
464 | transition-duration: .2s;
465 | vertical-align: bottom;
466 |
467 | color: $color-text;
468 | border: 1px solid $color-text;
469 | background-color: $color-inline-code-background;
470 | background-clip: padding-box;
471 | text-shadow: 0 -1px 0 rgba(255, 255, 255, .2);
472 |
473 | &:hover {
474 | color: $color-text;
475 | border: 1px solid $color-text;
476 | background-color: $color-hover;
477 |
478 | span {
479 | border: 1px solid $color-text;
480 | background-color: $color-hover;
481 | }
482 | }
483 |
484 | span {
485 | font-size: .875em;
486 | font-weight: bold;
487 |
488 | position: relative;
489 | top: -2px;
490 |
491 | display: inline-block;
492 |
493 | padding: 1px 5px;
494 |
495 | vertical-align: middle;
496 |
497 | border: 1px solid $color-text;
498 | -webkit-border-radius: 10px;
499 | -moz-border-radius: 10px;
500 | border-radius: 10px;
501 | background-color: $color-inline-code-background;
502 | }
503 | }
504 | }
505 | }
506 |
507 | &.layout-page {
508 | .year {
509 | margin-top: 24px;
510 | }
511 |
512 | .post-list {
513 | margin: 0;
514 | padding: 0;
515 | padding-left: 1.05em;
516 |
517 | list-style-type: disc;
518 |
519 | li {
520 | margin-top: 8px;
521 | margin-bottom: 8px;
522 |
523 | a {
524 | font-size: 1em;
525 | line-height: 1.525em;
526 |
527 | border-bottom: none;
528 | }
529 |
530 | .date {
531 | font-size: .8em;
532 |
533 | float: right;
534 | }
535 | }
536 | }
537 | }
538 |
539 | &.layout-post {
540 | iframe {
541 | display: block;
542 |
543 | width: 100%;
544 | height: 180px;
545 | margin-right: auto;
546 | margin-left: auto;
547 | }
548 |
549 | .misc-content {
550 | margin-top: 48px;
551 | }
552 |
553 | .license-icon {
554 | float: right;
555 |
556 | border-bottom: none;
557 | background-color: transparent;
558 | }
559 |
560 | .meta {
561 | margin-bottom: 26px;
562 |
563 | border-bottom: 1px dotted rgba(21, 25, 25, .8);
564 |
565 | .date-publish {
566 | margin-bottom: 0;
567 | }
568 |
569 | .list-category {
570 | margin-top: 0;
571 | margin-bottom: 0;
572 | }
573 |
574 | .list-linear {
575 | margin-top: 0;
576 | padding-left: 0;
577 |
578 | list-style: none;
579 |
580 | letter-spacing: -.31em;
581 | word-spacing: -.43em;
582 |
583 | *letter-spacing: normal;
584 |
585 | .list-head {
586 | margin-right: 10px;
587 | padding-right: 4px;
588 | }
589 |
590 | a {
591 | border: none;
592 | background-color: transparent;
593 | color: $color-text;
594 |
595 | &:hover span {
596 | background-color: $color-hover;
597 | }
598 | }
599 |
600 | span {
601 | font-size: .875em;
602 | font-weight: bold;
603 |
604 | position: relative;
605 | top: -2px;
606 |
607 | display: inline-block;
608 |
609 | margin: 0 6px 0 0;
610 | padding: 1px 5px;
611 |
612 | vertical-align: middle;
613 | text-transform: uppercase;
614 |
615 | color: white;
616 | -webkit-border-radius: 10px;
617 | -moz-border-radius: 10px;
618 | border-radius: 10px;
619 | background-color: $color-hover;
620 | }
621 |
622 | li {
623 | line-height: normal;
624 |
625 | display: inline-block;
626 | zoom: 1;
627 |
628 | margin-right: 16px;
629 |
630 | vertical-align: middle;
631 | letter-spacing: normal;
632 | word-spacing: normal;
633 |
634 | *display: inline;
635 |
636 | &:last-child {
637 | margin-right: 0;
638 | }
639 |
640 | a:hover {
641 | color: $color-meta-link-hover;
642 | }
643 | }
644 | }
645 | }
646 |
647 | .post-image {
648 | &:visited {
649 | border-bottom: none;
650 | }
651 |
652 | &:hover {
653 | background-color: transparent;
654 | }
655 |
656 | img {
657 | display: block;
658 |
659 | margin-right: auto;
660 | margin-left: auto;
661 |
662 | &:hover {
663 | -webkit-transition: all .1s ease-out;
664 | -moz-transition: all .1s ease-out;
665 | -o-transition: all .1s ease-out;
666 | transition: all .1s ease-out;
667 |
668 | background-color: transparent;
669 | }
670 | }
671 | }
672 | }
673 |
674 | .unit-head {
675 | border-bottom: 5px solid $color-text;
676 |
677 | h1 {
678 | margin-top: 0;
679 | margin-bottom: 8px;
680 | }
681 | }
682 |
683 | .unit-foot {
684 | top: auto;
685 |
686 | margin-top: 26px;
687 | padding-top: 12px;
688 |
689 | border-top: 3px solid $color-text;
690 |
691 | nav {
692 | display: block;
693 |
694 | a[rel='prev'] {
695 | line-height: 1.325em;
696 |
697 | float: left;
698 |
699 | padding: 4px;
700 | }
701 |
702 | a[rel='next'] {
703 | line-height: 1.325em;
704 |
705 | float: right;
706 |
707 | padding: 4px;
708 | }
709 | }
710 |
711 | .post-buttons {
712 | margin-bottom: 18px;
713 |
714 | .addthis_toolbox {
715 | float: right;
716 |
717 | a {
718 | opacity: .3;
719 | border: none;
720 |
721 | filter: alpha(opacity=30);
722 | &:hover {
723 | -webkit-transition: all .3s ease-out;
724 | -moz-transition: all .3s ease-out;
725 | -o-transition: all .3s ease-out;
726 | transition: all .3s ease-out;
727 |
728 | opacity: 1.0;
729 | background: transparent;
730 |
731 | filter: alpha(opacity=100);
732 | }
733 | }
734 |
735 | .label {
736 | float: left;
737 |
738 | margin-right: 6px;
739 | }
740 | }
741 | }
742 | }
743 | }
744 |
--------------------------------------------------------------------------------