├── _layouts ├── htmlCompressor.html ├── article.html └── default.html ├── assets ├── css │ ├── prod │ │ ├── mixins.min.css │ │ ├── variables.min.css │ │ ├── mixins.min.css.map │ │ ├── icomoon.min.css │ │ ├── prism.min.css │ │ ├── icomoon.min.css.map │ │ ├── reset.min.css │ │ ├── variables.min.css.map │ │ ├── prism.min.css.map │ │ ├── reset.min.css.map │ │ └── style.min.css │ └── dev │ │ ├── mixins.scss │ │ ├── icomoon.scss │ │ ├── prism.scss │ │ ├── variables.scss │ │ ├── reset.scss │ │ └── style.scss ├── font │ ├── icomoon.eot │ ├── icomoon.ttf │ ├── icomoon.woff │ └── icomoon.svg ├── img │ └── favicon.ico └── js │ ├── prod │ ├── init.min.js │ ├── init.min.js.map │ ├── fastclick.min.js │ └── fastclick.min.js.map │ └── dev │ ├── init.js │ └── fastclick.js ├── .gitignore ├── 404.html ├── contents └── images │ └── 2016 │ └── 07 │ └── jekyll.jpg ├── .htaccess ├── _plugins ├── htmlCompressor.rb ├── rssgenerator.rb └── sitemap_generator.rb ├── package.json ├── _config.yml ├── readme.md ├── LICENSE ├── gulpfile.js ├── _includes └── pagination.html ├── _posts └── 2016 │ └── 07 │ └── 2016-07-02-first-post.md └── index.html /_layouts/htmlCompressor.html: -------------------------------------------------------------------------------- 1 | {{ content | htmlCompressor }} 2 | -------------------------------------------------------------------------------- /assets/css/prod/mixins.min.css: -------------------------------------------------------------------------------- 1 | 2 | /*# sourceMappingURL=mixins.min.css.map */ 3 | -------------------------------------------------------------------------------- /assets/css/prod/variables.min.css: -------------------------------------------------------------------------------- 1 | 2 | /*# sourceMappingURL=variables.min.css.map */ 3 | -------------------------------------------------------------------------------- /assets/font/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozgrozer/dasper/HEAD/assets/font/icomoon.eot -------------------------------------------------------------------------------- /assets/font/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozgrozer/dasper/HEAD/assets/font/icomoon.ttf -------------------------------------------------------------------------------- /assets/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozgrozer/dasper/HEAD/assets/img/favicon.ico -------------------------------------------------------------------------------- /assets/font/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozgrozer/dasper/HEAD/assets/font/icomoon.woff -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | _site 3 | node_modules 4 | config.codekit3 5 | *.sublime-project 6 | *.sublime-workspace 7 | -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 6 |
404
7 | -------------------------------------------------------------------------------- /contents/images/2016/07/jekyll.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozgrozer/dasper/HEAD/contents/images/2016/07/jekyll.jpg -------------------------------------------------------------------------------- /assets/js/prod/init.min.js: -------------------------------------------------------------------------------- 1 | "addEventListener"in document&&document.addEventListener("DOMContentLoaded",function(){FastClick.attach(document.body)},!1); 2 | //# sourceMappingURL=init.min.js.map 3 | -------------------------------------------------------------------------------- /assets/js/dev/init.js: -------------------------------------------------------------------------------- 1 | /* Instantiate FastClick */ 2 | if ('addEventListener' in document) { 3 | document.addEventListener('DOMContentLoaded', function () { 4 | FastClick.attach(document.body) 5 | }, false) 6 | } 7 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine on 3 | 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME}.html -f 7 | RewriteRule ^(.+)$ $1.html [L,QSA] 8 | 9 | ErrorDocument 404 /404.html 10 | 11 | -------------------------------------------------------------------------------- /_plugins/htmlCompressor.rb: -------------------------------------------------------------------------------- 1 | module Jekyll 2 | module HtmlCompressor 3 | def htmlCompressor(data) 4 | #data.gsub("\n", "").gsub("\t", "").gsub(//, "") 5 | data.gsub(//, "") 6 | end 7 | end 8 | end 9 | 10 | Liquid::Template.register_filter(Jekyll::HtmlCompressor) 11 | -------------------------------------------------------------------------------- /assets/js/prod/init.min.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["init.js"],"names":["document","addEventListener","FastClick","attach","body"],"mappings":"AACI,qBAAsBA,UACxBA,SAASC,iBAAiB,mBAAoB,WAC5CC,UAAUC,OAAOH,SAASI,QACzB","file":"init.min.js","sourcesContent":["/* Instantiate FastClick */\nif ('addEventListener' in document) {\n document.addEventListener('DOMContentLoaded', function () {\n FastClick.attach(document.body)\n }, false)\n}\n"]} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dasper", 3 | "version": "1.0.0", 4 | "description": "A Jekyll theme.", 5 | "main": "gulpfile.js", 6 | "scripts": { 7 | "gulp": "gulp" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://ozgrozer@github.com/ozgrozer/dasper.git" 12 | }, 13 | "keywords": [ 14 | "jekyll", 15 | "theme", 16 | "dasper" 17 | ], 18 | "author": "ozgrozer", 19 | "license": "MIT", 20 | "bugs": { 21 | "url": "https://github.com/ozgrozer/dasper/issues" 22 | }, 23 | "homepage": "https://github.com/ozgrozer/dasper#readme", 24 | "devDependencies": { 25 | "gulp": "^3.9.1", 26 | "gulp-plumber": "^1.1.0", 27 | "gulp-rename": "^1.2.2", 28 | "gulp-sass": "^3.1.0", 29 | "gulp-sourcemaps": "^2.6.1", 30 | "gulp-uglify": "^3.0.0" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Website details 2 | name: Name 3 | description: Description 4 | email: email@site.com 5 | author: author 6 | lang: en 7 | locale: en_US 8 | 9 | # Jekyll 10 | paginate: 10 11 | highlighter: rouge 12 | markdown: kramdown 13 | plugins: [jekyll-paginate] 14 | timezone: America/New_York 15 | paginateLabel: page 16 | paginate_path: "page/:num" 17 | permalink: /:categories/:year/:month/:day/:title 18 | baseurl: https://ozgrozer.github.io/dasper 19 | 20 | # Includes 21 | addthisId: "" 22 | disqusUsername: "" 23 | googleAnalyticsId: "" 24 | 25 | # Search engine verifications 26 | bing: "" 27 | yandex: "" 28 | google: "" 29 | 30 | # Sitemap 31 | sitemap: 32 | file: "/sitemap.xml" 33 | exclude: 34 | - "/404.html" 35 | include_posts: 36 | - "/index.html" 37 | change_frequency_name: "daily" 38 | priority_name: "1.00" 39 | -------------------------------------------------------------------------------- /assets/css/prod/mixins.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"mixins.min.css","sources":["mixins.scss"],"sourcesContent":["/* Vendor1 */\n@mixin vendor1($property, $expression...) {\n #{$property}: $expression;\n -o-#{$property}: $expression;\n -ms-#{$property}: $expression;\n -moz-#{$property}: $expression;\n -webkit-#{$property}: $expression;\n}/* @mixin vendor1() */\n\n/* Vendor2 */\n@mixin vendor2($property, $expression...) {\n #{$property}: #{$expression};\n #{$property}: -o-#{$expression};\n #{$property}: -ms-#{$expression};\n #{$property}: -moz-#{$expression};\n #{$property}: -webkit-#{$expression};\n}/* @mixin vendor2() */\n\n/* Aspect ratio */\n@mixin aspectRatio($ratio1, $ratio2) {\n display: block;\n position: relative;\n &:before {\n content: \"\";\n display: block;\n padding-bottom: ($ratio2 / $ratio1) * 100%;\n }\n >.ar-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n background-position: center center;\n @include vendor1(background-size, cover);\n }\n}/* @mixin aspectRatio() */\n"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /assets/css/dev/mixins.scss: -------------------------------------------------------------------------------- 1 | /* Vendor1 */ 2 | @mixin vendor1($property, $expression...) { 3 | #{$property}: $expression; 4 | -o-#{$property}: $expression; 5 | -ms-#{$property}: $expression; 6 | -moz-#{$property}: $expression; 7 | -webkit-#{$property}: $expression; 8 | }/* @mixin vendor1() */ 9 | 10 | /* Vendor2 */ 11 | @mixin vendor2($property, $expression...) { 12 | #{$property}: #{$expression}; 13 | #{$property}: -o-#{$expression}; 14 | #{$property}: -ms-#{$expression}; 15 | #{$property}: -moz-#{$expression}; 16 | #{$property}: -webkit-#{$expression}; 17 | }/* @mixin vendor2() */ 18 | 19 | /* Aspect ratio */ 20 | @mixin aspectRatio($ratio1, $ratio2) { 21 | display: block; 22 | position: relative; 23 | &:before { 24 | content: ""; 25 | display: block; 26 | padding-bottom: ($ratio2 / $ratio1) * 100%; 27 | } 28 | >.ar-content { 29 | top: 0; 30 | left: 0; 31 | right: 0; 32 | bottom: 0; 33 | position: absolute; 34 | background-position: center center; 35 | @include vendor1(background-size, cover); 36 | } 37 | }/* @mixin aspectRatio() */ 38 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Dasper 2 | [Dasper](https://github.com/ozgrozer/dasper) is a [Jekyll](https://jekyllrb.com/) theme inspired by [Ghost](https://ghost.org/)'s default theme [Casper](https://demo.ghost.io/) and also [Jasper](https://biomadeira.github.io/jasper/) & [Kasper](http://rosario.io/). 3 | 4 | ## Live Demo 5 | - [ozgrozer.github.io/dasper](https://ozgrozer.github.io/dasper) 6 | 7 | ## Includes 8 | - Pagination 9 | - 404 page 10 | - Fastclick ([@ftlabs](https://github.com/ftlabs/fastclick)) 11 | - Syntax highlighting ([@PrismJS](https://github.com/PrismJS/prism)) 12 | - Sitemap generator ([@kinnetica](https://github.com/kinnetica/jekyll-plugins)) 13 | - RSS generator ([@agelber](https://github.com/agelber/jekyll-rss)) 14 | - Addthis sharing buttons 15 | - Disqus comments 16 | - Google Analytics tracking 17 | 18 | ## Usage 19 | 1. Fork the repo. 20 | 2. Change repo name from "dasper" to "username.github.io". 21 | 3. Update your informations in the `_config.yml` file. 22 | 4. You're ready to go on https://username.github.io/. 23 | 24 | ## Copyright & License 25 | Copyright (c) 2016 - Released under the MIT License. 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Özgür Özer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp') 2 | var plumber = require('gulp-plumber') 3 | var sourcemaps = require('gulp-sourcemaps') 4 | var sass = require('gulp-sass') 5 | var rename = require('gulp-rename') 6 | var uglify = require('gulp-uglify') 7 | 8 | var paths = { 9 | scss: { source: 'assets/css/dev/*.scss', target: 'assets/css/prod/' }, 10 | js: { source: 'assets/js/dev/*.js', target: 'assets/js/prod/' } 11 | } 12 | 13 | gulp.task('scss', function () { 14 | gulp.src(paths.scss.source) 15 | .pipe(plumber()) 16 | .pipe(sourcemaps.init()) 17 | .pipe(sass({ outputStyle: 'compressed' })) 18 | .pipe(rename({ extname: '.min.css' })) 19 | .pipe(sourcemaps.write('.')) 20 | .pipe(gulp.dest(paths.scss.target)) 21 | }) 22 | 23 | gulp.task('js', function () { 24 | gulp.src(paths.js.source) 25 | .pipe(plumber()) 26 | .pipe(sourcemaps.init()) 27 | .pipe(uglify()) 28 | .pipe(rename({ extname: '.min.js' })) 29 | .pipe(sourcemaps.write('.')) 30 | .pipe(gulp.dest(paths.js.target)) 31 | }) 32 | 33 | gulp.task('watch', function () { 34 | gulp.watch(paths.scss.source, ['scss']) 35 | gulp.watch(paths.js.source, ['js']) 36 | }) 37 | 38 | gulp.task('default', ['scss', 'js', 'watch']) 39 | -------------------------------------------------------------------------------- /assets/css/prod/icomoon.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:'icomoon';src:url("../../font/icomoon.eot?m1n6");src:url("../../font/icomoon.eot?m1n6#iefix") format("embedded-opentype"),url("../../font/icomoon.ttf?m1n6") format("truetype"),url("../../font/icomoon.woff?m1n6") format("woff"),url("../../font/icomoon.svg?m1n6#icomoon") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-envelope-o:before{content:"\f003"}.icon-home:before{content:"\f015"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-facebook-f:before{content:"\f09a"}.icon-feed:before{content:"\f09e"}.icon-rss:before{content:"\f09e"}.icon-google-plus:before{content:"\f0d5"}.icon-linkedin:before{content:"\f0e1"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-tumblr:before{content:"\f173"}.icon-stumbleupon:before{content:"\f1a4"}.icon-delicious:before{content:"\f1a5"}.icon-digg:before{content:"\f1a6"}.icon-reddit-alien:before{content:"\f281"} 2 | 3 | /*# sourceMappingURL=icomoon.min.css.map */ 4 | -------------------------------------------------------------------------------- /assets/css/prod/prism.min.css: -------------------------------------------------------------------------------- 1 | code[class*="language-"],pre[class*="language-"]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,0.3);font-family:Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:0.3em}:not(pre)>code[class*="language-"],pre[class*="language-"]{background:#272822}:not(pre)>code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help} 2 | 3 | /*# sourceMappingURL=prism.min.css.map */ 4 | -------------------------------------------------------------------------------- /_layouts/article.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 6 | 7 | 8 | 9 |

{{ page.title }}

10 | 11 | 12 | 13 | {% if site.lang == "tr" %} 14 | {% assign m = page.date | date: "%-m" %} 15 | {{ page.date | date: "%-d" }} 16 | {% case m %} 17 | {% when "1" %}OCAK 18 | {% when "2" %}ŞUBAT 19 | {% when "3" %}MART 20 | {% when "4" %}NİSAN 21 | {% when "5" %}MAYIS 22 | {% when "6" %}HAZİRAN 23 | {% when "7" %}TEMMUZ 24 | {% when "8" %}AĞUSTOS 25 | {% when "9" %}EYLÜL 26 | {% when "10" %}EKİM 27 | {% when "11" %}KASIM 28 | {% when "12" %}ARALIK 29 | {% endcase %} 30 | {{ page.date | date: "%Y" }} 31 | {% else %} 32 | {{ page.date | date_to_long_string | upcase }} 33 | {% endif %} 34 | 35 | 36 | 37 |
{{ page.content }}
38 | 39 | 40 | 41 | 42 | {% if site.addthisId != "" %} 43 | 44 | 45 |
46 | 47 | 48 | {% endif %} 49 | 50 | 51 | {% if site.disqusUsername != "" %} 52 | 53 | 54 |
55 | 56 | 57 |
58 | 59 | 60 |
61 | 62 | {% endif %} 63 | -------------------------------------------------------------------------------- /assets/css/dev/icomoon.scss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'icomoon'; 3 | src: url('../../font/icomoon.eot?m1n6'); 4 | src: url('../../font/icomoon.eot?m1n6#iefix') format('embedded-opentype'), 5 | url('../../font/icomoon.ttf?m1n6') format('truetype'), 6 | url('../../font/icomoon.woff?m1n6') format('woff'), 7 | url('../../font/icomoon.svg?m1n6#icomoon') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | [class^="icon-"], 13 | [class*=" icon-"] { 14 | /* use !important to prevent issues with browser extensions that change fonts */ 15 | font-family: 'icomoon' !important; 16 | speak: none; 17 | font-style: normal; 18 | font-weight: normal; 19 | font-variant: normal; 20 | text-transform: none; 21 | line-height: 1; 22 | 23 | /* Better Font Rendering =========== */ 24 | -webkit-font-smoothing: antialiased; 25 | -moz-osx-font-smoothing: grayscale; 26 | } 27 | 28 | .icon-envelope-o:before { 29 | content: "\f003"; 30 | } 31 | 32 | .icon-home:before { 33 | content: "\f015"; 34 | } 35 | 36 | .icon-twitter:before { 37 | content: "\f099"; 38 | } 39 | 40 | .icon-facebook:before { 41 | content: "\f09a"; 42 | } 43 | 44 | .icon-facebook-f:before { 45 | content: "\f09a"; 46 | } 47 | 48 | .icon-feed:before { 49 | content: "\f09e"; 50 | } 51 | 52 | .icon-rss:before { 53 | content: "\f09e"; 54 | } 55 | 56 | .icon-google-plus:before { 57 | content: "\f0d5"; 58 | } 59 | 60 | .icon-linkedin:before { 61 | content: "\f0e1"; 62 | } 63 | 64 | .icon-angle-left:before { 65 | content: "\f104"; 66 | } 67 | 68 | .icon-angle-right:before { 69 | content: "\f105"; 70 | } 71 | 72 | .icon-tumblr:before { 73 | content: "\f173"; 74 | } 75 | 76 | .icon-stumbleupon:before { 77 | content: "\f1a4"; 78 | } 79 | 80 | .icon-delicious:before { 81 | content: "\f1a5"; 82 | } 83 | 84 | .icon-digg:before { 85 | content: "\f1a6"; 86 | } 87 | 88 | .icon-reddit-alien:before { 89 | content: "\f281"; 90 | } 91 | -------------------------------------------------------------------------------- /_includes/pagination.html: -------------------------------------------------------------------------------- 1 | 2 | 65 | -------------------------------------------------------------------------------- /_posts/2016/07/2016-07-02-first-post.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: article 3 | title: First Post 4 | date: 2016-07-02 15:33:00+0200 5 | coverPhoto: https://ozgrozer.github.io/dasper/contents/images/2016/07/jekyll.jpg 6 | --- 7 | 8 | Cupcake ipsum dolor sit amet cake. Cotton candy candy canes jujubes. Powder toffee I love sugar plum sweet roll candy cookie powder wafer. Tiramisu tootsie roll I love sweet chocolate cake cookie. Fruitcake I love gummies cheesecake sugar plum. Candy candy candy jelly jelly-o. 9 | 10 | ![](https://ozgrozer.github.io/dasper/contents/images/2016/07/jekyll.jpg) 11 | 12 | Carrot cake brownie jujubes gingerbread liquorice pastry I love croissant. I love bonbon powder chocolate cake apple pie dragée. Apple pie donut I love topping chocolate bar liquorice cotton candy liquorice. Marzipan apple pie sweet roll halvah oat cake I love pastry chocolate bar. Apple pie I love cookie brownie powder. Fruitcake chocolate bar I love jelly jelly carrot cake. Jelly beans toffee tart halvah icing macaroon gingerbread croissant. Jelly beans dragée cupcake cotton candy jelly dessert liquorice carrot cake. 13 | 14 | Sugar plum liquorice sugar plum jujubes marzipan bear claw donut cheesecake tart. I love muffin jujubes dragée pudding powder biscuit. Marshmallow halvah I love gummies I love cake dessert. Dragée marzipan dessert candy I love oat cake chocolate. Cotton candy cake icing cookie lollipop. Sweet candy halvah jelly beans toffee sesame snaps oat cake pastry. Pudding jelly beans ice cream candy canes sugar plum candy canes chocolate bar cookie. Chocolate toffee I love gummies gummies. 15 | 16 | I love sesame snaps croissant brownie I love. Candy canes I love I love sesame snaps fruitcake. Tart ice cream I love tootsie roll sweet roll brownie sweet roll. Marshmallow chocolate cake danish I love caramels candy canes gummi bears bonbon dragée. Biscuit tootsie roll oat cake gingerbread powder pudding. Jujubes dragée donut carrot cake muffin icing. Carrot cake wafer caramels pie apple pie sweet candy canes I love. Danish danish chocolate bar cake. Chocolate cake jujubes gummi bears lollipop topping. Sesame snaps marshmallow candy macaroon lemon drops pudding jujubes brownie. 17 | 18 | Croissant liquorice sugar plum I love sesame snaps lollipop I love bonbon. Tiramisu macaroon tootsie roll. I love jujubes caramels cheesecake. I love chupa chups carrot cake bonbon biscuit chocolate cake oat cake cake jujubes. Jelly danish pastry tart. Powder powder pie dessert marshmallow chocolate. 19 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 6 | {% if paginator.page > 1 %} 7 | 8 | 9 | {% include pagination.html section="top" %} 10 | 11 | {% endif %} 12 | 13 | 14 | {% for post in paginator.posts %} 15 | 16 | 17 |
18 | 19 | 20 | {{ post.title }} 21 | 22 | 23 | {% if post.coverPhoto %} 24 | 25 | 26 | 27 | 28 | 29 | 30 | {% endif %} 31 | 32 | 33 |
{{ post.content | strip_html | slice: 0, 200 }}
34 | 35 | 36 |
37 | 38 | 39 | 62 | 63 | 64 | {% if site.lang == "tr" %}DEVAMINI OKU{% else %}CONTINUE READING{% endif %} 65 | 66 |
67 | 68 |
69 | 70 | {% endfor %} 71 | 72 | 73 | {% include pagination.html section="bottom" %} 74 | -------------------------------------------------------------------------------- /assets/css/prod/icomoon.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"icomoon.min.css","sources":["icomoon.scss"],"sourcesContent":["@font-face {\n font-family: 'icomoon';\n src: url('../../font/icomoon.eot?m1n6');\n src: url('../../font/icomoon.eot?m1n6#iefix') format('embedded-opentype'),\n url('../../font/icomoon.ttf?m1n6') format('truetype'),\n url('../../font/icomoon.woff?m1n6') format('woff'),\n url('../../font/icomoon.svg?m1n6#icomoon') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n[class^=\"icon-\"],\n[class*=\" icon-\"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: 'icomoon' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-envelope-o:before {\n content: \"\\f003\";\n}\n\n.icon-home:before {\n content: \"\\f015\";\n}\n\n.icon-twitter:before {\n content: \"\\f099\";\n}\n\n.icon-facebook:before {\n content: \"\\f09a\";\n}\n\n.icon-facebook-f:before {\n content: \"\\f09a\";\n}\n\n.icon-feed:before {\n content: \"\\f09e\";\n}\n\n.icon-rss:before {\n content: \"\\f09e\";\n}\n\n.icon-google-plus:before {\n content: \"\\f0d5\";\n}\n\n.icon-linkedin:before {\n content: \"\\f0e1\";\n}\n\n.icon-angle-left:before {\n content: \"\\f104\";\n}\n\n.icon-angle-right:before {\n content: \"\\f105\";\n}\n\n.icon-tumblr:before {\n content: \"\\f173\";\n}\n\n.icon-stumbleupon:before {\n content: \"\\f1a4\";\n}\n\n.icon-delicious:before {\n content: \"\\f1a5\";\n}\n\n.icon-digg:before {\n content: \"\\f1a6\";\n}\n\n.icon-reddit-alien:before {\n content: \"\\f281\";\n}\n"],"names":[],"mappings":"AAAA,UAAU,CACR,WAAW,CAAE,SAAS,CACtB,GAAG,CAAE,kCAAkC,CACvC,GAAG,CAAE,wCAAwC,CAAC,2BAA2B,CACzE,kCAAkC,CAAC,kBAAkB,CACrD,mCAAmC,CAAC,cAAc,CAClD,0CAA0C,CAAC,aAAa,CACxD,WAAW,CAAE,MAAM,CACnB,UAAU,CAAE,MAAM,EAGpB,AAAA,AAAA,KAAC,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AAU,AAAA,OAAO,AAAC,CAChB,OAAO,CAAE,OAAO,CACjB,AAED,AAAA,kBAAkB,AAAA,OAAO,AAAC,CACxB,OAAO,CAAE,OAAO,CACjB"} -------------------------------------------------------------------------------- /assets/css/dev/prism.scss: -------------------------------------------------------------------------------- 1 | /* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+python+q+qore+r+jsx+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml */ 2 | /** 3 | * okaidia theme for JavaScript, CSS and HTML 4 | * Loosely based on Monokai textmate theme by http://www.monokai.nl/ 5 | * @author ocodia 6 | */ 7 | 8 | code[class*="language-"], 9 | pre[class*="language-"] { 10 | color: #f8f8f2; 11 | background: none; 12 | text-shadow: 0 1px rgba(0, 0, 0, 0.3); 13 | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; 14 | text-align: left; 15 | white-space: pre; 16 | word-spacing: normal; 17 | word-break: normal; 18 | word-wrap: normal; 19 | line-height: 1.5; 20 | 21 | -moz-tab-size: 4; 22 | -o-tab-size: 4; 23 | tab-size: 4; 24 | 25 | -webkit-hyphens: none; 26 | -moz-hyphens: none; 27 | -ms-hyphens: none; 28 | hyphens: none; 29 | } 30 | 31 | /* Code blocks */ 32 | pre[class*="language-"] { 33 | padding: 1em; 34 | margin: .5em 0; 35 | overflow: auto; 36 | border-radius: 0.3em; 37 | } 38 | 39 | :not(pre) > code[class*="language-"], 40 | pre[class*="language-"] { 41 | background: #272822; 42 | } 43 | 44 | /* Inline code */ 45 | :not(pre) > code[class*="language-"] { 46 | padding: .1em; 47 | border-radius: .3em; 48 | white-space: normal; 49 | } 50 | 51 | .token.comment, 52 | .token.prolog, 53 | .token.doctype, 54 | .token.cdata { 55 | color: slategray; 56 | } 57 | 58 | .token.punctuation { 59 | color: #f8f8f2; 60 | } 61 | 62 | .namespace { 63 | opacity: .7; 64 | } 65 | 66 | .token.property, 67 | .token.tag, 68 | .token.constant, 69 | .token.symbol, 70 | .token.deleted { 71 | color: #f92672; 72 | } 73 | 74 | .token.boolean, 75 | .token.number { 76 | color: #ae81ff; 77 | } 78 | 79 | .token.selector, 80 | .token.attr-name, 81 | .token.string, 82 | .token.char, 83 | .token.builtin, 84 | .token.inserted { 85 | color: #a6e22e; 86 | } 87 | 88 | .token.operator, 89 | .token.entity, 90 | .token.url, 91 | .language-css .token.string, 92 | .style .token.string, 93 | .token.variable { 94 | color: #f8f8f2; 95 | } 96 | 97 | .token.atrule, 98 | .token.attr-value, 99 | .token.function { 100 | color: #e6db74; 101 | } 102 | 103 | .token.keyword { 104 | color: #66d9ef; 105 | } 106 | 107 | .token.regex, 108 | .token.important { 109 | color: #fd971f; 110 | } 111 | 112 | .token.important, 113 | .token.bold { 114 | font-weight: bold; 115 | } 116 | .token.italic { 117 | font-style: italic; 118 | } 119 | 120 | .token.entity { 121 | cursor: help; 122 | } 123 | 124 | -------------------------------------------------------------------------------- /assets/css/prod/reset.min.css: -------------------------------------------------------------------------------- 1 | body{overflow-y:scroll}*{margin:0;padding:0;font-weight:400;font-size:15px;font-family:"Open Sans",sans-serif;box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}strong{font-weight:bold}code:not([class*="language-"]),kbd{border:none;padding:3px 6px;font-weight:bold;font-size:80% !important;border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;font-family:Menlo, Monaco, Consolas, "Courier New", monospace !important}code:not([class*="language-"]){color:#c7254e !important;background-color:#f9f2f4}kbd{background-color:#666;color:#F4F4F4 !important}blockquote{font-style:italic;margin-left:-50px;display:inline-block;padding-left:42px;border-left:8px solid #3A4145}@media (max-width: 767px){blockquote{margin-left:-25px;padding-left:21px;border-left:4px solid #3A4145}}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-weight:700;color:#4a4a4a}@media (max-width: 767px){h1,.h1{font-size:24px;line-height:30px}}@media (min-width: 768px) and (max-width: 991px){h1,.h1{font-size:28px;line-height:34px}}@media (min-width: 992px) and (max-width: 1199px){h1,.h1{font-size:30px;line-height:38px}}@media (min-width: 1200px) and (max-width: 1919px){h1,.h1{font-size:42px;line-height:46px}}@media (min-width: 1920px){h1,.h1{font-size:42px;line-height:46px}}@media (max-width: 767px){h2,.h2{font-size:22px;line-height:29px}}@media (min-width: 768px) and (max-width: 991px){h2,.h2{font-size:24px;line-height:31px}}@media (min-width: 992px) and (max-width: 1199px){h2,.h2{font-size:26px;line-height:33px}}@media (min-width: 1200px) and (max-width: 1919px){h2,.h2{font-size:28px;line-height:35px}}@media (min-width: 1920px){h2,.h2{font-size:30px;line-height:37px}}@media (max-width: 767px){h3,.h3{font-size:17px;line-height:23px}}@media (min-width: 768px) and (max-width: 991px){h3,.h3{font-size:19px;line-height:25px}}@media (min-width: 992px) and (max-width: 1199px){h3,.h3{font-size:21px;line-height:27px}}@media (min-width: 1200px) and (max-width: 1919px){h3,.h3{font-size:23px;line-height:29px}}@media (min-width: 1920px){h3,.h3{font-size:25px;line-height:31px}}@media (max-width: 767px){h4,.h4{font-size:17px;line-height:22px}}@media (min-width: 768px) and (max-width: 991px){h4,.h4{font-size:18px;line-height:23px}}@media (min-width: 992px) and (max-width: 1199px){h4,.h4{font-size:19px;line-height:24px}}@media (min-width: 1200px) and (max-width: 1919px){h4,.h4{font-size:20px;line-height:25px}}@media (min-width: 1920px){h4,.h4{font-size:21px;line-height:26px}}@media (max-width: 767px){h5,.h5{font-size:14px;line-height:20px}}@media (min-width: 768px) and (max-width: 991px){h5,.h5{font-size:15px;line-height:21px}}@media (min-width: 992px) and (max-width: 1199px){h5,.h5{font-size:16px;line-height:22px}}@media (min-width: 1200px) and (max-width: 1919px){h5,.h5{font-size:17px;line-height:23px}}@media (min-width: 1920px){h5,.h5{font-size:18px;line-height:24px}}@media (max-width: 767px){h6,.h6{font-size:11px;line-height:14px}}@media (min-width: 768px) and (max-width: 991px){h6,.h6{font-size:12px;line-height:15px}}@media (min-width: 992px) and (max-width: 1199px){h6,.h6{font-size:13px;line-height:16px}}@media (min-width: 1200px) and (max-width: 1919px){h6,.h6{font-size:14px;line-height:17px}}@media (min-width: 1920px){h6,.h6{font-size:15px;line-height:18px}}a{outline:none;text-decoration:none}.dt{width:100%;height:100%;display:table}.dt>.dtc{text-align:center;display:table-cell;vertical-align:middle}.cb{clear:both} 2 | 3 | /*# sourceMappingURL=reset.min.css.map */ 4 | -------------------------------------------------------------------------------- /assets/css/prod/variables.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"variables.min.css","sources":["variables.scss"],"sourcesContent":["/* Fonts */\n$generalFontFamily: \"Open Sans\", sans-serif;\n$articleFontFamily: \"Roboto Slab\", serif;\n\n/* Screen resolutions */\n$mobile-max: 767px;\n$tablet-min: 768px; $tablet-max: 991px;\n$computer-min: 992px; $computer-max: 1199px;\n$largescreen-min: 1200px; $largescreen-max: 1919px;\n$widescreen-min: 1920px;\n\n/* Sizes */\n$containerWidth-mobile: 100%;\n$containerWidth-tablet: 100%;\n$containerWidth-computer: 800px;\n$containerWidth-largescreen: 900px;\n$containerWidth-widescreen: 1000px;\n\n$containerPadding-mobile: 40px;\n$containerPadding-tablet: 80px;\n$containerPadding-computer: 100px;\n$containerPadding-largescreen: 120px;\n$containerPadding-widescreen: 140px;\n\n$homeTitleMarginTop-mobile: 20px;\n$homeTitleMarginTop-tablet: 30px;\n$homeTitleMarginTop-computer: 30px;\n$homeTitleMarginTop-largescreen: 40px;\n$homeTitleMarginTop-widescreen: 50px;\n\n$h1FontSize-mobile: 24px; $h1LineHeight-mobile: 30px;\n$h1FontSize-tablet: 28px; $h1LineHeight-tablet: 34px;\n$h1FontSize-computer: 30px; $h1LineHeight-computer: 38px;\n$h1FontSize-largescreen: 42px; $h1LineHeight-largescreen: 46px;\n$h1FontSize-widescreen: 42px; $h1LineHeight-widescreen: 46px;\n\n$h2FontSize-mobile: 22px; $h2LineHeight-mobile: 29px;\n$h2FontSize-tablet: 24px; $h2LineHeight-tablet: 31px;\n$h2FontSize-computer: 26px; $h2LineHeight-computer: 33px;\n$h2FontSize-largescreen: 28px; $h2LineHeight-largescreen: 35px;\n$h2FontSize-widescreen: 30px; $h2LineHeight-widescreen: 37px;\n\n$h3FontSize-mobile: 17px; $h3LineHeight-mobile: 23px;\n$h3FontSize-tablet: 19px; $h3LineHeight-tablet: 25px;\n$h3FontSize-computer: 21px; $h3LineHeight-computer: 27px;\n$h3FontSize-largescreen: 23px; $h3LineHeight-largescreen: 29px;\n$h3FontSize-widescreen: 25px; $h3LineHeight-widescreen: 31px;\n\n$h4FontSize-mobile: 17px; $h4LineHeight-mobile: 22px;\n$h4FontSize-tablet: 18px; $h4LineHeight-tablet: 23px;\n$h4FontSize-computer: 19px; $h4LineHeight-computer: 24px;\n$h4FontSize-largescreen: 20px; $h4LineHeight-largescreen: 25px;\n$h4FontSize-widescreen: 21px; $h4LineHeight-widescreen: 26px;\n\n$h5FontSize-mobile: 14px; $h5LineHeight-mobile: 20px;\n$h5FontSize-tablet: 15px; $h5LineHeight-tablet: 21px;\n$h5FontSize-computer: 16px; $h5LineHeight-computer: 22px;\n$h5FontSize-largescreen: 17px; $h5LineHeight-largescreen: 23px;\n$h5FontSize-widescreen: 18px; $h5LineHeight-widescreen: 24px;\n\n$h6FontSize-mobile: 11px; $h6LineHeight-mobile: 14px;\n$h6FontSize-tablet: 12px; $h6LineHeight-tablet: 15px;\n$h6FontSize-computer: 13px; $h6LineHeight-computer: 16px;\n$h6FontSize-largescreen: 14px; $h6LineHeight-largescreen: 17px;\n$h6FontSize-widescreen: 15px; $h6LineHeight-widescreen: 18px;\n\n$pFontSize-mobile: 16px; $pLineHeight-mobile: 29px;\n$pFontSize-tablet: 17px; $pLineHeight-tablet: 31px;\n$pFontSize-computer: 19px; $pLineHeight-computer: 33px;\n$pFontSize-largescreen: 21px; $pLineHeight-largescreen: 35px;\n$pFontSize-widescreen: 23px; $pLineHeight-widescreen: 37px;\n\n$headerHeight: 100px;\n$header__iconHeight: 40px;\n$header__iconFontSize: 20px;\n$footerHeight: 100px;\n$generalFontSize: 15px;\n$footerFontSize: 12px;\n$articleImageBorderRadius: 4px;\n$aspectRatioX: 2;\n$aspectRatioY: 1;\n\n/* Colors */\n$titleTextColor: #4a4a4a;\n$paragraphTextColor: #3A4145;\n$generalTextColor: lighten($titleTextColor, 40%);\n$linkBorderColor: #b4e7f8;\n$headerBackgroundColor: #f9f9f9;\n$headerBorderColor: darken($headerBackgroundColor, 3%);\n$footerBackgroundColor: $headerBackgroundColor;\n$footerBorderColor: darken($footerBackgroundColor, 3%);\n$aspectRatioBackgroundColor: $headerBorderColor;\n"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /assets/css/dev/variables.scss: -------------------------------------------------------------------------------- 1 | /* Fonts */ 2 | $generalFontFamily: "Open Sans", sans-serif; 3 | $articleFontFamily: "Roboto Slab", serif; 4 | 5 | /* Screen resolutions */ 6 | $mobile-max: 767px; 7 | $tablet-min: 768px; $tablet-max: 991px; 8 | $computer-min: 992px; $computer-max: 1199px; 9 | $largescreen-min: 1200px; $largescreen-max: 1919px; 10 | $widescreen-min: 1920px; 11 | 12 | /* Sizes */ 13 | $containerWidth-mobile: 100%; 14 | $containerWidth-tablet: 100%; 15 | $containerWidth-computer: 800px; 16 | $containerWidth-largescreen: 900px; 17 | $containerWidth-widescreen: 1000px; 18 | 19 | $containerPadding-mobile: 40px; 20 | $containerPadding-tablet: 80px; 21 | $containerPadding-computer: 100px; 22 | $containerPadding-largescreen: 120px; 23 | $containerPadding-widescreen: 140px; 24 | 25 | $homeTitleMarginTop-mobile: 20px; 26 | $homeTitleMarginTop-tablet: 30px; 27 | $homeTitleMarginTop-computer: 30px; 28 | $homeTitleMarginTop-largescreen: 40px; 29 | $homeTitleMarginTop-widescreen: 50px; 30 | 31 | $h1FontSize-mobile: 24px; $h1LineHeight-mobile: 30px; 32 | $h1FontSize-tablet: 28px; $h1LineHeight-tablet: 34px; 33 | $h1FontSize-computer: 30px; $h1LineHeight-computer: 38px; 34 | $h1FontSize-largescreen: 42px; $h1LineHeight-largescreen: 46px; 35 | $h1FontSize-widescreen: 42px; $h1LineHeight-widescreen: 46px; 36 | 37 | $h2FontSize-mobile: 22px; $h2LineHeight-mobile: 29px; 38 | $h2FontSize-tablet: 24px; $h2LineHeight-tablet: 31px; 39 | $h2FontSize-computer: 26px; $h2LineHeight-computer: 33px; 40 | $h2FontSize-largescreen: 28px; $h2LineHeight-largescreen: 35px; 41 | $h2FontSize-widescreen: 30px; $h2LineHeight-widescreen: 37px; 42 | 43 | $h3FontSize-mobile: 17px; $h3LineHeight-mobile: 23px; 44 | $h3FontSize-tablet: 19px; $h3LineHeight-tablet: 25px; 45 | $h3FontSize-computer: 21px; $h3LineHeight-computer: 27px; 46 | $h3FontSize-largescreen: 23px; $h3LineHeight-largescreen: 29px; 47 | $h3FontSize-widescreen: 25px; $h3LineHeight-widescreen: 31px; 48 | 49 | $h4FontSize-mobile: 17px; $h4LineHeight-mobile: 22px; 50 | $h4FontSize-tablet: 18px; $h4LineHeight-tablet: 23px; 51 | $h4FontSize-computer: 19px; $h4LineHeight-computer: 24px; 52 | $h4FontSize-largescreen: 20px; $h4LineHeight-largescreen: 25px; 53 | $h4FontSize-widescreen: 21px; $h4LineHeight-widescreen: 26px; 54 | 55 | $h5FontSize-mobile: 14px; $h5LineHeight-mobile: 20px; 56 | $h5FontSize-tablet: 15px; $h5LineHeight-tablet: 21px; 57 | $h5FontSize-computer: 16px; $h5LineHeight-computer: 22px; 58 | $h5FontSize-largescreen: 17px; $h5LineHeight-largescreen: 23px; 59 | $h5FontSize-widescreen: 18px; $h5LineHeight-widescreen: 24px; 60 | 61 | $h6FontSize-mobile: 11px; $h6LineHeight-mobile: 14px; 62 | $h6FontSize-tablet: 12px; $h6LineHeight-tablet: 15px; 63 | $h6FontSize-computer: 13px; $h6LineHeight-computer: 16px; 64 | $h6FontSize-largescreen: 14px; $h6LineHeight-largescreen: 17px; 65 | $h6FontSize-widescreen: 15px; $h6LineHeight-widescreen: 18px; 66 | 67 | $pFontSize-mobile: 16px; $pLineHeight-mobile: 29px; 68 | $pFontSize-tablet: 17px; $pLineHeight-tablet: 31px; 69 | $pFontSize-computer: 19px; $pLineHeight-computer: 33px; 70 | $pFontSize-largescreen: 21px; $pLineHeight-largescreen: 35px; 71 | $pFontSize-widescreen: 23px; $pLineHeight-widescreen: 37px; 72 | 73 | $headerHeight: 100px; 74 | $header__iconHeight: 40px; 75 | $header__iconFontSize: 20px; 76 | $footerHeight: 100px; 77 | $generalFontSize: 15px; 78 | $footerFontSize: 12px; 79 | $articleImageBorderRadius: 4px; 80 | $aspectRatioX: 2; 81 | $aspectRatioY: 1; 82 | 83 | /* Colors */ 84 | $titleTextColor: #4a4a4a; 85 | $paragraphTextColor: #3A4145; 86 | $generalTextColor: lighten($titleTextColor, 40%); 87 | $linkBorderColor: #b4e7f8; 88 | $headerBackgroundColor: #f9f9f9; 89 | $headerBorderColor: darken($headerBackgroundColor, 3%); 90 | $footerBackgroundColor: $headerBackgroundColor; 91 | $footerBorderColor: darken($footerBackgroundColor, 3%); 92 | $aspectRatioBackgroundColor: $headerBorderColor; 93 | -------------------------------------------------------------------------------- /_plugins/rssgenerator.rb: -------------------------------------------------------------------------------- 1 | # Jekyll plugin for generating an rss 2.0 feed for posts 2 | # 3 | # Usage: place this file in the _plugins directory and set the required configuration 4 | # attributes in the _config.yml file 5 | # 6 | # Uses the following attributes in _config.yml: 7 | # name - the name of the site 8 | # url - the url of the site 9 | # description - (optional) a description for the feed (if not specified will be generated from name) 10 | # author - (optional) the author of the site (if not specified will be left blank) 11 | # copyright - (optional) the copyright of the feed (if not specified will be left blank) 12 | # rss_path - (optional) the path to the feed (if not specified "/" will be used) 13 | # rss_name - (optional) the name of the rss file (if not specified "rss.xml" will be used) 14 | # rss_post_limit - (optional) the number of posts in the feed 15 | # 16 | # Author: Assaf Gelber 17 | # Site: http://agelber.com 18 | # Source: http://github.com/agelber/jekyll-rss 19 | # 20 | # Distributed under the MIT license 21 | # Copyright Assaf Gelber 2014 22 | 23 | module Jekyll 24 | class RssFeed < Page; end 25 | 26 | class RssGenerator < Generator 27 | priority :low 28 | safe true 29 | 30 | # Generates an rss 2.0 feed 31 | # 32 | # site - the site 33 | # 34 | # Returns nothing 35 | def generate(site) 36 | require 'rss' 37 | require 'cgi/util' 38 | 39 | # Create the rss with the help of the RSS module 40 | rss = RSS::Maker.make("2.0") do |maker| 41 | maker.channel.title = site.config['name'] 42 | maker.channel.link = site.config['baseurl'] 43 | maker.channel.description = site.config['description'] || "RSS feed for #{site.config['name']}" 44 | maker.channel.author = site.config["author"] 45 | maker.channel.updated = site.posts.docs.map { |p| p.date }.max 46 | maker.channel.copyright = site.config['copyright'] 47 | 48 | post_limit = site.config['rss_post_limit'].nil? ? site.posts.docs.count : site.config['rss_post_limit'] - 1 49 | 50 | site.posts.docs.reverse[0..post_limit].each do |doc| 51 | doc.read 52 | maker.items.new_item do |item| 53 | item.title = doc.data['title'] 54 | link = "#{site.config['baseurl']}#{doc.url}" 55 | item.guid.content = link 56 | item.link = link 57 | item.description = "]+?>}, '').strip[0...150] + "]]>" 58 | item.updated = doc.date 59 | end 60 | end 61 | end 62 | 63 | # File creation and writing 64 | rss_path = ensure_slashes(site.config['rss_path'] || "/") 65 | rss_name = site.config['rss_name'] || "rss.xml" 66 | full_path = File.join(site.dest, rss_path) 67 | ensure_dir(full_path) 68 | 69 | # We only have HTML in our content_encoded field which is surrounded by CDATA. 70 | # So it should be safe to unescape the HTML. 71 | feed = CGI::unescapeHTML(rss.to_s) 72 | 73 | File.open("#{full_path}#{rss_name}", "w") { |f| f.write(feed) } 74 | 75 | # Add the feed page to the site pages 76 | site.pages << Jekyll::RssFeed.new(site, site.dest, rss_path, rss_name) 77 | end 78 | 79 | private 80 | 81 | # Ensures the given path has leading and trailing slashes 82 | # 83 | # path - the string path 84 | # 85 | # Return the path with leading and trailing slashes 86 | def ensure_slashes(path) 87 | ensure_leading_slash(ensure_trailing_slash(path)) 88 | end 89 | 90 | # Ensures the given path has a leading slash 91 | # 92 | # path - the string path 93 | # 94 | # Returns the path with a leading slash 95 | def ensure_leading_slash(path) 96 | path[0] == "/" ? path : "/#{path}" 97 | end 98 | 99 | # Ensures the given path has a trailing slash 100 | # 101 | # path - the string path 102 | # 103 | # Returns the path with a trailing slash 104 | def ensure_trailing_slash(path) 105 | path[-1] == "/" ? path : "#{path}/" 106 | end 107 | 108 | # Ensures the given directory exists 109 | # 110 | # path - the string path of the directory 111 | # 112 | # Returns nothing 113 | def ensure_dir(path) 114 | FileUtils.mkdir_p(path) 115 | end 116 | end 117 | end 118 | -------------------------------------------------------------------------------- /assets/css/prod/prism.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"prism.min.css","sources":["prism.scss"],"sourcesContent":["/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+python+q+qore+r+jsx+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml */\n/**\n * okaidia theme for JavaScript, CSS and HTML\n * Loosely based on Monokai textmate theme by http://www.monokai.nl/\n * @author ocodia\n */\n\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tcolor: #f8f8f2;\n\tbackground: none;\n\ttext-shadow: 0 1px rgba(0, 0, 0, 0.3);\n\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Code blocks */\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tborder-radius: 0.3em;\n}\n\n:not(pre) > code[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tbackground: #272822;\n}\n\n/* Inline code */\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: .1em;\n\tborder-radius: .3em;\n\twhite-space: normal;\n}\n\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: slategray;\n}\n\n.token.punctuation {\n\tcolor: #f8f8f2;\n}\n\n.namespace {\n\topacity: .7;\n}\n\n.token.property,\n.token.tag,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #f92672;\n}\n\n.token.boolean,\n.token.number {\n\tcolor: #ae81ff;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin,\n.token.inserted {\n\tcolor: #a6e22e;\n}\n\n.token.operator,\n.token.entity,\n.token.url,\n.language-css .token.string,\n.style .token.string,\n.token.variable {\n\tcolor: #f8f8f2;\n}\n\n.token.atrule,\n.token.attr-value,\n.token.function {\n\tcolor: #e6db74;\n}\n\n.token.keyword {\n\tcolor: #66d9ef;\n}\n\n.token.regex,\n.token.important {\n\tcolor: #fd971f;\n}\n\n.token.important,\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n"],"names":[],"mappings":"AAOA,AAAA,IAAI,CAAA,AAAA,KAAC,EAAO,WAAW,AAAlB,EACL,AAAA,GAAG,CAAA,AAAA,KAAC,EAAO,WAAW,AAAlB,CAAoB,CACvB,KAAK,CAAE,OAAO,CACd,UAAU,CAAE,IAAI,CAChB,WAAW,CAAE,CAAC,CAAC,GAAG,CAAC,eAAkB,CACrC,WAAW,CAAE,yDAAyD,CACtE,UAAU,CAAE,IAAI,CAChB,WAAW,CAAE,GAAG,CAChB,YAAY,CAAE,MAAM,CACpB,UAAU,CAAE,MAAM,CAClB,SAAS,CAAE,MAAM,CACjB,WAAW,CAAE,GAAG,CAEhB,aAAa,CAAE,CAAC,CAChB,WAAW,CAAE,CAAC,CACd,QAAQ,CAAE,CAAC,CAEX,eAAe,CAAE,IAAI,CACrB,YAAY,CAAE,IAAI,CAClB,WAAW,CAAE,IAAI,CACjB,OAAO,CAAE,IAAI,CACb,AAGD,AAAA,GAAG,CAAA,AAAA,KAAC,EAAO,WAAW,AAAlB,CAAoB,CACvB,OAAO,CAAE,GAAG,CACZ,MAAM,CAAE,MAAM,CACd,QAAQ,CAAE,IAAI,CACd,aAAa,CAAE,KAAK,CACpB,AA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O,MAAD,CAAC,MAAM,AAAA,OAAO,CACpB,AAAA,MAAM,AAAA,SAAS,AAAC,CACf,KAAK,CAAE,OAAO,CACd,AAED,AAAA,MAAM,AAAA,OAAO,CACb,AAAA,MAAM,AAAA,WAAW,CACjB,AAAA,MAAM,AAAA,SAAS,AAAC,CACf,KAAK,CAAE,OAAO,CACd,AAED,AAAA,MAAM,AAAA,QAAQ,AAAC,CACd,KAAK,CAAE,OAAO,CACd,AAED,AAAA,MAAM,AAAA,MAAM,CACZ,AAAA,MAAM,AAAA,UAAU,AAAC,CAChB,KAAK,CAAE,OAAO,CACd,AAED,AAAA,MAAM,AAAA,UAAU,CAChB,AAAA,MAAM,AAAA,KAAK,AAAC,CACX,WAAW,CAAE,IAAI,CACjB,AACD,AAAA,MAAM,AAAA,OAAO,AAAC,CACb,UAAU,CAAE,MAAM,CAClB,AAED,AAAA,MAAM,AAAA,OAAO,AAAC,CACb,MAAM,CAAE,IAAI,CACZ"} -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: htmlCompressor 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | {% if page.title %}{{ page.title }}{% elsif site.name %}{{ site.name }}{% endif %} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | {% if page.coverPhoto %} 43 | 44 | 45 | 46 | {% endif %} 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | {% if site.bing != "" %}{% endif %} 56 | {% if site.yandex != "" %}{% endif %} 57 | {% if site.google != "" %}{% endif %} 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 |
74 | 75 | 76 |
77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 | 85 |
86 | 87 | 88 |
89 | 90 |

{{ site.name }}

91 |
{{ site.description }}
92 | 93 |
94 | 95 |
96 | 97 |
98 | 99 | 100 | 101 | 102 |
103 | 104 |
105 | 106 | 107 |
108 | 109 | 110 |
111 | 112 | 113 | {{ content }} 114 | 115 |
116 | 117 |
118 | 119 | 120 |
121 | 122 | 123 |
124 | 125 | 126 |
127 | 128 | 129 |
130 | 131 | 132 | {{ site.name }} © {{ site.time | date: "%Y" }} • {% if site.lang == "tr" %}Tüm hakları saklıdır{% else %}All rights reserved{% endif %}. 133 |
134 | {% if site.lang == "tr" %} 135 | Jekyll ile Dasper teması kullanılarak oluşturulmuştur. 136 | {% else %} 137 | Proudly published with Jekyll using Dasper theme. 138 | {% endif %} 139 | 140 |
141 | 142 |
143 | 144 |
145 | 146 |
147 | 148 | 149 | {% if site.googleAnalyticsId != "" %} 150 | 151 | 152 | 160 | 161 | {% endif %} 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /assets/js/prod/fastclick.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";function t(e,o){var i;if(o=o||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=o.touchBoundary||10,this.layer=e,this.tapDelay=o.tapDelay||200,this.tapTimeout=o.tapTimeout||700,!t.notNeeded(e)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,c=0,s=r.length;c=0,n=navigator.userAgent.indexOf("Android")>0&&!e,o=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,i=o&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=o&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(o&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var n,o;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),o=e.changedTouches[0],(n=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(t),!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,t.dispatchEvent(n)},t.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;o&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,n;if(!(e=t.fastClickScrollParent)||!e.contains(t)){n=t;do{if(n.scrollHeight>n.offsetHeight){e=n,t.fastClickScrollParent=n;break}n=n.parentElement}while(n)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,n,r;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),n=t.targetTouches[0],o){if((r=window.getSelection()).rangeCount&&!r.isCollapsed)return!0;if(!i){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=n.pageX,this.touchStartY=n.pageY,t.timeStamp-this.lastClickTimen||Math.abs(e.pageY-this.touchStartY)>n},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,a,c,s,u,l=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,a=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(u=t.changedTouches[0],(l=document.elementFromPoint(u.pageX-window.pageXOffset,u.pageY-window.pageYOffset)||l).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(c=l.tagName.toLowerCase())){if(e=this.findControl(l)){if(this.focus(l),n)return!1;l=e}}else if(this.needsFocus(l))return t.timeStamp-a>100||o&&window.top!==window&&"input"===c?(this.targetElement=null,!1):(this.focus(l),this.sendClick(l,t),o&&"select"===c||(this.targetElement=null,t.preventDefault()),!1);return!(!o||i||!(s=l.fastClickScrollParent)||s.fastClickLastScrollTop===s.scrollTop)||(this.needsClick(l)||(t.preventDefault(),this.sendClick(l,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||((e=this.onMouse(t))||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;n&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,o,i;if(void 0===window.ontouchstart)return!0;if(o=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(o>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]>=10&&i[2]>=3&&(e=document.querySelector("meta[name=viewport]"))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector("meta[name=viewport]"))&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||"none"===t.style.touchAction||"manipulation"===t.style.touchAction)},t.attach=function(e,n){return new t(e,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}(); 2 | //# sourceMappingURL=fastclick.min.js.map 3 | -------------------------------------------------------------------------------- /assets/css/dev/reset.scss: -------------------------------------------------------------------------------- 1 | /* IMPORTS */ 2 | @import "mixins"; 3 | @import "variables"; 4 | 5 | /* Html, body */ 6 | html, body { 7 | /* overflow-x: hidden; */ 8 | }/* html, body */ 9 | 10 | /* Body */ 11 | body { 12 | overflow-y: scroll; 13 | }/* body */ 14 | 15 | /* All elements */ 16 | * { 17 | margin: 0; 18 | padding: 0; 19 | font-weight: 400; 20 | /* color: $generalTextColor; */ 21 | font-size: $generalFontSize; 22 | font-family: $generalFontFamily; 23 | @include vendor1(box-sizing, border-box); 24 | }/* * */ 25 | 26 | /* Bold texts */ 27 | strong { 28 | font-weight: bold; 29 | }/* strong */ 30 | 31 | /* Codes and keyboard tags */ 32 | code:not([class*="language-"]), kbd { 33 | border: none; 34 | padding: 3px 6px; 35 | font-weight: bold; 36 | font-size: 80% !important; 37 | @include vendor1(border-radius, $articleImageBorderRadius); 38 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace !important; 39 | }/* code, kbd */ 40 | 41 | /* Codes */ 42 | code:not([class*="language-"]) { 43 | color: #c7254e !important; 44 | background-color: #f9f2f4; 45 | }/* code */ 46 | 47 | /* Keyboard tags */ 48 | kbd { 49 | background-color: #666; 50 | color: #F4F4F4 !important; 51 | }/* kbd */ 52 | 53 | /* Blockquotes */ 54 | blockquote { 55 | 56 | font-style: italic; 57 | margin-left: -50px; 58 | display: inline-block; 59 | padding-left: 50px - 8px; 60 | border-left: 8px solid $paragraphTextColor; 61 | 62 | /* Mobile */ 63 | @media(max-width:$mobile-max) { 64 | margin-left: -25px; 65 | padding-left: 25px - 4px; 66 | border-left: 4px solid $paragraphTextColor; 67 | } 68 | 69 | }/* blockquote */ 70 | 71 | /* Headings */ 72 | h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { 73 | font-weight: 700; 74 | color: $titleTextColor; 75 | }/* h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 */ 76 | 77 | /* Heading 1 */ 78 | h1, .h1 { 79 | 80 | /* Mobile */ 81 | @media(max-width:$mobile-max) { 82 | font-size: $h1FontSize-mobile; 83 | line-height: $h1LineHeight-mobile; 84 | } 85 | /* Tablet */ 86 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 87 | font-size: $h1FontSize-tablet; 88 | line-height: $h1LineHeight-tablet; 89 | } 90 | /* Computer */ 91 | @media(min-width:$computer-min) and (max-width:$computer-max) { 92 | font-size: $h1FontSize-computer; 93 | line-height: $h1LineHeight-computer; 94 | } 95 | /* Largescreen */ 96 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 97 | font-size: $h1FontSize-largescreen; 98 | line-height: $h1LineHeight-largescreen; 99 | } 100 | /* Widescreen */ 101 | @media(min-width:$widescreen-min) { 102 | font-size: $h1FontSize-widescreen; 103 | line-height: $h1LineHeight-widescreen; 104 | } 105 | 106 | }/* h1, .h1 */ 107 | 108 | /* Heading 2 */ 109 | h2, .h2 { 110 | 111 | /* Mobile */ 112 | @media(max-width:$mobile-max) { 113 | font-size: $h2FontSize-mobile; 114 | line-height: $h2LineHeight-mobile; 115 | } 116 | /* Tablet */ 117 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 118 | font-size: $h2FontSize-tablet; 119 | line-height: $h2LineHeight-tablet; 120 | } 121 | /* Computer */ 122 | @media(min-width:$computer-min) and (max-width:$computer-max) { 123 | font-size: $h2FontSize-computer; 124 | line-height: $h2LineHeight-computer; 125 | } 126 | /* Largescreen */ 127 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 128 | font-size: $h2FontSize-largescreen; 129 | line-height: $h2LineHeight-largescreen; 130 | } 131 | /* Widescreen */ 132 | @media(min-width:$widescreen-min) { 133 | font-size: $h2FontSize-widescreen; 134 | line-height: $h2LineHeight-widescreen; 135 | } 136 | 137 | }/* h2, .h2 */ 138 | 139 | /* Heading 3 */ 140 | h3, .h3 { 141 | 142 | /* Mobile */ 143 | @media(max-width:$mobile-max) { 144 | font-size: $h3FontSize-mobile; 145 | line-height: $h3LineHeight-mobile; 146 | } 147 | /* Tablet */ 148 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 149 | font-size: $h3FontSize-tablet; 150 | line-height: $h3LineHeight-tablet; 151 | } 152 | /* Computer */ 153 | @media(min-width:$computer-min) and (max-width:$computer-max) { 154 | font-size: $h3FontSize-computer; 155 | line-height: $h3LineHeight-computer; 156 | } 157 | /* Largescreen */ 158 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 159 | font-size: $h3FontSize-largescreen; 160 | line-height: $h3LineHeight-largescreen; 161 | } 162 | /* Widescreen */ 163 | @media(min-width:$widescreen-min) { 164 | font-size: $h3FontSize-widescreen; 165 | line-height: $h3LineHeight-widescreen; 166 | } 167 | 168 | }/* h3, .h3 */ 169 | 170 | /* Heading 4 */ 171 | h4, .h4 { 172 | 173 | /* Mobile */ 174 | @media(max-width:$mobile-max) { 175 | font-size: $h4FontSize-mobile; 176 | line-height: $h4LineHeight-mobile; 177 | } 178 | /* Tablet */ 179 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 180 | font-size: $h4FontSize-tablet; 181 | line-height: $h4LineHeight-tablet; 182 | } 183 | /* Computer */ 184 | @media(min-width:$computer-min) and (max-width:$computer-max) { 185 | font-size: $h4FontSize-computer; 186 | line-height: $h4LineHeight-computer; 187 | } 188 | /* Largescreen */ 189 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 190 | font-size: $h4FontSize-largescreen; 191 | line-height: $h4LineHeight-largescreen; 192 | } 193 | /* Widescreen */ 194 | @media(min-width:$widescreen-min) { 195 | font-size: $h4FontSize-widescreen; 196 | line-height: $h4LineHeight-widescreen; 197 | } 198 | 199 | }/* h4, .h4 */ 200 | 201 | /* Heading 5 */ 202 | h5, .h5 { 203 | 204 | /* Mobile */ 205 | @media(max-width:$mobile-max) { 206 | font-size: $h5FontSize-mobile; 207 | line-height: $h5LineHeight-mobile; 208 | } 209 | /* Tablet */ 210 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 211 | font-size: $h5FontSize-tablet; 212 | line-height: $h5LineHeight-tablet; 213 | } 214 | /* Computer */ 215 | @media(min-width:$computer-min) and (max-width:$computer-max) { 216 | font-size: $h5FontSize-computer; 217 | line-height: $h5LineHeight-computer; 218 | } 219 | /* Largescreen */ 220 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 221 | font-size: $h5FontSize-largescreen; 222 | line-height: $h5LineHeight-largescreen; 223 | } 224 | /* Widescreen */ 225 | @media(min-width:$widescreen-min) { 226 | font-size: $h5FontSize-widescreen; 227 | line-height: $h5LineHeight-widescreen; 228 | } 229 | 230 | }/* h5, .h5 */ 231 | 232 | /* Heading 6 */ 233 | h6, .h6 { 234 | 235 | /* Mobile */ 236 | @media(max-width:$mobile-max) { 237 | font-size: $h6FontSize-mobile; 238 | line-height: $h6LineHeight-mobile; 239 | } 240 | /* Tablet */ 241 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 242 | font-size: $h6FontSize-tablet; 243 | line-height: $h6LineHeight-tablet; 244 | } 245 | /* Computer */ 246 | @media(min-width:$computer-min) and (max-width:$computer-max) { 247 | font-size: $h6FontSize-computer; 248 | line-height: $h6LineHeight-computer; 249 | } 250 | /* Largescreen */ 251 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 252 | font-size: $h6FontSize-largescreen; 253 | line-height: $h6LineHeight-largescreen; 254 | } 255 | /* Widescreen */ 256 | @media(min-width:$widescreen-min) { 257 | font-size: $h6FontSize-widescreen; 258 | line-height: $h6LineHeight-widescreen; 259 | } 260 | 261 | }/* h6, .h6 */ 262 | 263 | /* Links */ 264 | a { 265 | outline: none; 266 | text-decoration: none; 267 | }/* a */ 268 | 269 | /* Display: table */ 270 | .dt { 271 | 272 | width: 100%; 273 | height: 100%; 274 | display: table; 275 | 276 | /* Display: table-cell */ 277 | >.dtc { 278 | text-align: center; 279 | display: table-cell; 280 | vertical-align: middle; 281 | }/* >.dtc */ 282 | 283 | }/* .dt */ 284 | 285 | /* Clear:both */ 286 | .cb { 287 | clear: both; 288 | }/* .cb */ 289 | -------------------------------------------------------------------------------- /assets/font/icomoon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /_plugins/sitemap_generator.rb: -------------------------------------------------------------------------------- 1 | # Sitemap.xml Generator is a Jekyll plugin that generates a sitemap.xml file by 2 | # traversing all of the available posts and pages. 3 | # 4 | # See readme file for documenation 5 | # 6 | # Updated to use config file for settings by Daniel Groves 7 | # Site: http://danielgroves.net 8 | # 9 | # Author: Michael Levin 10 | # Site: http://www.kinnetica.com 11 | # Distributed Under A Creative Commons License 12 | # - http://creativecommons.org/licenses/by/3.0/ 13 | require 'jekyll/document' 14 | require 'rexml/document' 15 | 16 | module Jekyll 17 | 18 | class Jekyll::Document 19 | attr_accessor :name 20 | 21 | def path_to_source 22 | File.join(*[@name].compact) 23 | end 24 | 25 | def location_on_server(my_url) 26 | "#{my_url}#{url}" 27 | end 28 | end 29 | 30 | class Page 31 | attr_accessor :name 32 | 33 | def path_to_source 34 | File.join(*[@dir, @name].compact) 35 | end 36 | 37 | def location_on_server(my_url) 38 | location = "#{my_url}#{url}" 39 | location.gsub(/index.html$/, "") 40 | end 41 | end 42 | 43 | # Recover from strange exception when starting server without --auto 44 | class SitemapFile < StaticFile 45 | def write(dest) 46 | true 47 | end 48 | end 49 | 50 | class SitemapGenerator < Generator 51 | priority :lowest 52 | 53 | # Config defaults 54 | SITEMAP_FILE_NAME = "/sitemap.xml" 55 | EXCLUDE = ["/atom.xml", "/feed.xml", "/feed/index.xml"] 56 | INCLUDE_POSTS = ["/index.html"] 57 | CHANGE_FREQUENCY_NAME = "change_frequency" 58 | PRIORITY_NAME = "priority" 59 | 60 | # Valid values allowed by sitemap.xml spec for change frequencies 61 | VALID_CHANGE_FREQUENCY_VALUES = ["always", "hourly", "daily", "weekly", 62 | "monthly", "yearly", "never"] 63 | 64 | # Goes through pages and posts and generates sitemap.xml file 65 | # 66 | # Returns nothing 67 | def generate(site) 68 | # Configuration 69 | sitemap_config = site.config['sitemap'] || {} 70 | @config = {} 71 | @config['filename'] = sitemap_config['filename'] || SITEMAP_FILE_NAME 72 | @config['change_frequency_name'] = sitemap_config['change_frequency_name'] || CHANGE_FREQUENCY_NAME 73 | @config['priority_name'] = sitemap_config['priority_name'] || PRIORITY_NAME 74 | @config['exclude'] = sitemap_config['exclude'] || EXCLUDE 75 | @config['include_posts'] = sitemap_config['include_posts'] || INCLUDE_POSTS 76 | 77 | sitemap = REXML::Document.new << REXML::XMLDecl.new("1.0", "UTF-8") 78 | 79 | urlset = REXML::Element.new "urlset" 80 | urlset.add_attribute("xmlns", 81 | "http://www.sitemaps.org/schemas/sitemap/0.9") 82 | 83 | @last_modified_post_date = fill_posts(site, urlset) 84 | fill_pages(site, urlset) 85 | 86 | sitemap.add_element(urlset) 87 | 88 | # Create destination directory if it doesn't exist yet. Otherwise, we cannot write our file there. 89 | Dir::mkdir(site.dest) if !File.directory? site.dest 90 | 91 | # File I/O: create sitemap.xml file and write out pretty-printed XML 92 | filename = @config['filename'] 93 | file = File.new(File.join(site.dest, filename), "w") 94 | formatter = REXML::Formatters::Pretty.new(4) 95 | formatter.compact = true 96 | formatter.write(sitemap, file) 97 | file.close 98 | 99 | # Keep the sitemap.xml file from being cleaned by Jekyll 100 | site.static_files << Jekyll::SitemapFile.new(site, site.dest, "/", filename) 101 | end 102 | 103 | # Create url elements for all the posts and find the date of the latest one 104 | # 105 | # Returns last_modified_date of latest post 106 | def fill_posts(site, urlset) 107 | 108 | last_modified_date = nil 109 | site.collections["posts"].docs.each do |post| 110 | if !excluded?(site, post.name) 111 | url = fill_url(site, post) 112 | urlset.add_element(url) 113 | end 114 | 115 | date = File.mtime(post.path) 116 | last_modified_date = date if last_modified_date == nil or date > last_modified_date 117 | end 118 | 119 | last_modified_date 120 | end 121 | 122 | # Create url elements for all the normal pages and find the date of the 123 | # index to use with the pagination pages 124 | # 125 | # Returns last_modified_date of index page 126 | def fill_pages(site, urlset) 127 | site.pages.each do |page| 128 | if !excluded?(site, page.path_to_source) 129 | if File.exists?(page.path) 130 | url = fill_url(site, page) 131 | urlset.add_element(url) 132 | end 133 | end 134 | end 135 | end 136 | 137 | # Fill data of each URL element: location, last modified, 138 | # change frequency (optional), and priority. 139 | # 140 | # Returns url REXML::Element 141 | def fill_url(site, page_or_post) 142 | url = REXML::Element.new "url" 143 | 144 | loc = fill_location(site, page_or_post) 145 | url.add_element(loc) 146 | 147 | lastmod = fill_last_modified(site, page_or_post) 148 | url.add_element(lastmod) if lastmod 149 | 150 | 151 | 152 | if (page_or_post.data[@config['change_frequency_name']]) 153 | change_frequency = 154 | page_or_post.data[@config['change_frequency_name']].downcase 155 | 156 | if (valid_change_frequency?(change_frequency)) 157 | changefreq = REXML::Element.new "changefreq" 158 | changefreq.text = change_frequency 159 | url.add_element(changefreq) 160 | else 161 | puts "ERROR: Invalid Change Frequency In #{page_or_post.name}" 162 | end 163 | end 164 | 165 | if (page_or_post.data[@config['priority_name']]) 166 | priority_value = page_or_post.data[@config['priority_name']] 167 | if valid_priority?(priority_value) 168 | priority = REXML::Element.new "priority" 169 | priority.text = page_or_post.data[@config['priority_name']] 170 | url.add_element(priority) 171 | else 172 | puts "ERROR: Invalid Priority In #{page_or_post.name}" 173 | end 174 | end 175 | 176 | url 177 | end 178 | 179 | # Get URL location of page or post 180 | # 181 | # Returns the location of the page or post 182 | def fill_location(site, page_or_post) 183 | loc = REXML::Element.new "loc" 184 | url = site.config['baseurl'] 185 | loc.text = page_or_post.location_on_server(url) 186 | 187 | loc 188 | end 189 | 190 | # Fill lastmod XML element with the last modified date for the page or post. 191 | # 192 | # Returns lastmod REXML::Element or nil 193 | def fill_last_modified(site, page_or_post) 194 | lastmod = REXML::Element.new "lastmod" 195 | date = File.mtime(page_or_post.path) 196 | latest_date = find_latest_date(date, site, page_or_post) 197 | 198 | if @last_modified_post_date == nil 199 | # This is a post 200 | lastmod.text = latest_date.iso8601 201 | else 202 | # This is a page 203 | if posts_included?(site, page_or_post.path_to_source) 204 | # We want to take into account the last post date 205 | final_date = greater_date(latest_date, @last_modified_post_date) 206 | lastmod.text = final_date.iso8601 207 | else 208 | lastmod.text = latest_date.iso8601 209 | end 210 | end 211 | lastmod 212 | end 213 | 214 | # Go through the page/post and any implemented layouts and get the latest 215 | # modified date 216 | # 217 | # Returns formatted output of latest date of page/post and any used layouts 218 | def find_latest_date(latest_date, site, page_or_post) 219 | layouts = site.layouts 220 | layout = layouts[page_or_post.data["layout"]] 221 | while layout 222 | date = File.mtime(layout.path) 223 | 224 | latest_date = date if (date > latest_date) 225 | 226 | layout = layouts[layout.data["layout"]] 227 | end 228 | 229 | latest_date 230 | end 231 | 232 | # Which of the two dates is later 233 | # 234 | # Returns latest of two dates 235 | def greater_date(date1, date2) 236 | if (date1 >= date2) 237 | date1 238 | else 239 | date2 240 | end 241 | end 242 | 243 | # Is the page or post listed as something we want to exclude? 244 | # 245 | # Returns boolean 246 | def excluded?(site, name) 247 | @config['exclude'].include? name 248 | end 249 | 250 | def posts_included?(site, name) 251 | @config['include_posts'].include? name 252 | end 253 | 254 | # Is the change frequency value provided valid according to the spec 255 | # 256 | # Returns boolean 257 | def valid_change_frequency?(change_frequency) 258 | VALID_CHANGE_FREQUENCY_VALUES.include? change_frequency 259 | end 260 | 261 | # Is the priority value provided valid according to the spec 262 | # 263 | # Returns boolean 264 | def valid_priority?(priority) 265 | begin 266 | priority_val = Float(priority) 267 | return true if priority_val >= 0.0 and priority_val <= 1.0 268 | rescue ArgumentError 269 | end 270 | 271 | false 272 | end 273 | end 274 | end 275 | -------------------------------------------------------------------------------- /assets/css/prod/reset.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"reset.min.css","sources":["reset.scss","mixins.scss","variables.scss"],"sourcesContent":["/* IMPORTS */\n@import \"mixins\";\n@import \"variables\";\n\n/* Html, body */\nhtml, body {\n /* overflow-x: hidden; */\n}/* html, body */\n\n/* Body */\nbody {\n overflow-y: scroll;\n}/* body */\n\n/* All elements */\n* {\n margin: 0;\n padding: 0;\n font-weight: 400;\n /* color: $generalTextColor; */\n font-size: $generalFontSize;\n font-family: $generalFontFamily;\n @include vendor1(box-sizing, border-box);\n}/* * */\n\n/* Bold texts */\nstrong {\n font-weight: bold;\n}/* strong */\n\n/* Codes and keyboard tags */\ncode:not([class*=\"language-\"]), kbd {\n border: none;\n padding: 3px 6px;\n font-weight: bold;\n font-size: 80% !important;\n @include vendor1(border-radius, $articleImageBorderRadius);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace !important;\n}/* code, kbd */\n\n/* Codes */\ncode:not([class*=\"language-\"]) {\n color: #c7254e !important;\n background-color: #f9f2f4;\n}/* code */\n\n/* Keyboard tags */\nkbd {\n background-color: #666;\n color: #F4F4F4 !important;\n}/* kbd */\n\n/* Blockquotes */\nblockquote {\n\n font-style: italic;\n margin-left: -50px;\n display: inline-block;\n padding-left: 50px - 8px;\n border-left: 8px solid $paragraphTextColor;\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n margin-left: -25px;\n padding-left: 25px - 4px;\n border-left: 4px solid $paragraphTextColor;\n }\n\n}/* blockquote */\n\n/* Headings */\nh1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {\n font-weight: 700;\n color: $titleTextColor;\n}/* h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 */\n\n/* Heading 1 */\nh1, .h1 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h1FontSize-mobile;\n line-height: $h1LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h1FontSize-tablet;\n line-height: $h1LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h1FontSize-computer;\n line-height: $h1LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h1FontSize-largescreen;\n line-height: $h1LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h1FontSize-widescreen;\n line-height: $h1LineHeight-widescreen;\n }\n\n}/* h1, .h1 */\n\n/* Heading 2 */\nh2, .h2 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h2FontSize-mobile;\n line-height: $h2LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h2FontSize-tablet;\n line-height: $h2LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h2FontSize-computer;\n line-height: $h2LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h2FontSize-largescreen;\n line-height: $h2LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h2FontSize-widescreen;\n line-height: $h2LineHeight-widescreen;\n }\n\n}/* h2, .h2 */\n\n/* Heading 3 */\nh3, .h3 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h3FontSize-mobile;\n line-height: $h3LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h3FontSize-tablet;\n line-height: $h3LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h3FontSize-computer;\n line-height: $h3LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h3FontSize-largescreen;\n line-height: $h3LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h3FontSize-widescreen;\n line-height: $h3LineHeight-widescreen;\n }\n\n}/* h3, .h3 */\n\n/* Heading 4 */\nh4, .h4 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h4FontSize-mobile;\n line-height: $h4LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h4FontSize-tablet;\n line-height: $h4LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h4FontSize-computer;\n line-height: $h4LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h4FontSize-largescreen;\n line-height: $h4LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h4FontSize-widescreen;\n line-height: $h4LineHeight-widescreen;\n }\n\n}/* h4, .h4 */\n\n/* Heading 5 */\nh5, .h5 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h5FontSize-mobile;\n line-height: $h5LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h5FontSize-tablet;\n line-height: $h5LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h5FontSize-computer;\n line-height: $h5LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h5FontSize-largescreen;\n line-height: $h5LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h5FontSize-widescreen;\n line-height: $h5LineHeight-widescreen;\n }\n\n}/* h5, .h5 */\n\n/* Heading 6 */\nh6, .h6 {\n\n /* Mobile */\n @media(max-width:$mobile-max) {\n font-size: $h6FontSize-mobile;\n line-height: $h6LineHeight-mobile;\n }\n /* Tablet */\n @media(min-width:$tablet-min) and (max-width:$tablet-max) {\n font-size: $h6FontSize-tablet;\n line-height: $h6LineHeight-tablet;\n }\n /* Computer */\n @media(min-width:$computer-min) and (max-width:$computer-max) {\n font-size: $h6FontSize-computer;\n line-height: $h6LineHeight-computer;\n }\n /* Largescreen */\n @media(min-width:$largescreen-min) and (max-width:$largescreen-max) {\n font-size: $h6FontSize-largescreen;\n line-height: $h6LineHeight-largescreen;\n }\n /* Widescreen */\n @media(min-width:$widescreen-min) {\n font-size: $h6FontSize-widescreen;\n line-height: $h6LineHeight-widescreen;\n }\n\n}/* h6, .h6 */\n\n/* Links */\na {\n outline: none;\n text-decoration: none;\n}/* a */\n\n/* Display: table */\n.dt {\n\n width: 100%;\n height: 100%;\n display: table;\n\n /* Display: table-cell */\n >.dtc {\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n }/* >.dtc */\n\n}/* .dt */\n\n/* Clear:both */\n.cb {\n clear: both;\n}/* .cb */\n","/* Vendor1 */\n@mixin vendor1($property, $expression...) {\n #{$property}: $expression;\n -o-#{$property}: $expression;\n -ms-#{$property}: $expression;\n -moz-#{$property}: $expression;\n -webkit-#{$property}: $expression;\n}/* @mixin vendor1() */\n\n/* Vendor2 */\n@mixin vendor2($property, $expression...) {\n #{$property}: #{$expression};\n #{$property}: -o-#{$expression};\n #{$property}: -ms-#{$expression};\n #{$property}: -moz-#{$expression};\n #{$property}: -webkit-#{$expression};\n}/* @mixin vendor2() */\n\n/* Aspect ratio */\n@mixin aspectRatio($ratio1, $ratio2) {\n display: block;\n position: relative;\n &:before {\n content: \"\";\n display: block;\n padding-bottom: ($ratio2 / $ratio1) * 100%;\n }\n >.ar-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n background-position: center center;\n @include vendor1(background-size, cover);\n }\n}/* @mixin aspectRatio() */\n","/* Fonts */\n$generalFontFamily: \"Open Sans\", sans-serif;\n$articleFontFamily: \"Roboto Slab\", serif;\n\n/* Screen resolutions */\n$mobile-max: 767px;\n$tablet-min: 768px; $tablet-max: 991px;\n$computer-min: 992px; $computer-max: 1199px;\n$largescreen-min: 1200px; $largescreen-max: 1919px;\n$widescreen-min: 1920px;\n\n/* Sizes */\n$containerWidth-mobile: 100%;\n$containerWidth-tablet: 100%;\n$containerWidth-computer: 800px;\n$containerWidth-largescreen: 900px;\n$containerWidth-widescreen: 1000px;\n\n$containerPadding-mobile: 40px;\n$containerPadding-tablet: 80px;\n$containerPadding-computer: 100px;\n$containerPadding-largescreen: 120px;\n$containerPadding-widescreen: 140px;\n\n$homeTitleMarginTop-mobile: 20px;\n$homeTitleMarginTop-tablet: 30px;\n$homeTitleMarginTop-computer: 30px;\n$homeTitleMarginTop-largescreen: 40px;\n$homeTitleMarginTop-widescreen: 50px;\n\n$h1FontSize-mobile: 24px; $h1LineHeight-mobile: 30px;\n$h1FontSize-tablet: 28px; $h1LineHeight-tablet: 34px;\n$h1FontSize-computer: 30px; $h1LineHeight-computer: 38px;\n$h1FontSize-largescreen: 42px; $h1LineHeight-largescreen: 46px;\n$h1FontSize-widescreen: 42px; $h1LineHeight-widescreen: 46px;\n\n$h2FontSize-mobile: 22px; $h2LineHeight-mobile: 29px;\n$h2FontSize-tablet: 24px; $h2LineHeight-tablet: 31px;\n$h2FontSize-computer: 26px; $h2LineHeight-computer: 33px;\n$h2FontSize-largescreen: 28px; $h2LineHeight-largescreen: 35px;\n$h2FontSize-widescreen: 30px; $h2LineHeight-widescreen: 37px;\n\n$h3FontSize-mobile: 17px; $h3LineHeight-mobile: 23px;\n$h3FontSize-tablet: 19px; $h3LineHeight-tablet: 25px;\n$h3FontSize-computer: 21px; $h3LineHeight-computer: 27px;\n$h3FontSize-largescreen: 23px; $h3LineHeight-largescreen: 29px;\n$h3FontSize-widescreen: 25px; $h3LineHeight-widescreen: 31px;\n\n$h4FontSize-mobile: 17px; $h4LineHeight-mobile: 22px;\n$h4FontSize-tablet: 18px; $h4LineHeight-tablet: 23px;\n$h4FontSize-computer: 19px; $h4LineHeight-computer: 24px;\n$h4FontSize-largescreen: 20px; $h4LineHeight-largescreen: 25px;\n$h4FontSize-widescreen: 21px; $h4LineHeight-widescreen: 26px;\n\n$h5FontSize-mobile: 14px; $h5LineHeight-mobile: 20px;\n$h5FontSize-tablet: 15px; $h5LineHeight-tablet: 21px;\n$h5FontSize-computer: 16px; $h5LineHeight-computer: 22px;\n$h5FontSize-largescreen: 17px; $h5LineHeight-largescreen: 23px;\n$h5FontSize-widescreen: 18px; $h5LineHeight-widescreen: 24px;\n\n$h6FontSize-mobile: 11px; $h6LineHeight-mobile: 14px;\n$h6FontSize-tablet: 12px; $h6LineHeight-tablet: 15px;\n$h6FontSize-computer: 13px; $h6LineHeight-computer: 16px;\n$h6FontSize-largescreen: 14px; $h6LineHeight-largescreen: 17px;\n$h6FontSize-widescreen: 15px; $h6LineHeight-widescreen: 18px;\n\n$pFontSize-mobile: 16px; $pLineHeight-mobile: 29px;\n$pFontSize-tablet: 17px; $pLineHeight-tablet: 31px;\n$pFontSize-computer: 19px; $pLineHeight-computer: 33px;\n$pFontSize-largescreen: 21px; $pLineHeight-largescreen: 35px;\n$pFontSize-widescreen: 23px; $pLineHeight-widescreen: 37px;\n\n$headerHeight: 100px;\n$header__iconHeight: 40px;\n$header__iconFontSize: 20px;\n$footerHeight: 100px;\n$generalFontSize: 15px;\n$footerFontSize: 12px;\n$articleImageBorderRadius: 4px;\n$aspectRatioX: 2;\n$aspectRatioY: 1;\n\n/* Colors */\n$titleTextColor: #4a4a4a;\n$paragraphTextColor: #3A4145;\n$generalTextColor: lighten($titleTextColor, 40%);\n$linkBorderColor: #b4e7f8;\n$headerBackgroundColor: #f9f9f9;\n$headerBorderColor: darken($headerBackgroundColor, 3%);\n$footerBackgroundColor: $headerBackgroundColor;\n$footerBorderColor: darken($footerBackgroundColor, 3%);\n$aspectRatioBackgroundColor: $headerBorderColor;\n"],"names":[],"mappings":"AAUA,AAAA,IAAI,AAAC,CACH,UAAU,CAAE,MAAM,CACnB,AAGD,AAAA,CAAC,AAAC,CACA,MAAM,CAAE,CAAC,CACT,OAAO,CAAE,CAAC,CACV,WAAW,CAAE,GAAG,CAEhB,SAAS,CEwDO,IAAI,CFvDpB,WAAW,CEpBO,WAAW,CAAE,UAAU,CDCzC,UAAY,CDoBiB,UAAU,CCnBvC,aAAe,CDmBc,UAAU,CClBvC,cAAgB,CDkBa,UAAU,CCjBvC,eAAiB,CDiBY,UAAU,CChBvC,kBAAoB,CDgBS,UAAU,CACxC,AAGD,AAAA,MAAM,AAAC,CACL,WAAW,CAAE,IAAI,CAClB,AAGD,AAAA,IAAI,AAAA,IAAK,EAAA,AAAA,AAAA,KAAC,EAAO,WAAW,AAAlB,GAAsB,AAAA,GAAG,AAAC,CAClC,MAAM,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,CAAE,IAAI,CACZ"} -------------------------------------------------------------------------------- /assets/css/prod/style.min.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto+Slab&subset=latin,latin-ext);@font-face{font-family:'icomoon';src:url("../../font/icomoon.eot?m1n6");src:url("../../font/icomoon.eot?m1n6#iefix") format("embedded-opentype"),url("../../font/icomoon.ttf?m1n6") format("truetype"),url("../../font/icomoon.woff?m1n6") format("woff"),url("../../font/icomoon.svg?m1n6#icomoon") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-envelope-o:before{content:"\f003"}.icon-home:before{content:"\f015"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-facebook-f:before{content:"\f09a"}.icon-feed:before{content:"\f09e"}.icon-rss:before{content:"\f09e"}.icon-google-plus:before{content:"\f0d5"}.icon-linkedin:before{content:"\f0e1"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-tumblr:before{content:"\f173"}.icon-stumbleupon:before{content:"\f1a4"}.icon-delicious:before{content:"\f1a5"}.icon-digg:before{content:"\f1a6"}.icon-reddit-alien:before{content:"\f281"}body{overflow-y:scroll}*{margin:0;padding:0;font-weight:400;font-size:15px;font-family:"Open Sans",sans-serif;box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}strong{font-weight:bold}code:not([class*="language-"]),kbd{border:none;padding:3px 6px;font-weight:bold;font-size:80% !important;border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;font-family:Menlo, Monaco, Consolas, "Courier New", monospace !important}code:not([class*="language-"]){color:#c7254e !important;background-color:#f9f2f4}kbd{background-color:#666;color:#F4F4F4 !important}blockquote{font-style:italic;margin-left:-50px;display:inline-block;padding-left:42px;border-left:8px solid #3A4145}@media (max-width: 767px){blockquote{margin-left:-25px;padding-left:21px;border-left:4px solid #3A4145}}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,main>section article .article__date,main>section article .article__button{font-weight:700;color:#4a4a4a}@media (max-width: 767px){h1,.h1{font-size:24px;line-height:30px}}@media (min-width: 768px) and (max-width: 991px){h1,.h1{font-size:28px;line-height:34px}}@media (min-width: 992px) and (max-width: 1199px){h1,.h1{font-size:30px;line-height:38px}}@media (min-width: 1200px) and (max-width: 1919px){h1,.h1{font-size:42px;line-height:46px}}@media (min-width: 1920px){h1,.h1{font-size:42px;line-height:46px}}@media (max-width: 767px){h2,.h2{font-size:22px;line-height:29px}}@media (min-width: 768px) and (max-width: 991px){h2,.h2{font-size:24px;line-height:31px}}@media (min-width: 992px) and (max-width: 1199px){h2,.h2{font-size:26px;line-height:33px}}@media (min-width: 1200px) and (max-width: 1919px){h2,.h2{font-size:28px;line-height:35px}}@media (min-width: 1920px){h2,.h2{font-size:30px;line-height:37px}}@media (max-width: 767px){h3,.h3{font-size:17px;line-height:23px}}@media (min-width: 768px) and (max-width: 991px){h3,.h3{font-size:19px;line-height:25px}}@media (min-width: 992px) and (max-width: 1199px){h3,.h3{font-size:21px;line-height:27px}}@media (min-width: 1200px) and (max-width: 1919px){h3,.h3{font-size:23px;line-height:29px}}@media (min-width: 1920px){h3,.h3{font-size:25px;line-height:31px}}@media (max-width: 767px){h4,.h4{font-size:17px;line-height:22px}}@media (min-width: 768px) and (max-width: 991px){h4,.h4{font-size:18px;line-height:23px}}@media (min-width: 992px) and (max-width: 1199px){h4,.h4{font-size:19px;line-height:24px}}@media (min-width: 1200px) and (max-width: 1919px){h4,.h4{font-size:20px;line-height:25px}}@media (min-width: 1920px){h4,.h4{font-size:21px;line-height:26px}}@media (max-width: 767px){h5,.h5{font-size:14px;line-height:20px}}@media (min-width: 768px) and (max-width: 991px){h5,.h5{font-size:15px;line-height:21px}}@media (min-width: 992px) and (max-width: 1199px){h5,.h5{font-size:16px;line-height:22px}}@media (min-width: 1200px) and (max-width: 1919px){h5,.h5{font-size:17px;line-height:23px}}@media (min-width: 1920px){h5,.h5{font-size:18px;line-height:24px}}@media (max-width: 767px){h6,.h6,main>section article .article__date,main>section article .article__button{font-size:11px;line-height:14px}}@media (min-width: 768px) and (max-width: 991px){h6,.h6,main>section article .article__date,main>section article .article__button{font-size:12px;line-height:15px}}@media (min-width: 992px) and (max-width: 1199px){h6,.h6,main>section article .article__date,main>section article .article__button{font-size:13px;line-height:16px}}@media (min-width: 1200px) and (max-width: 1919px){h6,.h6,main>section article .article__date,main>section article .article__button{font-size:14px;line-height:17px}}@media (min-width: 1920px){h6,.h6,main>section article .article__date,main>section article .article__button{font-size:15px;line-height:18px}}a{outline:none;text-decoration:none}.dt{width:100%;height:100%;display:table}.dt>.dtc{text-align:center;display:table-cell;vertical-align:middle}.cb{clear:both}code[class*="language-"],pre[class*="language-"]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,0.3);font-family:Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:0.3em}:not(pre)>code[class*="language-"],pre[class*="language-"]{background:#272822}:not(pre)>code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}@media (max-width: 767px){.mt{margin-top:20px !important}}@media (min-width: 768px) and (max-width: 991px){.mt{margin-top:30px !important}}@media (min-width: 992px) and (max-width: 1199px){.mt{margin-top:30px !important}}@media (min-width: 1200px) and (max-width: 1919px){.mt{margin-top:40px !important}}@media (min-width: 1920px){.mt{margin-top:50px !important}}@media (max-width: 767px){.mb{margin-bottom:20px !important}}@media (min-width: 768px) and (max-width: 991px){.mb{margin-bottom:30px !important}}@media (min-width: 992px) and (max-width: 1199px){.mb{margin-bottom:30px !important}}@media (min-width: 1200px) and (max-width: 1919px){.mb{margin-bottom:40px !important}}@media (min-width: 1920px){.mb{margin-bottom:50px !important}}header>section,main>section,footer>section{margin:auto}@media (max-width: 767px){header>section,main>section,footer>section{width:100%}}@media (min-width: 768px) and (max-width: 991px){header>section,main>section,footer>section{width:100%}}@media (min-width: 992px) and (max-width: 1199px){header>section,main>section,footer>section{width:800px}}@media (min-width: 1200px) and (max-width: 1919px){header>section,main>section,footer>section{width:900px}}@media (min-width: 1920px){header>section,main>section,footer>section{width:1000px}}header{text-align:center;height:100px;background-color:#f9f9f9;border-bottom:1px solid #f1f1f1}@media (max-width: 767px){header>section{padding:0 40px}}@media (min-width: 768px) and (max-width: 991px){header>section{padding:0 80px}}header>section>a,header>section>div{float:left}header>section>a{text-align:center;border-bottom:none;color:#b0b0b0;width:40px;height:40px;border-radius:50%;-o-border-radius:50%;-ms-border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;margin-top:30px}header>section>a:hover,header>section>a:active{background-color:#ececec}header>section>a i{font-size:20px;line-height:40px !important}header>section>div{height:100px;width:calc(100% - 80px);width:-o-calc(100% - 80px);width:-ms-calc(100% - 80px);width:-moz-calc(100% - 80px);width:-webkit-calc(100% - 80px)}header>section>div h6{font-weight:normal;font-family:"Roboto Slab",serif}@media (max-width: 767px){main>section{padding:0 40px}}@media (min-width: 768px) and (max-width: 991px){main>section{padding:0 80px}}@media (min-width: 992px) and (max-width: 1199px){main>section{padding:0 100px}}@media (min-width: 1200px) and (max-width: 1919px){main>section{padding:0 120px}}@media (min-width: 1920px){main>section{padding:0 140px}}main>section .pagination{position:relative}@media (max-width: 767px){main>section .pagination{margin-top:20px;padding-bottom:20px}}@media (min-width: 768px) and (max-width: 991px){main>section .pagination{margin-top:30px;padding-bottom:30px}}@media (min-width: 992px) and (max-width: 1199px){main>section .pagination{margin-top:30px;padding-bottom:30px}}@media (min-width: 1200px) and (max-width: 1919px){main>section .pagination{margin-top:40px;padding-bottom:40px}}@media (min-width: 1920px){main>section .pagination{margin-top:50px;padding-bottom:50px}}main>section .pagination.top:before{left:0;bottom:0;content:"";position:absolute;border-bottom:1px solid #f1f1f1}@media (max-width: 767px){main>section .pagination.top:before{left:-40px;width:calc(100% + 80px);width:-o-calc(100% + 80px);width:-ms-calc(100% + 80px);width:-moz-calc(100% + 80px);width:-webkit-calc(100% + 80px)}}@media (min-width: 768px) and (max-width: 991px){main>section .pagination.top:before{left:-80px;width:calc(100% + 160px);width:-o-calc(100% + 160px);width:-ms-calc(100% + 160px);width:-moz-calc(100% + 160px);width:-webkit-calc(100% + 160px)}}@media (min-width: 992px) and (max-width: 1199px){main>section .pagination.top:before{left:-100px;width:calc(100% + 200px);width:-o-calc(100% + 200px);width:-ms-calc(100% + 200px);width:-moz-calc(100% + 200px);width:-webkit-calc(100% + 200px)}}@media (min-width: 1200px) and (max-width: 1919px){main>section .pagination.top:before{left:-120px;width:calc(100% + 240px);width:-o-calc(100% + 240px);width:-ms-calc(100% + 240px);width:-moz-calc(100% + 240px);width:-webkit-calc(100% + 240px)}}@media (min-width: 1920px){main>section .pagination.top:before{left:-140px;width:calc(100% + 280px);width:-o-calc(100% + 280px);width:-ms-calc(100% + 280px);width:-moz-calc(100% + 280px);width:-webkit-calc(100% + 280px)}}main>section .pagination.top:after{left:50%;width:16px;content:"";bottom:-8px;height:16px;display:block;background:#fff;margin-left:-8px;position:absolute;border:1px solid #f1f1f1;border-radius:100%;-o-border-radius:100%;-ms-border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;box-shadow:0 0 0 8px #fff;-o-box-shadow:0 0 0 8px #fff;-ms-box-shadow:0 0 0 8px #fff;-moz-box-shadow:0 0 0 8px #fff;-webkit-box-shadow:0 0 0 8px #fff}main>section .pagination .column{float:left;display:block;width:calc(100% / 3);width:-o-calc(100% / 3);width:-ms-calc(100% / 3);width:-moz-calc(100% / 3);width:-webkit-calc(100% / 3)}main>section .pagination .column.column2{text-align:center}main>section .pagination .column.column3{text-align:right}main>section .pagination .column .buttonsAndPageNumber,main>section .pagination .column span,main>section .pagination .column a{font-size:12px;padding:10px 20px;background-color:#fff;color:#b0b0b0}@media (max-width: 767px){main>section .pagination .column .buttonsAndPageNumber,main>section .pagination .column span,main>section .pagination .column a{padding:0;border:none !important}}main>section .pagination .column a{border:1px solid #f1f1f1;border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px}main>section .pagination .column a:hover{color:#8a8a8a;border:1px solid #cbcbcb}main>section article{position:relative}@media (max-width: 767px){main>section article{padding-bottom:20px}}@media (min-width: 768px) and (max-width: 991px){main>section article{padding-bottom:30px}}@media (min-width: 992px) and (max-width: 1199px){main>section article{padding-bottom:30px}}@media (min-width: 1200px) and (max-width: 1919px){main>section article{padding-bottom:40px}}@media (min-width: 1920px){main>section article{padding-bottom:50px}}main>section article:not(.noBorder):before{left:0;bottom:0;content:"";position:absolute;border-bottom:1px solid #f1f1f1}@media (max-width: 767px){main>section article:not(.noBorder):before{left:-40px;width:calc(100% + 80px);width:-o-calc(100% + 80px);width:-ms-calc(100% + 80px);width:-moz-calc(100% + 80px);width:-webkit-calc(100% + 80px)}}@media (min-width: 768px) and (max-width: 991px){main>section article:not(.noBorder):before{left:-80px;width:calc(100% + 160px);width:-o-calc(100% + 160px);width:-ms-calc(100% + 160px);width:-moz-calc(100% + 160px);width:-webkit-calc(100% + 160px)}}@media (min-width: 992px) and (max-width: 1199px){main>section article:not(.noBorder):before{left:-100px;width:calc(100% + 200px);width:-o-calc(100% + 200px);width:-ms-calc(100% + 200px);width:-moz-calc(100% + 200px);width:-webkit-calc(100% + 200px)}}@media (min-width: 1200px) and (max-width: 1919px){main>section article:not(.noBorder):before{left:-120px;width:calc(100% + 240px);width:-o-calc(100% + 240px);width:-ms-calc(100% + 240px);width:-moz-calc(100% + 240px);width:-webkit-calc(100% + 240px)}}@media (min-width: 1920px){main>section article:not(.noBorder):before{left:-140px;width:calc(100% + 280px);width:-o-calc(100% + 280px);width:-ms-calc(100% + 280px);width:-moz-calc(100% + 280px);width:-webkit-calc(100% + 280px)}}main>section article:not(.noBorder):after{left:50%;width:16px;content:"";bottom:-8px;height:16px;display:block;background:#fff;margin-left:-8px;position:absolute;border:1px solid #f1f1f1;border-radius:100%;-o-border-radius:100%;-ms-border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;box-shadow:0 0 0 8px #fff;-o-box-shadow:0 0 0 8px #fff;-ms-box-shadow:0 0 0 8px #fff;-moz-box-shadow:0 0 0 8px #fff;-webkit-box-shadow:0 0 0 8px #fff}main>section article .h1{border-bottom:none;display:inline-block}main>section article .h1:hover{color:#7d7d7d}@media (max-width: 767px){main>section article h1,main>section article .h1,main>section article h2,main>section article .h2,main>section article h3,main>section article .h3,main>section article h4,main>section article .h4,main>section article h5,main>section article .h5,main>section article h6,main>section article .h6,main>section article .article__date,main>section article .article__button,main>section article blockquote,main>section article div,main>section article p,main>section article pre,main>section article .ar-container,main>section article>.max-height,main>section article>section>ol,main>section article>section>ul{margin-top:20px !important}}@media (min-width: 768px) and (max-width: 991px){main>section article h1,main>section article .h1,main>section article h2,main>section article .h2,main>section article h3,main>section article .h3,main>section article h4,main>section article .h4,main>section article h5,main>section article .h5,main>section article h6,main>section article .h6,main>section article .article__date,main>section article .article__button,main>section article blockquote,main>section article div,main>section article p,main>section article pre,main>section article .ar-container,main>section article>.max-height,main>section article>section>ol,main>section article>section>ul{margin-top:30px !important}}@media (min-width: 992px) and (max-width: 1199px){main>section article h1,main>section article .h1,main>section article h2,main>section article .h2,main>section article h3,main>section article .h3,main>section article h4,main>section article .h4,main>section article h5,main>section article .h5,main>section article h6,main>section article .h6,main>section article .article__date,main>section article .article__button,main>section article blockquote,main>section article div,main>section article p,main>section article pre,main>section article .ar-container,main>section article>.max-height,main>section article>section>ol,main>section article>section>ul{margin-top:30px !important}}@media (min-width: 1200px) and (max-width: 1919px){main>section article h1,main>section article .h1,main>section article h2,main>section article .h2,main>section article h3,main>section article .h3,main>section article h4,main>section article .h4,main>section article h5,main>section article .h5,main>section article h6,main>section article .h6,main>section article .article__date,main>section article .article__button,main>section article blockquote,main>section article div,main>section article p,main>section article pre,main>section article .ar-container,main>section article>.max-height,main>section article>section>ol,main>section article>section>ul{margin-top:40px !important}}@media (min-width: 1920px){main>section article h1,main>section article .h1,main>section article h2,main>section article .h2,main>section article h3,main>section article .h3,main>section article h4,main>section article .h4,main>section article h5,main>section article .h5,main>section article h6,main>section article .h6,main>section article .article__date,main>section article .article__button,main>section article blockquote,main>section article div,main>section article p,main>section article pre,main>section article .ar-container,main>section article>.max-height,main>section article>section>ol,main>section article>section>ul{margin-top:50px !important}}main>section article blockquote{color:#69757c}main>section article blockquote *{color:#69757c}main>section article blockquote *:first-child{margin-top:0 !important}@media (max-width: 767px){main>section article img,main>section article pre{margin-left:-40px !important;width:calc(100% + 80px);width:-o-calc(100% + 80px);width:-ms-calc(100% + 80px);width:-moz-calc(100% + 80px);width:-webkit-calc(100% + 80px)}}@media (min-width: 768px) and (max-width: 991px){main>section article img,main>section article pre{margin-left:-80px !important;width:calc(100% + 160px);width:-o-calc(100% + 160px);width:-ms-calc(100% + 160px);width:-moz-calc(100% + 160px);width:-webkit-calc(100% + 160px)}}@media (min-width: 992px) and (max-width: 1199px){main>section article img,main>section article pre{margin-left:-100px !important;width:calc(100% + 200px);width:-o-calc(100% + 200px);width:-ms-calc(100% + 200px);width:-moz-calc(100% + 200px);width:-webkit-calc(100% + 200px)}}@media (min-width: 1200px) and (max-width: 1919px){main>section article img,main>section article pre{margin-left:-120px !important;width:calc(100% + 240px);width:-o-calc(100% + 240px);width:-ms-calc(100% + 240px);width:-moz-calc(100% + 240px);width:-webkit-calc(100% + 240px)}}@media (min-width: 1920px){main>section article img,main>section article pre{margin-left:-140px !important;width:calc(100% + 280px);width:-o-calc(100% + 280px);width:-ms-calc(100% + 280px);width:-moz-calc(100% + 280px);width:-webkit-calc(100% + 280px)}}@media (max-width: 991px){main>section article img,main>section article pre{border-radius:0 !important;-o-border-radius:0 !important;-ms-border-radius:0 !important;-moz-border-radius:0 !important;-webkit-border-radius:0 !important}}@media (min-width: 992px){main>section article img,main>section article pre{border-radius:4px !important;-o-border-radius:4px !important;-ms-border-radius:4px !important;-moz-border-radius:4px !important;-webkit-border-radius:4px !important}}main>section article>.max-height{overflow:hidden}@media (max-width: 767px){main>section article>.max-height{max-height:87px}}@media (min-width: 768px) and (max-width: 991px){main>section article>.max-height{max-height:93px}}@media (min-width: 992px) and (max-width: 1199px){main>section article>.max-height{max-height:99px}}@media (min-width: 1200px) and (max-width: 1919px){main>section article>.max-height{max-height:105px}}@media (min-width: 1920px){main>section article>.max-height{max-height:111px}}main>section article>section,main>section article>section p,main>section article>section a{color:#3A4145}main>section article>section>ol ol,main>section article>section>ol ul,main>section article>section>ul ol,main>section article>section>ul ul{margin-left:20px}main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-family:"Roboto Slab",serif}@media (max-width: 767px){main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-size:16px;line-height:29px}}@media (min-width: 768px) and (max-width: 991px){main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-size:17px;line-height:31px}}@media (min-width: 992px) and (max-width: 1199px){main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-size:19px;line-height:33px}}@media (min-width: 1200px) and (max-width: 1919px){main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-size:21px;line-height:35px}}@media (min-width: 1920px){main>section article>section,main>section article>section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6){font-size:23px;line-height:37px}}main>section article pre.pure{padding:1em;color:#c7254e;background-color:#F7FAFB;border:1px solid #E3EDF3}main>section article>section pre,main>section article code[class*="language-"]{font:14px/20px Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !important}main>section article>section pre *,main>section article code[class*="language-"] *{font:14px/20px Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !important}main>section article a{border-bottom:4px solid #b4e7f8}main>section article a:hover,main>section article a:active{color:#4a4a4a;border-bottom-color:#57c9ef}main>section article>.article__bottom:after{content:"";clear:both;display:table}main>section article>.article__bottom .article__date{float:left}main>section article>.article__bottom .article__button{float:right}main>section article .article__date,main>section article .article__button{font-weight:normal;display:inline-block;color:#b0b0b0;margin-top:10px !important}main>section .addthis_sharing_toolbox{text-align:center}main>section #disqus_thread,main>section #disqus_thread *{color:#4a4a4a !important}footer{text-align:center;height:100px;background-color:#f9f9f9;border-top:1px solid #f1f1f1}footer>section{height:100px}footer .h6,footer main>section article .article__date,main>section article footer .article__date,footer main>section article .article__button,main>section article footer .article__button{font-weight:normal}footer .dtc{color:#adadad}footer a{color:#939393 !important}@media (max-width: 767px){.full{padding:0 40px;margin-left:-40px;width:calc(100% + 80px);width:-o-calc(100% + 80px);width:-ms-calc(100% + 80px);width:-moz-calc(100% + 80px);width:-webkit-calc(100% + 80px)}}@media (min-width: 768px) and (max-width: 991px){.full{padding:0 80px;margin-left:-80px;width:calc(100% + 160px);width:-o-calc(100% + 160px);width:-ms-calc(100% + 160px);width:-moz-calc(100% + 160px);width:-webkit-calc(100% + 160px)}}@media (min-width: 992px) and (max-width: 1199px){.full{margin-left:-100px;width:calc(100% + 200px);width:-o-calc(100% + 200px);width:-ms-calc(100% + 200px);width:-moz-calc(100% + 200px);width:-webkit-calc(100% + 200px)}}@media (min-width: 1200px) and (max-width: 1919px){.full{margin-left:-120px;width:calc(100% + 240px);width:-o-calc(100% + 240px);width:-ms-calc(100% + 240px);width:-moz-calc(100% + 240px);width:-webkit-calc(100% + 240px)}}@media (min-width: 1920px){.full{margin-left:-140px;width:calc(100% + 280px);width:-o-calc(100% + 280px);width:-ms-calc(100% + 280px);width:-moz-calc(100% + 280px);width:-webkit-calc(100% + 280px)}}.ar-container{border-bottom:none;display:block;position:relative}.ar-container:before{content:"";display:block;padding-bottom:50%}.ar-container>.ar-content{top:0;left:0;right:0;bottom:0;position:absolute;background-position:center center;background-size:cover;-o-background-size:cover;-ms-background-size:cover;-moz-background-size:cover;-webkit-background-size:cover}@media (max-width: 767px){.ar-container{margin-left:-40px;width:calc(100% + 80px);width:-o-calc(100% + 80px);width:-ms-calc(100% + 80px);width:-moz-calc(100% + 80px);width:-webkit-calc(100% + 80px)}}@media (min-width: 768px) and (max-width: 991px){.ar-container{margin-left:-80px;width:calc(100% + 160px);width:-o-calc(100% + 160px);width:-ms-calc(100% + 160px);width:-moz-calc(100% + 160px);width:-webkit-calc(100% + 160px)}}@media (min-width: 992px) and (max-width: 1199px){.ar-container{margin-left:-100px;width:calc(100% + 200px);width:-o-calc(100% + 200px);width:-ms-calc(100% + 200px);width:-moz-calc(100% + 200px);width:-webkit-calc(100% + 200px)}}@media (min-width: 1200px) and (max-width: 1919px){.ar-container{margin-left:-120px;width:calc(100% + 240px);width:-o-calc(100% + 240px);width:-ms-calc(100% + 240px);width:-moz-calc(100% + 240px);width:-webkit-calc(100% + 240px)}}@media (min-width: 1920px){.ar-container{margin-left:-140px;width:calc(100% + 280px);width:-o-calc(100% + 280px);width:-ms-calc(100% + 280px);width:-moz-calc(100% + 280px);width:-webkit-calc(100% + 280px)}}@media (max-width: 991px){.ar-container .ar-content{border-radius:0;-o-border-radius:0;-ms-border-radius:0;-moz-border-radius:0;-webkit-border-radius:0}}@media (min-width: 992px){.ar-container .ar-content{border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px}}#notFound{min-height:600px;line-height:600px;text-align:center;color:#b0b0b0}@media (max-width: 767px){#notFound{font-size:140px}}@media (min-width: 768px) and (max-width: 991px){#notFound{font-size:160px}}@media (min-width: 992px) and (max-width: 1199px){#notFound{font-size:180px}}@media (min-width: 1200px) and (max-width: 1919px){#notFound{font-size:200px}}@media (min-width: 1920px){#notFound{font-size:220px}} 2 | 3 | /*# sourceMappingURL=style.min.css.map */ 4 | -------------------------------------------------------------------------------- /assets/css/dev/style.scss: -------------------------------------------------------------------------------- 1 | /* IMPORTS */ 2 | @import "icomoon"; 3 | @import "mixins"; 4 | @import "variables"; 5 | @import "reset"; 6 | @import "prism"; 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto+Slab&subset=latin,latin-ext); 8 | 9 | /* Margin-top */ 10 | .mt { 11 | 12 | /* Mobile */ 13 | @media(max-width:$mobile-max) { 14 | margin-top: $homeTitleMarginTop-mobile !important; 15 | } 16 | /* Tablet */ 17 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 18 | margin-top: $homeTitleMarginTop-tablet !important; 19 | } 20 | /* Computer */ 21 | @media(min-width:$computer-min) and (max-width:$computer-max) { 22 | margin-top: $homeTitleMarginTop-computer !important; 23 | } 24 | /* Largescreen */ 25 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 26 | margin-top: $homeTitleMarginTop-largescreen !important; 27 | } 28 | /* Widescreen */ 29 | @media(min-width:$widescreen-min) { 30 | margin-top: $homeTitleMarginTop-widescreen !important; 31 | } 32 | 33 | }/* .mt */ 34 | 35 | /* Margin-bottom */ 36 | .mb { 37 | 38 | /* Mobile */ 39 | @media(max-width:$mobile-max) { 40 | margin-bottom: $homeTitleMarginTop-mobile !important; 41 | } 42 | /* Tablet */ 43 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 44 | margin-bottom: $homeTitleMarginTop-tablet !important; 45 | } 46 | /* Computer */ 47 | @media(min-width:$computer-min) and (max-width:$computer-max) { 48 | margin-bottom: $homeTitleMarginTop-computer !important; 49 | } 50 | /* Largescreen */ 51 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 52 | margin-bottom: $homeTitleMarginTop-largescreen !important; 53 | } 54 | /* Widescreen */ 55 | @media(min-width:$widescreen-min) { 56 | margin-bottom: $homeTitleMarginTop-widescreen !important; 57 | } 58 | 59 | }/* .mb */ 60 | 61 | /* Header, main, footer */ 62 | header, main, footer { 63 | 64 | /* Container */ 65 | >section { 66 | 67 | margin: auto; 68 | 69 | /* Mobile */ 70 | @media(max-width:$mobile-max) { 71 | width: $containerWidth-mobile; 72 | } 73 | /* Tablet */ 74 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 75 | width: $containerWidth-tablet; 76 | } 77 | /* Computer */ 78 | @media(min-width:$computer-min) and (max-width:$computer-max) { 79 | width: $containerWidth-computer; 80 | } 81 | /* Largescreen */ 82 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 83 | width: $containerWidth-largescreen; 84 | } 85 | /* Widescreen */ 86 | @media(min-width:$widescreen-min) { 87 | width: $containerWidth-widescreen; 88 | } 89 | 90 | }/* >section */ 91 | 92 | }/* header, main, footer */ 93 | 94 | /* Header */ 95 | header { 96 | 97 | text-align: center; 98 | height: $headerHeight; 99 | background-color: $headerBackgroundColor; 100 | border-bottom: 1px solid $headerBorderColor; 101 | 102 | /* Header container */ 103 | >section { 104 | 105 | /* Mobile */ 106 | @media(max-width:$mobile-max) { 107 | padding: 0 40px; 108 | } 109 | /* Tablet */ 110 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 111 | padding: 0 80px; 112 | } 113 | 114 | /* Icon links and site name & description */ 115 | >a, >div { 116 | float: left; 117 | }/* >a, >div */ 118 | 119 | /* Icon links */ 120 | >a { 121 | 122 | text-align: center; 123 | border-bottom: none; 124 | color: $generalTextColor; 125 | width: $header__iconHeight; 126 | height: $header__iconHeight; 127 | @include vendor1(border-radius, 50%); 128 | margin-top: ($headerHeight - $header__iconHeight) / 2; 129 | &:hover, &:active { 130 | background-color: darken($headerBackgroundColor, 5%); 131 | } 132 | 133 | /* Icon */ 134 | i { 135 | font-size: $header__iconFontSize; 136 | line-height: $header__iconHeight !important; 137 | }/* i */ 138 | 139 | }/* >a */ 140 | 141 | /* Site name & description */ 142 | >div { 143 | 144 | height: $headerHeight; 145 | @include vendor2(width, calc(100% - #{$header__iconHeight * 2})); 146 | 147 | /* Site description */ 148 | h6 { 149 | font-weight: normal; 150 | font-family: $articleFontFamily; 151 | }/* h6 */ 152 | 153 | }/* >div */ 154 | 155 | }/* >section */ 156 | 157 | }/* header */ 158 | 159 | /* Main */ 160 | main { 161 | 162 | /* Main container */ 163 | >section { 164 | 165 | /* Mobile */ 166 | @media(max-width:$mobile-max) { 167 | padding: 0 $containerPadding-mobile; 168 | } 169 | /* Tablet */ 170 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 171 | padding: 0 $containerPadding-tablet; 172 | } 173 | /* Computer */ 174 | @media(min-width:$computer-min) and (max-width:$computer-max) { 175 | padding: 0 $containerPadding-computer; 176 | } 177 | /* Largescreen */ 178 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 179 | padding: 0 $containerPadding-largescreen; 180 | } 181 | /* Widescreen */ 182 | @media(min-width:$widescreen-min) { 183 | padding: 0 $containerPadding-widescreen; 184 | } 185 | 186 | /* Pagination bar */ 187 | .pagination { 188 | 189 | position: relative; 190 | 191 | /* Mobile */ 192 | @media(max-width:$mobile-max) { 193 | margin-top: $homeTitleMarginTop-mobile; 194 | padding-bottom: $homeTitleMarginTop-mobile; 195 | } 196 | /* Tablet */ 197 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 198 | margin-top: $homeTitleMarginTop-tablet; 199 | padding-bottom: $homeTitleMarginTop-tablet; 200 | } 201 | /* Computer */ 202 | @media(min-width:$computer-min) and (max-width:$computer-max) { 203 | margin-top: $homeTitleMarginTop-computer; 204 | padding-bottom: $homeTitleMarginTop-computer; 205 | } 206 | /* Largescreen */ 207 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 208 | margin-top: $homeTitleMarginTop-largescreen; 209 | padding-bottom: $homeTitleMarginTop-largescreen; 210 | } 211 | /* Widescreen */ 212 | @media(min-width:$widescreen-min) { 213 | margin-top: $homeTitleMarginTop-widescreen; 214 | padding-bottom: $homeTitleMarginTop-widescreen; 215 | } 216 | 217 | /* Top bar */ 218 | &.top { 219 | 220 | /* .pagination:before */ 221 | &:before { 222 | 223 | left: 0; 224 | bottom: 0; 225 | content: ""; 226 | position: absolute; 227 | border-bottom: 1px solid $headerBorderColor; 228 | 229 | /* Mobile */ 230 | @media(max-width:$mobile-max) { 231 | left: -$containerPadding-mobile; 232 | @include vendor2(width, calc(100% + #{$containerPadding-mobile * 2})); 233 | } 234 | /* Tablet */ 235 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 236 | left: -$containerPadding-tablet; 237 | @include vendor2(width, calc(100% + #{$containerPadding-tablet * 2})); 238 | } 239 | /* Computer */ 240 | @media(min-width:$computer-min) and (max-width:$computer-max) { 241 | left: -$containerPadding-computer; 242 | @include vendor2(width, calc(100% + #{$containerPadding-computer * 2})); 243 | } 244 | /* Largescreen */ 245 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 246 | left: -$containerPadding-largescreen; 247 | @include vendor2(width, calc(100% + #{$containerPadding-largescreen * 2})); 248 | } 249 | /* Widescreen */ 250 | @media(min-width:$widescreen-min) { 251 | left: -$containerPadding-widescreen; 252 | @include vendor2(width, calc(100% + #{$containerPadding-widescreen * 2})); 253 | } 254 | 255 | }/* .pagination:before */ 256 | 257 | /* .pagination:after */ 258 | &:after { 259 | left: 50%; 260 | width: 16px; 261 | content: ""; 262 | bottom: -8px; 263 | height: 16px; 264 | display: block; 265 | background: #fff; 266 | margin-left: -8px; 267 | position: absolute; 268 | border: 1px solid $headerBorderColor; 269 | @include vendor1(border-radius, 100%); 270 | @include vendor1(box-shadow, 0 0 0 8px #fff); 271 | }/* .pagination:after */ 272 | 273 | }/* &.top */ 274 | 275 | /* Columns */ 276 | .column { 277 | 278 | float: left; 279 | display: block; 280 | @include vendor2(width, calc(100% / 3)); 281 | 282 | /* Second column */ 283 | &.column2 { 284 | text-align: center; 285 | }/* &.column2 */ 286 | 287 | /* Third column */ 288 | &.column3 { 289 | text-align: right; 290 | }/* &.column3 */ 291 | 292 | /* Page number */ 293 | .buttonsAndPageNumber { 294 | 295 | font-size: 12px; 296 | padding: 10px 20px; 297 | background-color: #fff; 298 | color: $generalTextColor; 299 | 300 | /* Mobile */ 301 | @media(max-width:$mobile-max) { 302 | padding: 0; 303 | border: none !important; 304 | } 305 | 306 | }/* span */ 307 | 308 | /* Page number */ 309 | span { 310 | @extend .buttonsAndPageNumber; 311 | }/* span */ 312 | 313 | /* Buttons */ 314 | a { 315 | 316 | @extend .buttonsAndPageNumber; 317 | border: 1px solid $headerBorderColor; 318 | @include vendor1(border-radius, $articleImageBorderRadius); 319 | 320 | /* a:hover */ 321 | &:hover { 322 | color: darken($generalTextColor, 15%); 323 | border: 1px solid darken($headerBorderColor, 15%); 324 | }/* &:hover */ 325 | 326 | }/* a */ 327 | 328 | }/* .column */ 329 | 330 | }/* .pagination */ 331 | 332 | /* Article */ 333 | article { 334 | 335 | position: relative; 336 | 337 | /* Mobile */ 338 | @media(max-width:$mobile-max) { 339 | padding-bottom: $homeTitleMarginTop-mobile; 340 | } 341 | /* Tablet */ 342 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 343 | padding-bottom: $homeTitleMarginTop-tablet; 344 | } 345 | /* Computer */ 346 | @media(min-width:$computer-min) and (max-width:$computer-max) { 347 | padding-bottom: $homeTitleMarginTop-computer; 348 | } 349 | /* Largescreen */ 350 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 351 | padding-bottom: $homeTitleMarginTop-largescreen; 352 | } 353 | /* Widescreen */ 354 | @media(min-width:$widescreen-min) { 355 | padding-bottom: $homeTitleMarginTop-widescreen; 356 | } 357 | 358 | /* If article has no .noBorder class */ 359 | &:not(.noBorder) { 360 | 361 | /* article:before */ 362 | &:before { 363 | 364 | left: 0; 365 | bottom: 0; 366 | content: ""; 367 | position: absolute; 368 | border-bottom: 1px solid $headerBorderColor; 369 | 370 | /* Mobile */ 371 | @media(max-width:$mobile-max) { 372 | left: -$containerPadding-mobile; 373 | @include vendor2(width, calc(100% + #{$containerPadding-mobile * 2})); 374 | } 375 | /* Tablet */ 376 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 377 | left: -$containerPadding-tablet; 378 | @include vendor2(width, calc(100% + #{$containerPadding-tablet * 2})); 379 | } 380 | /* Computer */ 381 | @media(min-width:$computer-min) and (max-width:$computer-max) { 382 | left: -$containerPadding-computer; 383 | @include vendor2(width, calc(100% + #{$containerPadding-computer * 2})); 384 | } 385 | /* Largescreen */ 386 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 387 | left: -$containerPadding-largescreen; 388 | @include vendor2(width, calc(100% + #{$containerPadding-largescreen * 2})); 389 | } 390 | /* Widescreen */ 391 | @media(min-width:$widescreen-min) { 392 | left: -$containerPadding-widescreen; 393 | @include vendor2(width, calc(100% + #{$containerPadding-widescreen * 2})); 394 | } 395 | 396 | }/* article:before */ 397 | 398 | /* article:after */ 399 | &:after { 400 | left: 50%; 401 | width: 16px; 402 | content: ""; 403 | bottom: -8px; 404 | height: 16px; 405 | display: block; 406 | background: #fff; 407 | margin-left: -8px; 408 | position: absolute; 409 | border: 1px solid $headerBorderColor; 410 | @include vendor1(border-radius, 100%); 411 | @include vendor1(box-shadow, 0 0 0 8px #fff); 412 | }/* article:after */ 413 | 414 | }/* &:not(.noBorder) */ 415 | 416 | /* Article title */ 417 | .h1 { 418 | 419 | border-bottom: none; 420 | display: inline-block; 421 | 422 | /* .h1:hover */ 423 | &:hover { 424 | color: lighten($titleTextColor, 20%); 425 | }/* &:hover */ 426 | 427 | }/* .h1 */ 428 | 429 | /* Title, aspect ratio container, paragraph, lists */ 430 | h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, blockquote, div, p, pre, .ar-container, >.max-height, >section >ol, >section >ul { 431 | 432 | /* Mobile */ 433 | @media(max-width:$mobile-max) { 434 | margin-top: $homeTitleMarginTop-mobile !important; 435 | } 436 | /* Tablet */ 437 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 438 | margin-top: $homeTitleMarginTop-tablet !important; 439 | } 440 | /* Computer */ 441 | @media(min-width:$computer-min) and (max-width:$computer-max) { 442 | margin-top: $homeTitleMarginTop-computer !important; 443 | } 444 | /* Largescreen */ 445 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 446 | margin-top: $homeTitleMarginTop-largescreen !important; 447 | } 448 | /* Widescreen */ 449 | @media(min-width:$widescreen-min) { 450 | margin-top: $homeTitleMarginTop-widescreen !important; 451 | } 452 | 453 | }/* h* */ 454 | 455 | /* Blockquotes */ 456 | blockquote { 457 | 458 | color: lighten($paragraphTextColor, 20%); 459 | 460 | /* All elements inside of blockquotes */ 461 | * { 462 | 463 | color: lighten($paragraphTextColor, 20%); 464 | 465 | /* Resetting first element margin-top value */ 466 | &:first-child { 467 | margin-top: 0 !important; 468 | }/* &:first-child */ 469 | 470 | }/* * */ 471 | 472 | }/* blockquote */ 473 | 474 | /* Aspect ratio container*/ 475 | img, pre { 476 | 477 | /* Mobile */ 478 | @media(max-width:$mobile-max) { 479 | margin-left: -$containerPadding-mobile !important; 480 | @include vendor2(width, calc(100% + #{$containerPadding-mobile * 2})); 481 | } 482 | /* Tablet */ 483 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 484 | margin-left: -$containerPadding-tablet !important; 485 | @include vendor2(width, calc(100% + #{$containerPadding-tablet * 2})); 486 | } 487 | /* Computer */ 488 | @media(min-width:$computer-min) and (max-width:$computer-max) { 489 | margin-left: -$containerPadding-computer !important; 490 | @include vendor2(width, calc(100% + #{$containerPadding-computer * 2})); 491 | } 492 | /* Largescreen */ 493 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 494 | margin-left: -$containerPadding-largescreen !important; 495 | @include vendor2(width, calc(100% + #{$containerPadding-largescreen * 2})); 496 | } 497 | /* Widescreen */ 498 | @media(min-width:$widescreen-min) { 499 | margin-left: -$containerPadding-widescreen !important; 500 | @include vendor2(width, calc(100% + #{$containerPadding-widescreen * 2})); 501 | } 502 | 503 | /* Mobile devices */ 504 | @media(max-width:$tablet-max) { 505 | @include vendor1(border-radius, 0 !important); 506 | } 507 | /* Personal computers */ 508 | @media(min-width:$computer-min) { 509 | @include vendor1(border-radius, $articleImageBorderRadius !important); 510 | } 511 | 512 | }/* img, pre */ 513 | 514 | /* If we're in index.html or page.html */ 515 | >.max-height { 516 | 517 | overflow: hidden; 518 | 519 | /* Mobile */ 520 | @media(max-width:$mobile-max) { 521 | max-height: $pLineHeight-mobile * 3; 522 | } 523 | /* Tablet */ 524 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 525 | max-height: $pLineHeight-tablet * 3; 526 | } 527 | /* Computer */ 528 | @media(min-width:$computer-min) and (max-width:$computer-max) { 529 | max-height: $pLineHeight-computer * 3; 530 | } 531 | /* Largescreen */ 532 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 533 | max-height: $pLineHeight-largescreen * 3; 534 | } 535 | /* Widescreen */ 536 | @media(min-width:$widescreen-min) { 537 | max-height: $pLineHeight-widescreen * 3; 538 | } 539 | 540 | }/* >.max-height */ 541 | 542 | /* Paragraph and inside elements */ 543 | >section, >section p, >section a { 544 | color: $paragraphTextColor; 545 | }/* >section, >section p, >section a */ 546 | 547 | /* Lists */ 548 | >section >ol, >section >ul { 549 | 550 | /* Nested lists */ 551 | ol, ul { 552 | margin-left: 20px; 553 | }/* ol, ul */ 554 | 555 | }/* ol, ul */ 556 | 557 | /* Paragraph and inside elements */ 558 | >section, >section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) { 559 | 560 | font-family: $articleFontFamily; 561 | 562 | /* Mobile */ 563 | @media(max-width:$mobile-max) { 564 | font-size: $pFontSize-mobile; 565 | line-height: $pLineHeight-mobile; 566 | } 567 | /* Tablet */ 568 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 569 | font-size: $pFontSize-tablet; 570 | line-height: $pLineHeight-tablet; 571 | } 572 | /* Computer */ 573 | @media(min-width:$computer-min) and (max-width:$computer-max) { 574 | font-size: $pFontSize-computer; 575 | line-height: $pLineHeight-computer; 576 | } 577 | /* Largescreen */ 578 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 579 | font-size: $pFontSize-largescreen; 580 | line-height: $pLineHeight-largescreen; 581 | } 582 | /* Widescreen */ 583 | @media(min-width:$widescreen-min) { 584 | font-size: $pFontSize-widescreen; 585 | line-height: $pLineHeight-widescreen; 586 | } 587 | 588 | }/* >section, >section * */ 589 | 590 | /* Pure pre */ 591 | pre.pure { 592 | padding: 1em; 593 | color: #c7254e; 594 | background-color: #F7FAFB; 595 | border: 1px solid #E3EDF3; 596 | }/* pre.pure */ 597 | 598 | /* Reset prism js values */ 599 | >section pre, code[class*="language-"] { 600 | font: 14px/20px Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !important; 601 | * { 602 | font: 14px/20px Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !important; 603 | } 604 | }/* code[class*="language-"] */ 605 | 606 | /* Links */ 607 | a { 608 | 609 | border-bottom: 4px solid $linkBorderColor; 610 | 611 | /* a:hover, a:active */ 612 | &:hover, &:active { 613 | color: $titleTextColor; 614 | border-bottom-color: darken($linkBorderColor, 20%); 615 | }/* &:hover, &:active */ 616 | 617 | }/* a */ 618 | 619 | /* Article date, continue reading button */ 620 | >.article__bottom { 621 | 622 | /* .article__bottom:after */ 623 | &:after { 624 | content: ""; 625 | clear: both; 626 | display: table; 627 | }/* &:after */ 628 | 629 | /* Article date */ 630 | .article__date { 631 | float: left; 632 | }/* .article__date */ 633 | 634 | /* Article conitnue reading button */ 635 | .article__button { 636 | float: right; 637 | }/* .article__button */ 638 | 639 | }/* >.article__bottom */ 640 | 641 | /* Article date, continue reading button */ 642 | .article__date, .article__button { 643 | @extend .h6; 644 | font-weight: normal; 645 | display: inline-block; 646 | color: $generalTextColor; 647 | margin-top: 10px !important; 648 | }/* .article__date, .article__button */ 649 | 650 | }/*>article */ 651 | 652 | /* Addthis */ 653 | .addthis_sharing_toolbox { 654 | text-align: center; 655 | }/* .addthis_sharing_toolbox */ 656 | 657 | /* Disqus */ 658 | #disqus_thread, #disqus_thread * { 659 | color: $titleTextColor !important; 660 | }/* #disqus_thread */ 661 | 662 | }/* >section */ 663 | 664 | }/* main */ 665 | 666 | /* Footer */ 667 | footer { 668 | 669 | text-align: center; 670 | height: $footerHeight; 671 | background-color: $footerBackgroundColor; 672 | border-top: 1px solid $footerBorderColor; 673 | 674 | /* Footer container */ 675 | >section { 676 | height: $footerHeight; 677 | }/* >.section */ 678 | 679 | /* Texts, links */ 680 | .h6 { 681 | font-weight: normal; 682 | }/* .h6 */ 683 | 684 | /* Footer container */ 685 | .dtc { 686 | color: darken($footerBackgroundColor, 30%); 687 | }/* .dtc */ 688 | 689 | /* Links */ 690 | a { 691 | color: darken($footerBackgroundColor, 40%) !important; 692 | }/* a */ 693 | 694 | }/* footer */ 695 | 696 | /* Full width*/ 697 | .full { 698 | 699 | /* Mobile */ 700 | @media(max-width:$mobile-max) { 701 | padding: 0 $containerPadding-mobile; 702 | margin-left: -$containerPadding-mobile; 703 | @include vendor2(width, calc(100% + #{$containerPadding-mobile * 2})); 704 | } 705 | /* Tablet */ 706 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 707 | padding: 0 $containerPadding-tablet; 708 | margin-left: -$containerPadding-tablet; 709 | @include vendor2(width, calc(100% + #{$containerPadding-tablet * 2})); 710 | } 711 | /* Computer */ 712 | @media(min-width:$computer-min) and (max-width:$computer-max) { 713 | margin-left: -$containerPadding-computer; 714 | @include vendor2(width, calc(100% + #{$containerPadding-computer * 2})); 715 | } 716 | /* Largescreen */ 717 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 718 | margin-left: -$containerPadding-largescreen; 719 | @include vendor2(width, calc(100% + #{$containerPadding-largescreen * 2})); 720 | } 721 | /* Widescreen */ 722 | @media(min-width:$widescreen-min) { 723 | margin-left: -$containerPadding-widescreen; 724 | @include vendor2(width, calc(100% + #{$containerPadding-widescreen * 2})); 725 | } 726 | 727 | }/* .full */ 728 | 729 | /* Aspect ratio container*/ 730 | .ar-container { 731 | 732 | border-bottom: none; 733 | @include aspectRatio($aspectRatioX, $aspectRatioY); 734 | 735 | /* Mobile */ 736 | @media(max-width:$mobile-max) { 737 | margin-left: -$containerPadding-mobile; 738 | @include vendor2(width, calc(100% + #{$containerPadding-mobile * 2})); 739 | } 740 | /* Tablet */ 741 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 742 | margin-left: -$containerPadding-tablet; 743 | @include vendor2(width, calc(100% + #{$containerPadding-tablet * 2})); 744 | } 745 | /* Computer */ 746 | @media(min-width:$computer-min) and (max-width:$computer-max) { 747 | margin-left: -$containerPadding-computer; 748 | @include vendor2(width, calc(100% + #{$containerPadding-computer * 2})); 749 | } 750 | /* Largescreen */ 751 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 752 | margin-left: -$containerPadding-largescreen; 753 | @include vendor2(width, calc(100% + #{$containerPadding-largescreen * 2})); 754 | } 755 | /* Widescreen */ 756 | @media(min-width:$widescreen-min) { 757 | margin-left: -$containerPadding-widescreen; 758 | @include vendor2(width, calc(100% + #{$containerPadding-widescreen * 2})); 759 | } 760 | 761 | /* Aspect ratio content*/ 762 | .ar-content { 763 | 764 | /* Mobile devices */ 765 | @media(max-width:$tablet-max) { 766 | @include vendor1(border-radius, 0); 767 | } 768 | /* Personal computers */ 769 | @media(min-width:$computer-min) { 770 | @include vendor1(border-radius, $articleImageBorderRadius); 771 | } 772 | 773 | }/* .ar-content */ 774 | 775 | }/* .ar-container */ 776 | 777 | /* 404 page */ 778 | #notFound { 779 | 780 | min-height: 600px; 781 | line-height: 600px; 782 | text-align: center; 783 | color: $generalTextColor; 784 | 785 | /* Mobile */ 786 | @media(max-width:$mobile-max) { 787 | font-size: 140px; 788 | } 789 | /* Tablet */ 790 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 791 | font-size: 160px; 792 | } 793 | /* Computer */ 794 | @media(min-width:$computer-min) and (max-width:$computer-max) { 795 | font-size: 180px; 796 | } 797 | /* Largescreen */ 798 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 799 | font-size: 200px; 800 | } 801 | /* Widescreen */ 802 | @media(min-width:$widescreen-min) { 803 | font-size: 220px; 804 | } 805 | 806 | }/* #notFound */ 807 | 808 | /* Mobile */ 809 | @media(max-width:$mobile-max) { 810 | } 811 | /* Tablet */ 812 | @media(min-width:$tablet-min) and (max-width:$tablet-max) { 813 | } 814 | /* Computer */ 815 | @media(min-width:$computer-min) and (max-width:$computer-max) { 816 | } 817 | /* Largescreen */ 818 | @media(min-width:$largescreen-min) and (max-width:$largescreen-max) { 819 | } 820 | /* Widescreen */ 821 | @media(min-width:$widescreen-min) { 822 | } 823 | 824 | /* Mobile devices */ 825 | @media(max-width:$tablet-max) { 826 | } 827 | /* Personal computers */ 828 | @media(min-width:$computer-min) { 829 | } 830 | -------------------------------------------------------------------------------- /assets/js/dev/fastclick.js: -------------------------------------------------------------------------------- 1 | ;(function () { 2 | 'use strict'; 3 | 4 | /** 5 | * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. 6 | * 7 | * @codingstandard ftlabs-jsv2 8 | * @copyright The Financial Times Limited [All Rights Reserved] 9 | * @license MIT License (see LICENSE.txt) 10 | */ 11 | 12 | /*jslint browser:true, node:true*/ 13 | /*global define, Event, Node*/ 14 | 15 | 16 | /** 17 | * Instantiate fast-clicking listeners on the specified layer. 18 | * 19 | * @constructor 20 | * @param {Element} layer The layer to listen on 21 | * @param {Object} [options={}] The options to override the defaults 22 | */ 23 | function FastClick(layer, options) { 24 | var oldOnClick; 25 | 26 | options = options || {}; 27 | 28 | /** 29 | * Whether a click is currently being tracked. 30 | * 31 | * @type boolean 32 | */ 33 | this.trackingClick = false; 34 | 35 | 36 | /** 37 | * Timestamp for when click tracking started. 38 | * 39 | * @type number 40 | */ 41 | this.trackingClickStart = 0; 42 | 43 | 44 | /** 45 | * The element being tracked for a click. 46 | * 47 | * @type EventTarget 48 | */ 49 | this.targetElement = null; 50 | 51 | 52 | /** 53 | * X-coordinate of touch start event. 54 | * 55 | * @type number 56 | */ 57 | this.touchStartX = 0; 58 | 59 | 60 | /** 61 | * Y-coordinate of touch start event. 62 | * 63 | * @type number 64 | */ 65 | this.touchStartY = 0; 66 | 67 | 68 | /** 69 | * ID of the last touch, retrieved from Touch.identifier. 70 | * 71 | * @type number 72 | */ 73 | this.lastTouchIdentifier = 0; 74 | 75 | 76 | /** 77 | * Touchmove boundary, beyond which a click will be cancelled. 78 | * 79 | * @type number 80 | */ 81 | this.touchBoundary = options.touchBoundary || 10; 82 | 83 | 84 | /** 85 | * The FastClick layer. 86 | * 87 | * @type Element 88 | */ 89 | this.layer = layer; 90 | 91 | /** 92 | * The minimum time between tap(touchstart and touchend) events 93 | * 94 | * @type number 95 | */ 96 | this.tapDelay = options.tapDelay || 200; 97 | 98 | /** 99 | * The maximum time for a tap 100 | * 101 | * @type number 102 | */ 103 | this.tapTimeout = options.tapTimeout || 700; 104 | 105 | if (FastClick.notNeeded(layer)) { 106 | return; 107 | } 108 | 109 | // Some old versions of Android don't have Function.prototype.bind 110 | function bind(method, context) { 111 | return function() { return method.apply(context, arguments); }; 112 | } 113 | 114 | 115 | var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel']; 116 | var context = this; 117 | for (var i = 0, l = methods.length; i < l; i++) { 118 | context[methods[i]] = bind(context[methods[i]], context); 119 | } 120 | 121 | // Set up event handlers as required 122 | if (deviceIsAndroid) { 123 | layer.addEventListener('mouseover', this.onMouse, true); 124 | layer.addEventListener('mousedown', this.onMouse, true); 125 | layer.addEventListener('mouseup', this.onMouse, true); 126 | } 127 | 128 | layer.addEventListener('click', this.onClick, true); 129 | layer.addEventListener('touchstart', this.onTouchStart, false); 130 | layer.addEventListener('touchmove', this.onTouchMove, false); 131 | layer.addEventListener('touchend', this.onTouchEnd, false); 132 | layer.addEventListener('touchcancel', this.onTouchCancel, false); 133 | 134 | // Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2) 135 | // which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick 136 | // layer when they are cancelled. 137 | if (!Event.prototype.stopImmediatePropagation) { 138 | layer.removeEventListener = function(type, callback, capture) { 139 | var rmv = Node.prototype.removeEventListener; 140 | if (type === 'click') { 141 | rmv.call(layer, type, callback.hijacked || callback, capture); 142 | } else { 143 | rmv.call(layer, type, callback, capture); 144 | } 145 | }; 146 | 147 | layer.addEventListener = function(type, callback, capture) { 148 | var adv = Node.prototype.addEventListener; 149 | if (type === 'click') { 150 | adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) { 151 | if (!event.propagationStopped) { 152 | callback(event); 153 | } 154 | }), capture); 155 | } else { 156 | adv.call(layer, type, callback, capture); 157 | } 158 | }; 159 | } 160 | 161 | // If a handler is already declared in the element's onclick attribute, it will be fired before 162 | // FastClick's onClick handler. Fix this by pulling out the user-defined handler function and 163 | // adding it as listener. 164 | if (typeof layer.onclick === 'function') { 165 | 166 | // Android browser on at least 3.2 requires a new reference to the function in layer.onclick 167 | // - the old one won't work if passed to addEventListener directly. 168 | oldOnClick = layer.onclick; 169 | layer.addEventListener('click', function(event) { 170 | oldOnClick(event); 171 | }, false); 172 | layer.onclick = null; 173 | } 174 | } 175 | 176 | /** 177 | * Windows Phone 8.1 fakes user agent string to look like Android and iPhone. 178 | * 179 | * @type boolean 180 | */ 181 | var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0; 182 | 183 | /** 184 | * Android requires exceptions. 185 | * 186 | * @type boolean 187 | */ 188 | var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone; 189 | 190 | 191 | /** 192 | * iOS requires exceptions. 193 | * 194 | * @type boolean 195 | */ 196 | var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone; 197 | 198 | 199 | /** 200 | * iOS 4 requires an exception for select elements. 201 | * 202 | * @type boolean 203 | */ 204 | var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent); 205 | 206 | 207 | /** 208 | * iOS 6.0-7.* requires the target element to be manually derived 209 | * 210 | * @type boolean 211 | */ 212 | var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent); 213 | 214 | /** 215 | * BlackBerry requires exceptions. 216 | * 217 | * @type boolean 218 | */ 219 | var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0; 220 | 221 | /** 222 | * Determine whether a given element requires a native click. 223 | * 224 | * @param {EventTarget|Element} target Target DOM element 225 | * @returns {boolean} Returns true if the element needs a native click 226 | */ 227 | FastClick.prototype.needsClick = function(target) { 228 | switch (target.nodeName.toLowerCase()) { 229 | 230 | // Don't send a synthetic click to disabled inputs (issue #62) 231 | case 'button': 232 | case 'select': 233 | case 'textarea': 234 | if (target.disabled) { 235 | return true; 236 | } 237 | 238 | break; 239 | case 'input': 240 | 241 | // File inputs need real clicks on iOS 6 due to a browser bug (issue #68) 242 | if ((deviceIsIOS && target.type === 'file') || target.disabled) { 243 | return true; 244 | } 245 | 246 | break; 247 | case 'label': 248 | case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames 249 | case 'video': 250 | return true; 251 | } 252 | 253 | return (/\bneedsclick\b/).test(target.className); 254 | }; 255 | 256 | 257 | /** 258 | * Determine whether a given element requires a call to focus to simulate click into element. 259 | * 260 | * @param {EventTarget|Element} target Target DOM element 261 | * @returns {boolean} Returns true if the element requires a call to focus to simulate native click. 262 | */ 263 | FastClick.prototype.needsFocus = function(target) { 264 | switch (target.nodeName.toLowerCase()) { 265 | case 'textarea': 266 | return true; 267 | case 'select': 268 | return !deviceIsAndroid; 269 | case 'input': 270 | switch (target.type) { 271 | case 'button': 272 | case 'checkbox': 273 | case 'file': 274 | case 'image': 275 | case 'radio': 276 | case 'submit': 277 | return false; 278 | } 279 | 280 | // No point in attempting to focus disabled inputs 281 | return !target.disabled && !target.readOnly; 282 | default: 283 | return (/\bneedsfocus\b/).test(target.className); 284 | } 285 | }; 286 | 287 | 288 | /** 289 | * Send a click event to the specified element. 290 | * 291 | * @param {EventTarget|Element} targetElement 292 | * @param {Event} event 293 | */ 294 | FastClick.prototype.sendClick = function(targetElement, event) { 295 | var clickEvent, touch; 296 | 297 | // On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24) 298 | if (document.activeElement && document.activeElement !== targetElement) { 299 | document.activeElement.blur(); 300 | } 301 | 302 | touch = event.changedTouches[0]; 303 | 304 | // Synthesise a click event, with an extra attribute so it can be tracked 305 | clickEvent = document.createEvent('MouseEvents'); 306 | clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null); 307 | clickEvent.forwardedTouchEvent = true; 308 | targetElement.dispatchEvent(clickEvent); 309 | }; 310 | 311 | FastClick.prototype.determineEventType = function(targetElement) { 312 | 313 | //Issue #159: Android Chrome Select Box does not open with a synthetic click event 314 | if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') { 315 | return 'mousedown'; 316 | } 317 | 318 | return 'click'; 319 | }; 320 | 321 | 322 | /** 323 | * @param {EventTarget|Element} targetElement 324 | */ 325 | FastClick.prototype.focus = function(targetElement) { 326 | var length; 327 | 328 | // Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724. 329 | if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') { 330 | length = targetElement.value.length; 331 | targetElement.setSelectionRange(length, length); 332 | } else { 333 | targetElement.focus(); 334 | } 335 | }; 336 | 337 | 338 | /** 339 | * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it. 340 | * 341 | * @param {EventTarget|Element} targetElement 342 | */ 343 | FastClick.prototype.updateScrollParent = function(targetElement) { 344 | var scrollParent, parentElement; 345 | 346 | scrollParent = targetElement.fastClickScrollParent; 347 | 348 | // Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the 349 | // target element was moved to another parent. 350 | if (!scrollParent || !scrollParent.contains(targetElement)) { 351 | parentElement = targetElement; 352 | do { 353 | if (parentElement.scrollHeight > parentElement.offsetHeight) { 354 | scrollParent = parentElement; 355 | targetElement.fastClickScrollParent = parentElement; 356 | break; 357 | } 358 | 359 | parentElement = parentElement.parentElement; 360 | } while (parentElement); 361 | } 362 | 363 | // Always update the scroll top tracker if possible. 364 | if (scrollParent) { 365 | scrollParent.fastClickLastScrollTop = scrollParent.scrollTop; 366 | } 367 | }; 368 | 369 | 370 | /** 371 | * @param {EventTarget} targetElement 372 | * @returns {Element|EventTarget} 373 | */ 374 | FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) { 375 | 376 | // On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node. 377 | if (eventTarget.nodeType === Node.TEXT_NODE) { 378 | return eventTarget.parentNode; 379 | } 380 | 381 | return eventTarget; 382 | }; 383 | 384 | 385 | /** 386 | * On touch start, record the position and scroll offset. 387 | * 388 | * @param {Event} event 389 | * @returns {boolean} 390 | */ 391 | FastClick.prototype.onTouchStart = function(event) { 392 | var targetElement, touch, selection; 393 | 394 | // Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111). 395 | if (event.targetTouches.length > 1) { 396 | return true; 397 | } 398 | 399 | targetElement = this.getTargetElementFromEventTarget(event.target); 400 | touch = event.targetTouches[0]; 401 | 402 | if (deviceIsIOS) { 403 | 404 | // Only trusted events will deselect text on iOS (issue #49) 405 | selection = window.getSelection(); 406 | if (selection.rangeCount && !selection.isCollapsed) { 407 | return true; 408 | } 409 | 410 | if (!deviceIsIOS4) { 411 | 412 | // Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23): 413 | // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched 414 | // with the same identifier as the touch event that previously triggered the click that triggered the alert. 415 | // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an 416 | // immediately preceeding touch event (issue #52), so this fix is unavailable on that platform. 417 | // Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string, 418 | // which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long, 419 | // random integers, it's safe to to continue if the identifier is 0 here. 420 | if (touch.identifier && touch.identifier === this.lastTouchIdentifier) { 421 | event.preventDefault(); 422 | return false; 423 | } 424 | 425 | this.lastTouchIdentifier = touch.identifier; 426 | 427 | // If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and: 428 | // 1) the user does a fling scroll on the scrollable layer 429 | // 2) the user stops the fling scroll with another tap 430 | // then the event.target of the last 'touchend' event will be the element that was under the user's finger 431 | // when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check 432 | // is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42). 433 | this.updateScrollParent(targetElement); 434 | } 435 | } 436 | 437 | this.trackingClick = true; 438 | this.trackingClickStart = event.timeStamp; 439 | this.targetElement = targetElement; 440 | 441 | this.touchStartX = touch.pageX; 442 | this.touchStartY = touch.pageY; 443 | 444 | // Prevent phantom clicks on fast double-tap (issue #36) 445 | if ((event.timeStamp - this.lastClickTime) < this.tapDelay) { 446 | event.preventDefault(); 447 | } 448 | 449 | return true; 450 | }; 451 | 452 | 453 | /** 454 | * Based on a touchmove event object, check whether the touch has moved past a boundary since it started. 455 | * 456 | * @param {Event} event 457 | * @returns {boolean} 458 | */ 459 | FastClick.prototype.touchHasMoved = function(event) { 460 | var touch = event.changedTouches[0], boundary = this.touchBoundary; 461 | 462 | if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) { 463 | return true; 464 | } 465 | 466 | return false; 467 | }; 468 | 469 | 470 | /** 471 | * Update the last position. 472 | * 473 | * @param {Event} event 474 | * @returns {boolean} 475 | */ 476 | FastClick.prototype.onTouchMove = function(event) { 477 | if (!this.trackingClick) { 478 | return true; 479 | } 480 | 481 | // If the touch has moved, cancel the click tracking 482 | if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) { 483 | this.trackingClick = false; 484 | this.targetElement = null; 485 | } 486 | 487 | return true; 488 | }; 489 | 490 | 491 | /** 492 | * Attempt to find the labelled control for the given label element. 493 | * 494 | * @param {EventTarget|HTMLLabelElement} labelElement 495 | * @returns {Element|null} 496 | */ 497 | FastClick.prototype.findControl = function(labelElement) { 498 | 499 | // Fast path for newer browsers supporting the HTML5 control attribute 500 | if (labelElement.control !== undefined) { 501 | return labelElement.control; 502 | } 503 | 504 | // All browsers under test that support touch events also support the HTML5 htmlFor attribute 505 | if (labelElement.htmlFor) { 506 | return document.getElementById(labelElement.htmlFor); 507 | } 508 | 509 | // If no for attribute exists, attempt to retrieve the first labellable descendant element 510 | // the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label 511 | return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea'); 512 | }; 513 | 514 | 515 | /** 516 | * On touch end, determine whether to send a click event at once. 517 | * 518 | * @param {Event} event 519 | * @returns {boolean} 520 | */ 521 | FastClick.prototype.onTouchEnd = function(event) { 522 | var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement; 523 | 524 | if (!this.trackingClick) { 525 | return true; 526 | } 527 | 528 | // Prevent phantom clicks on fast double-tap (issue #36) 529 | if ((event.timeStamp - this.lastClickTime) < this.tapDelay) { 530 | this.cancelNextClick = true; 531 | return true; 532 | } 533 | 534 | if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) { 535 | return true; 536 | } 537 | 538 | // Reset to prevent wrong click cancel on input (issue #156). 539 | this.cancelNextClick = false; 540 | 541 | this.lastClickTime = event.timeStamp; 542 | 543 | trackingClickStart = this.trackingClickStart; 544 | this.trackingClick = false; 545 | this.trackingClickStart = 0; 546 | 547 | // On some iOS devices, the targetElement supplied with the event is invalid if the layer 548 | // is performing a transition or scroll, and has to be re-detected manually. Note that 549 | // for this to function correctly, it must be called *after* the event target is checked! 550 | // See issue #57; also filed as rdar://13048589 . 551 | if (deviceIsIOSWithBadTarget) { 552 | touch = event.changedTouches[0]; 553 | 554 | // In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null 555 | targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement; 556 | targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent; 557 | } 558 | 559 | targetTagName = targetElement.tagName.toLowerCase(); 560 | if (targetTagName === 'label') { 561 | forElement = this.findControl(targetElement); 562 | if (forElement) { 563 | this.focus(targetElement); 564 | if (deviceIsAndroid) { 565 | return false; 566 | } 567 | 568 | targetElement = forElement; 569 | } 570 | } else if (this.needsFocus(targetElement)) { 571 | 572 | // Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through. 573 | // Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37). 574 | if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) { 575 | this.targetElement = null; 576 | return false; 577 | } 578 | 579 | this.focus(targetElement); 580 | this.sendClick(targetElement, event); 581 | 582 | // Select elements need the event to go through on iOS 4, otherwise the selector menu won't open. 583 | // Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others) 584 | if (!deviceIsIOS || targetTagName !== 'select') { 585 | this.targetElement = null; 586 | event.preventDefault(); 587 | } 588 | 589 | return false; 590 | } 591 | 592 | if (deviceIsIOS && !deviceIsIOS4) { 593 | 594 | // Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled 595 | // and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42). 596 | scrollParent = targetElement.fastClickScrollParent; 597 | if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) { 598 | return true; 599 | } 600 | } 601 | 602 | // Prevent the actual click from going though - unless the target node is marked as requiring 603 | // real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted. 604 | if (!this.needsClick(targetElement)) { 605 | event.preventDefault(); 606 | this.sendClick(targetElement, event); 607 | } 608 | 609 | return false; 610 | }; 611 | 612 | 613 | /** 614 | * On touch cancel, stop tracking the click. 615 | * 616 | * @returns {void} 617 | */ 618 | FastClick.prototype.onTouchCancel = function() { 619 | this.trackingClick = false; 620 | this.targetElement = null; 621 | }; 622 | 623 | 624 | /** 625 | * Determine mouse events which should be permitted. 626 | * 627 | * @param {Event} event 628 | * @returns {boolean} 629 | */ 630 | FastClick.prototype.onMouse = function(event) { 631 | 632 | // If a target element was never set (because a touch event was never fired) allow the event 633 | if (!this.targetElement) { 634 | return true; 635 | } 636 | 637 | if (event.forwardedTouchEvent) { 638 | return true; 639 | } 640 | 641 | // Programmatically generated events targeting a specific element should be permitted 642 | if (!event.cancelable) { 643 | return true; 644 | } 645 | 646 | // Derive and check the target element to see whether the mouse event needs to be permitted; 647 | // unless explicitly enabled, prevent non-touch click events from triggering actions, 648 | // to prevent ghost/doubleclicks. 649 | if (!this.needsClick(this.targetElement) || this.cancelNextClick) { 650 | 651 | // Prevent any user-added listeners declared on FastClick element from being fired. 652 | if (event.stopImmediatePropagation) { 653 | event.stopImmediatePropagation(); 654 | } else { 655 | 656 | // Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2) 657 | event.propagationStopped = true; 658 | } 659 | 660 | // Cancel the event 661 | event.stopPropagation(); 662 | event.preventDefault(); 663 | 664 | return false; 665 | } 666 | 667 | // If the mouse event is permitted, return true for the action to go through. 668 | return true; 669 | }; 670 | 671 | 672 | /** 673 | * On actual clicks, determine whether this is a touch-generated click, a click action occurring 674 | * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or 675 | * an actual click which should be permitted. 676 | * 677 | * @param {Event} event 678 | * @returns {boolean} 679 | */ 680 | FastClick.prototype.onClick = function(event) { 681 | var permitted; 682 | 683 | // It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early. 684 | if (this.trackingClick) { 685 | this.targetElement = null; 686 | this.trackingClick = false; 687 | return true; 688 | } 689 | 690 | // Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target. 691 | if (event.target.type === 'submit' && event.detail === 0) { 692 | return true; 693 | } 694 | 695 | permitted = this.onMouse(event); 696 | 697 | // Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through. 698 | if (!permitted) { 699 | this.targetElement = null; 700 | } 701 | 702 | // If clicks are permitted, return true for the action to go through. 703 | return permitted; 704 | }; 705 | 706 | 707 | /** 708 | * Remove all FastClick's event listeners. 709 | * 710 | * @returns {void} 711 | */ 712 | FastClick.prototype.destroy = function() { 713 | var layer = this.layer; 714 | 715 | if (deviceIsAndroid) { 716 | layer.removeEventListener('mouseover', this.onMouse, true); 717 | layer.removeEventListener('mousedown', this.onMouse, true); 718 | layer.removeEventListener('mouseup', this.onMouse, true); 719 | } 720 | 721 | layer.removeEventListener('click', this.onClick, true); 722 | layer.removeEventListener('touchstart', this.onTouchStart, false); 723 | layer.removeEventListener('touchmove', this.onTouchMove, false); 724 | layer.removeEventListener('touchend', this.onTouchEnd, false); 725 | layer.removeEventListener('touchcancel', this.onTouchCancel, false); 726 | }; 727 | 728 | 729 | /** 730 | * Check whether FastClick is needed. 731 | * 732 | * @param {Element} layer The layer to listen on 733 | */ 734 | FastClick.notNeeded = function(layer) { 735 | var metaViewport; 736 | var chromeVersion; 737 | var blackberryVersion; 738 | var firefoxVersion; 739 | 740 | // Devices that don't support touch don't need FastClick 741 | if (typeof window.ontouchstart === 'undefined') { 742 | return true; 743 | } 744 | 745 | // Chrome version - zero for other browsers 746 | chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1]; 747 | 748 | if (chromeVersion) { 749 | 750 | if (deviceIsAndroid) { 751 | metaViewport = document.querySelector('meta[name=viewport]'); 752 | 753 | if (metaViewport) { 754 | // Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89) 755 | if (metaViewport.content.indexOf('user-scalable=no') !== -1) { 756 | return true; 757 | } 758 | // Chrome 32 and above with width=device-width or less don't need FastClick 759 | if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) { 760 | return true; 761 | } 762 | } 763 | 764 | // Chrome desktop doesn't need FastClick (issue #15) 765 | } else { 766 | return true; 767 | } 768 | } 769 | 770 | if (deviceIsBlackBerry10) { 771 | blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/); 772 | 773 | // BlackBerry 10.3+ does not require Fastclick library. 774 | // https://github.com/ftlabs/fastclick/issues/251 775 | if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) { 776 | metaViewport = document.querySelector('meta[name=viewport]'); 777 | 778 | if (metaViewport) { 779 | // user-scalable=no eliminates click delay. 780 | if (metaViewport.content.indexOf('user-scalable=no') !== -1) { 781 | return true; 782 | } 783 | // width=device-width (or less than device-width) eliminates click delay. 784 | if (document.documentElement.scrollWidth <= window.outerWidth) { 785 | return true; 786 | } 787 | } 788 | } 789 | } 790 | 791 | // IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97) 792 | if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') { 793 | return true; 794 | } 795 | 796 | // Firefox version - zero for other browsers 797 | firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1]; 798 | 799 | if (firefoxVersion >= 27) { 800 | // Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896 801 | 802 | metaViewport = document.querySelector('meta[name=viewport]'); 803 | if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) { 804 | return true; 805 | } 806 | } 807 | 808 | // IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version 809 | // http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx 810 | if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') { 811 | return true; 812 | } 813 | 814 | return false; 815 | }; 816 | 817 | 818 | /** 819 | * Factory method for creating a FastClick object 820 | * 821 | * @param {Element} layer The layer to listen on 822 | * @param {Object} [options={}] The options to override the defaults 823 | */ 824 | FastClick.attach = function(layer, options) { 825 | return new FastClick(layer, options); 826 | }; 827 | 828 | 829 | if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) { 830 | 831 | // AMD. Register as an anonymous module. 832 | define(function() { 833 | return FastClick; 834 | }); 835 | } else if (typeof module !== 'undefined' && module.exports) { 836 | module.exports = FastClick.attach; 837 | module.exports.FastClick = FastClick; 838 | } else { 839 | window.FastClick = FastClick; 840 | } 841 | }()); 842 | -------------------------------------------------------------------------------- /assets/js/prod/fastclick.min.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["fastclick.js"],"names":["FastClick","layer","options","oldOnClick","this","trackingClick","trackingClickStart","targetElement","touchStartX","touchStartY","lastTouchIdentifier","touchBoundary","tapDelay","tapTimeout","notNeeded","methods","context","i","l","length","method","apply","arguments","bind","deviceIsAndroid","addEventListener","onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel","Event","prototype","stopImmediatePropagation","removeEventListener","type","callback","capture","rmv","Node","call","hijacked","adv","event","propagationStopped","onclick","deviceIsWindowsPhone","navigator","userAgent","indexOf","deviceIsIOS","test","deviceIsIOS4","deviceIsIOSWithBadTarget","deviceIsBlackBerry10","needsClick","target","nodeName","toLowerCase","disabled","className","needsFocus","readOnly","sendClick","clickEvent","touch","document","activeElement","blur","changedTouches","createEvent","initMouseEvent","determineEventType","window","screenX","screenY","clientX","clientY","forwardedTouchEvent","dispatchEvent","tagName","focus","setSelectionRange","value","updateScrollParent","scrollParent","parentElement","fastClickScrollParent","contains","scrollHeight","offsetHeight","fastClickLastScrollTop","scrollTop","getTargetElementFromEventTarget","eventTarget","nodeType","TEXT_NODE","parentNode","selection","targetTouches","getSelection","rangeCount","isCollapsed","identifier","preventDefault","timeStamp","pageX","pageY","lastClickTime","touchHasMoved","boundary","Math","abs","findControl","labelElement","undefined","control","htmlFor","getElementById","querySelector","forElement","targetTagName","cancelNextClick","elementFromPoint","pageXOffset","pageYOffset","top","cancelable","stopPropagation","permitted","detail","destroy","metaViewport","chromeVersion","blackberryVersion","ontouchstart","exec","content","documentElement","scrollWidth","outerWidth","match","style","msTouchAction","touchAction","attach","define","amd","module","exports"],"mappings":"CAAE,WACA,aAqBA,SAASA,EAAUC,EAAOC,GACxB,IAAIC,EAiFJ,GA/EAD,EAAUA,MAOVE,KAAKC,eAAgB,EAQrBD,KAAKE,mBAAqB,EAQ1BF,KAAKG,cAAgB,KAQrBH,KAAKI,YAAc,EAQnBJ,KAAKK,YAAc,EAQnBL,KAAKM,oBAAsB,EAQ3BN,KAAK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,wBAEpB,CAEhB,IAA0D,IAAtDa,EAAaK,QAAQxF,QAAQ,oBAC/B,OAAO,EAGT,GAAIiB,SAASwE,gBAAgBC,aAAelE,OAAOmE,WACjD,OAAO,EAOf,MAAkC,SAA9B5I,EAAM8I,MAAMC,eAAwD,iBAA5B/I,EAAM8I,MAAME,mBAKrC,oBAAoBR,KAAKzF,UAAUC,aAAe,CAAC,IAAI,IAEpD,KAGpBoF,EAAelE,SAASqD,cAAc,2BACqC,IAAtDa,EAAaK,QAAQxF,QAAQ,qBAA8BiB,SAASwE,gBAAgBC,aAAelE,OAAOmE,cAOjG,SAA5B5I,EAAM8I,MAAME,aAAsD,iBAA5BhJ,EAAM8I,MAAME,cAcxDjJ,EAAUkJ,OAAS,SAASjJ,EAAOC,GACjC,OAAO,IAAIF,EAAUC,EAAOC,IAIR,mBAAXiJ,QAA+C,iBAAfA,OAAOC,KAAoBD,OAAOC,IAG3ED,OAAO,WACL,OAAOnJ,IAEkB,oBAAXqJ,QAA0BA,OAAOC,SACjDD,OAAOC,QAAUtJ,EAAUkJ,OAC3BG,OAAOC,QAAQtJ,UAAYA,GAE3B0E,OAAO1E,UAAYA,EAt0BtB","file":"fastclick.min.js","sourcesContent":[";(function () {\n 'use strict';\n\n /**\n * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.\n *\n * @codingstandard ftlabs-jsv2\n * @copyright The Financial Times Limited [All Rights Reserved]\n * @license MIT License (see LICENSE.txt)\n */\n\n /*jslint browser:true, node:true*/\n /*global define, Event, Node*/\n\n\n /**\n * Instantiate fast-clicking listeners on the specified layer.\n *\n * @constructor\n * @param {Element} layer The layer to listen on\n * @param {Object} [options={}] The options to override the defaults\n */\n function FastClick(layer, options) {\n var oldOnClick;\n\n options = options || {};\n\n /**\n * Whether a click is currently being tracked.\n *\n * @type boolean\n */\n this.trackingClick = false;\n\n\n /**\n * Timestamp for when click tracking started.\n *\n * @type number\n */\n this.trackingClickStart = 0;\n\n\n /**\n * The element being tracked for a click.\n *\n * @type EventTarget\n */\n this.targetElement = null;\n\n\n /**\n * X-coordinate of touch start event.\n *\n * @type number\n */\n this.touchStartX = 0;\n\n\n /**\n * Y-coordinate of touch start event.\n *\n * @type number\n */\n this.touchStartY = 0;\n\n\n /**\n * ID of the last touch, retrieved from Touch.identifier.\n *\n * @type number\n */\n this.lastTouchIdentifier = 0;\n\n\n /**\n * Touchmove boundary, beyond which a click will be cancelled.\n *\n * @type number\n */\n this.touchBoundary = options.touchBoundary || 10;\n\n\n /**\n * The FastClick layer.\n *\n * @type Element\n */\n this.layer = layer;\n\n /**\n * The minimum time between tap(touchstart and touchend) events\n *\n * @type number\n */\n this.tapDelay = options.tapDelay || 200;\n\n /**\n * The maximum time for a tap\n *\n * @type number\n */\n this.tapTimeout = options.tapTimeout || 700;\n\n if (FastClick.notNeeded(layer)) {\n return;\n }\n\n // Some old versions of Android don't have Function.prototype.bind\n function bind(method, context) {\n return function() { return method.apply(context, arguments); };\n }\n\n\n var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];\n var context = this;\n for (var i = 0, l = methods.length; i < l; i++) {\n context[methods[i]] = bind(context[methods[i]], context);\n }\n\n // Set up event handlers as required\n if (deviceIsAndroid) {\n layer.addEventListener('mouseover', this.onMouse, true);\n layer.addEventListener('mousedown', this.onMouse, true);\n layer.addEventListener('mouseup', this.onMouse, true);\n }\n\n layer.addEventListener('click', this.onClick, true);\n layer.addEventListener('touchstart', this.onTouchStart, false);\n layer.addEventListener('touchmove', this.onTouchMove, false);\n layer.addEventListener('touchend', this.onTouchEnd, false);\n layer.addEventListener('touchcancel', this.onTouchCancel, false);\n\n // Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)\n // which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick\n // layer when they are cancelled.\n if (!Event.prototype.stopImmediatePropagation) {\n layer.removeEventListener = function(type, callback, capture) {\n var rmv = Node.prototype.removeEventListener;\n if (type === 'click') {\n rmv.call(layer, type, callback.hijacked || callback, capture);\n } else {\n rmv.call(layer, type, callback, capture);\n }\n };\n\n layer.addEventListener = function(type, callback, capture) {\n var adv = Node.prototype.addEventListener;\n if (type === 'click') {\n adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {\n if (!event.propagationStopped) {\n callback(event);\n }\n }), capture);\n } else {\n adv.call(layer, type, callback, capture);\n }\n };\n }\n\n // If a handler is already declared in the element's onclick attribute, it will be fired before\n // FastClick's onClick handler. Fix this by pulling out the user-defined handler function and\n // adding it as listener.\n if (typeof layer.onclick === 'function') {\n\n // Android browser on at least 3.2 requires a new reference to the function in layer.onclick\n // - the old one won't work if passed to addEventListener directly.\n oldOnClick = layer.onclick;\n layer.addEventListener('click', function(event) {\n oldOnClick(event);\n }, false);\n layer.onclick = null;\n }\n }\n\n /**\n * Windows Phone 8.1 fakes user agent string to look like Android and iPhone.\n *\n * @type boolean\n */\n var deviceIsWindowsPhone = navigator.userAgent.indexOf(\"Windows Phone\") >= 0;\n\n /**\n * Android requires exceptions.\n *\n * @type boolean\n */\n var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;\n\n\n /**\n * iOS requires exceptions.\n *\n * @type boolean\n */\n var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;\n\n\n /**\n * iOS 4 requires an exception for select elements.\n *\n * @type boolean\n */\n var deviceIsIOS4 = deviceIsIOS && (/OS 4_\\d(_\\d)?/).test(navigator.userAgent);\n\n\n /**\n * iOS 6.0-7.* requires the target element to be manually derived\n *\n * @type boolean\n */\n var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\\d/).test(navigator.userAgent);\n\n /**\n * BlackBerry requires exceptions.\n *\n * @type boolean\n */\n var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;\n\n /**\n * Determine whether a given element requires a native click.\n *\n * @param {EventTarget|Element} target Target DOM element\n * @returns {boolean} Returns true if the element needs a native click\n */\n FastClick.prototype.needsClick = function(target) {\n switch (target.nodeName.toLowerCase()) {\n\n // Don't send a synthetic click to disabled inputs (issue #62)\n case 'button':\n case 'select':\n case 'textarea':\n if (target.disabled) {\n return true;\n }\n\n break;\n case 'input':\n\n // File inputs need real clicks on iOS 6 due to a browser bug (issue #68)\n if ((deviceIsIOS && target.type === 'file') || target.disabled) {\n return true;\n }\n\n break;\n case 'label':\n case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames\n case 'video':\n return true;\n }\n\n return (/\\bneedsclick\\b/).test(target.className);\n };\n\n\n /**\n * Determine whether a given element requires a call to focus to simulate click into element.\n *\n * @param {EventTarget|Element} target Target DOM element\n * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.\n */\n FastClick.prototype.needsFocus = function(target) {\n switch (target.nodeName.toLowerCase()) {\n case 'textarea':\n return true;\n case 'select':\n return !deviceIsAndroid;\n case 'input':\n switch (target.type) {\n case 'button':\n case 'checkbox':\n case 'file':\n case 'image':\n case 'radio':\n case 'submit':\n return false;\n }\n\n // No point in attempting to focus disabled inputs\n return !target.disabled && !target.readOnly;\n default:\n return (/\\bneedsfocus\\b/).test(target.className);\n }\n };\n\n\n /**\n * Send a click event to the specified element.\n *\n * @param {EventTarget|Element} targetElement\n * @param {Event} event\n */\n FastClick.prototype.sendClick = function(targetElement, event) {\n var clickEvent, touch;\n\n // On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)\n if (document.activeElement && document.activeElement !== targetElement) {\n document.activeElement.blur();\n }\n\n touch = event.changedTouches[0];\n\n // Synthesise a click event, with an extra attribute so it can be tracked\n clickEvent = document.createEvent('MouseEvents');\n clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);\n clickEvent.forwardedTouchEvent = true;\n targetElement.dispatchEvent(clickEvent);\n };\n\n FastClick.prototype.determineEventType = function(targetElement) {\n\n //Issue #159: Android Chrome Select Box does not open with a synthetic click event\n if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {\n return 'mousedown';\n }\n\n return 'click';\n };\n\n\n /**\n * @param {EventTarget|Element} targetElement\n */\n FastClick.prototype.focus = function(targetElement) {\n var length;\n\n // Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.\n if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {\n length = targetElement.value.length;\n targetElement.setSelectionRange(length, length);\n } else {\n targetElement.focus();\n }\n };\n\n\n /**\n * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.\n *\n * @param {EventTarget|Element} targetElement\n */\n FastClick.prototype.updateScrollParent = function(targetElement) {\n var scrollParent, parentElement;\n\n scrollParent = targetElement.fastClickScrollParent;\n\n // Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the\n // target element was moved to another parent.\n if (!scrollParent || !scrollParent.contains(targetElement)) {\n parentElement = targetElement;\n do {\n if (parentElement.scrollHeight > parentElement.offsetHeight) {\n scrollParent = parentElement;\n targetElement.fastClickScrollParent = parentElement;\n break;\n }\n\n parentElement = parentElement.parentElement;\n } while (parentElement);\n }\n\n // Always update the scroll top tracker if possible.\n if (scrollParent) {\n scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;\n }\n };\n\n\n /**\n * @param {EventTarget} targetElement\n * @returns {Element|EventTarget}\n */\n FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {\n\n // On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.\n if (eventTarget.nodeType === Node.TEXT_NODE) {\n return eventTarget.parentNode;\n }\n\n return eventTarget;\n };\n\n\n /**\n * On touch start, record the position and scroll offset.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.onTouchStart = function(event) {\n var targetElement, touch, selection;\n\n // Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).\n if (event.targetTouches.length > 1) {\n return true;\n }\n\n targetElement = this.getTargetElementFromEventTarget(event.target);\n touch = event.targetTouches[0];\n\n if (deviceIsIOS) {\n\n // Only trusted events will deselect text on iOS (issue #49)\n selection = window.getSelection();\n if (selection.rangeCount && !selection.isCollapsed) {\n return true;\n }\n\n if (!deviceIsIOS4) {\n\n // Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):\n // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched\n // with the same identifier as the touch event that previously triggered the click that triggered the alert.\n // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an\n // immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.\n // Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,\n // which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,\n // random integers, it's safe to to continue if the identifier is 0 here.\n if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {\n event.preventDefault();\n return false;\n }\n\n this.lastTouchIdentifier = touch.identifier;\n\n // If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:\n // 1) the user does a fling scroll on the scrollable layer\n // 2) the user stops the fling scroll with another tap\n // then the event.target of the last 'touchend' event will be the element that was under the user's finger\n // when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check\n // is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).\n this.updateScrollParent(targetElement);\n }\n }\n\n this.trackingClick = true;\n this.trackingClickStart = event.timeStamp;\n this.targetElement = targetElement;\n\n this.touchStartX = touch.pageX;\n this.touchStartY = touch.pageY;\n\n // Prevent phantom clicks on fast double-tap (issue #36)\n if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {\n event.preventDefault();\n }\n\n return true;\n };\n\n\n /**\n * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.touchHasMoved = function(event) {\n var touch = event.changedTouches[0], boundary = this.touchBoundary;\n\n if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {\n return true;\n }\n\n return false;\n };\n\n\n /**\n * Update the last position.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.onTouchMove = function(event) {\n if (!this.trackingClick) {\n return true;\n }\n\n // If the touch has moved, cancel the click tracking\n if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {\n this.trackingClick = false;\n this.targetElement = null;\n }\n\n return true;\n };\n\n\n /**\n * Attempt to find the labelled control for the given label element.\n *\n * @param {EventTarget|HTMLLabelElement} labelElement\n * @returns {Element|null}\n */\n FastClick.prototype.findControl = function(labelElement) {\n\n // Fast path for newer browsers supporting the HTML5 control attribute\n if (labelElement.control !== undefined) {\n return labelElement.control;\n }\n\n // All browsers under test that support touch events also support the HTML5 htmlFor attribute\n if (labelElement.htmlFor) {\n return document.getElementById(labelElement.htmlFor);\n }\n\n // If no for attribute exists, attempt to retrieve the first labellable descendant element\n // the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label\n return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');\n };\n\n\n /**\n * On touch end, determine whether to send a click event at once.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.onTouchEnd = function(event) {\n var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;\n\n if (!this.trackingClick) {\n return true;\n }\n\n // Prevent phantom clicks on fast double-tap (issue #36)\n if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {\n this.cancelNextClick = true;\n return true;\n }\n\n if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {\n return true;\n }\n\n // Reset to prevent wrong click cancel on input (issue #156).\n this.cancelNextClick = false;\n\n this.lastClickTime = event.timeStamp;\n\n trackingClickStart = this.trackingClickStart;\n this.trackingClick = false;\n this.trackingClickStart = 0;\n\n // On some iOS devices, the targetElement supplied with the event is invalid if the layer\n // is performing a transition or scroll, and has to be re-detected manually. Note that\n // for this to function correctly, it must be called *after* the event target is checked!\n // See issue #57; also filed as rdar://13048589 .\n if (deviceIsIOSWithBadTarget) {\n touch = event.changedTouches[0];\n\n // In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null\n targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;\n targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;\n }\n\n targetTagName = targetElement.tagName.toLowerCase();\n if (targetTagName === 'label') {\n forElement = this.findControl(targetElement);\n if (forElement) {\n this.focus(targetElement);\n if (deviceIsAndroid) {\n return false;\n }\n\n targetElement = forElement;\n }\n } else if (this.needsFocus(targetElement)) {\n\n // Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.\n // Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).\n if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {\n this.targetElement = null;\n return false;\n }\n\n this.focus(targetElement);\n this.sendClick(targetElement, event);\n\n // Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.\n // Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)\n if (!deviceIsIOS || targetTagName !== 'select') {\n this.targetElement = null;\n event.preventDefault();\n }\n\n return false;\n }\n\n if (deviceIsIOS && !deviceIsIOS4) {\n\n // Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled\n // and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).\n scrollParent = targetElement.fastClickScrollParent;\n if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {\n return true;\n }\n }\n\n // Prevent the actual click from going though - unless the target node is marked as requiring\n // real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.\n if (!this.needsClick(targetElement)) {\n event.preventDefault();\n this.sendClick(targetElement, event);\n }\n\n return false;\n };\n\n\n /**\n * On touch cancel, stop tracking the click.\n *\n * @returns {void}\n */\n FastClick.prototype.onTouchCancel = function() {\n this.trackingClick = false;\n this.targetElement = null;\n };\n\n\n /**\n * Determine mouse events which should be permitted.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.onMouse = function(event) {\n\n // If a target element was never set (because a touch event was never fired) allow the event\n if (!this.targetElement) {\n return true;\n }\n\n if (event.forwardedTouchEvent) {\n return true;\n }\n\n // Programmatically generated events targeting a specific element should be permitted\n if (!event.cancelable) {\n return true;\n }\n\n // Derive and check the target element to see whether the mouse event needs to be permitted;\n // unless explicitly enabled, prevent non-touch click events from triggering actions,\n // to prevent ghost/doubleclicks.\n if (!this.needsClick(this.targetElement) || this.cancelNextClick) {\n\n // Prevent any user-added listeners declared on FastClick element from being fired.\n if (event.stopImmediatePropagation) {\n event.stopImmediatePropagation();\n } else {\n\n // Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)\n event.propagationStopped = true;\n }\n\n // Cancel the event\n event.stopPropagation();\n event.preventDefault();\n\n return false;\n }\n\n // If the mouse event is permitted, return true for the action to go through.\n return true;\n };\n\n\n /**\n * On actual clicks, determine whether this is a touch-generated click, a click action occurring\n * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or\n * an actual click which should be permitted.\n *\n * @param {Event} event\n * @returns {boolean}\n */\n FastClick.prototype.onClick = function(event) {\n var permitted;\n\n // It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.\n if (this.trackingClick) {\n this.targetElement = null;\n this.trackingClick = false;\n return true;\n }\n\n // Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.\n if (event.target.type === 'submit' && event.detail === 0) {\n return true;\n }\n\n permitted = this.onMouse(event);\n\n // Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.\n if (!permitted) {\n this.targetElement = null;\n }\n\n // If clicks are permitted, return true for the action to go through.\n return permitted;\n };\n\n\n /**\n * Remove all FastClick's event listeners.\n *\n * @returns {void}\n */\n FastClick.prototype.destroy = function() {\n var layer = this.layer;\n\n if (deviceIsAndroid) {\n layer.removeEventListener('mouseover', this.onMouse, true);\n layer.removeEventListener('mousedown', this.onMouse, true);\n layer.removeEventListener('mouseup', this.onMouse, true);\n }\n\n layer.removeEventListener('click', this.onClick, true);\n layer.removeEventListener('touchstart', this.onTouchStart, false);\n layer.removeEventListener('touchmove', this.onTouchMove, false);\n layer.removeEventListener('touchend', this.onTouchEnd, false);\n layer.removeEventListener('touchcancel', this.onTouchCancel, false);\n };\n\n\n /**\n * Check whether FastClick is needed.\n *\n * @param {Element} layer The layer to listen on\n */\n FastClick.notNeeded = function(layer) {\n var metaViewport;\n var chromeVersion;\n var blackberryVersion;\n var firefoxVersion;\n\n // Devices that don't support touch don't need FastClick\n if (typeof window.ontouchstart === 'undefined') {\n return true;\n }\n\n // Chrome version - zero for other browsers\n chromeVersion = +(/Chrome\\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];\n\n if (chromeVersion) {\n\n if (deviceIsAndroid) {\n metaViewport = document.querySelector('meta[name=viewport]');\n\n if (metaViewport) {\n // Chrome on Android with user-scalable=\"no\" doesn't need FastClick (issue #89)\n if (metaViewport.content.indexOf('user-scalable=no') !== -1) {\n return true;\n }\n // Chrome 32 and above with width=device-width or less don't need FastClick\n if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {\n return true;\n }\n }\n\n // Chrome desktop doesn't need FastClick (issue #15)\n } else {\n return true;\n }\n }\n\n if (deviceIsBlackBerry10) {\n blackberryVersion = navigator.userAgent.match(/Version\\/([0-9]*)\\.([0-9]*)/);\n\n // BlackBerry 10.3+ does not require Fastclick library.\n // https://github.com/ftlabs/fastclick/issues/251\n if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {\n metaViewport = document.querySelector('meta[name=viewport]');\n\n if (metaViewport) {\n // user-scalable=no eliminates click delay.\n if (metaViewport.content.indexOf('user-scalable=no') !== -1) {\n return true;\n }\n // width=device-width (or less than device-width) eliminates click delay.\n if (document.documentElement.scrollWidth <= window.outerWidth) {\n return true;\n }\n }\n }\n }\n\n // IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)\n if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {\n return true;\n }\n\n // Firefox version - zero for other browsers\n firefoxVersion = +(/Firefox\\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];\n\n if (firefoxVersion >= 27) {\n // Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896\n\n metaViewport = document.querySelector('meta[name=viewport]');\n if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {\n return true;\n }\n }\n\n // IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version\n // http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx\n if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {\n return true;\n }\n\n return false;\n };\n\n\n /**\n * Factory method for creating a FastClick object\n *\n * @param {Element} layer The layer to listen on\n * @param {Object} [options={}] The options to override the defaults\n */\n FastClick.attach = function(layer, options) {\n return new FastClick(layer, options);\n };\n\n\n if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\n // AMD. Register as an anonymous module.\n define(function() {\n return FastClick;\n });\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = FastClick.attach;\n module.exports.FastClick = FastClick;\n } else {\n window.FastClick = FastClick;\n }\n}());\n"]} --------------------------------------------------------------------------------