├── .DS_Store ├── .gitignore ├── LICENSE.txt ├── README.md ├── _config.yml ├── _includes ├── download.html ├── footer.html ├── head.html └── header.html ├── _layouts └── default.html ├── archive └── jekyll-html5up-fractal.zip ├── assets ├── css │ ├── font-awesome.min.css │ ├── ie8.css │ ├── ie9.css │ ├── images │ │ ├── overlay.png │ │ ├── pattern-size1.svg │ │ ├── pattern-size2.svg │ │ └── pattern-size3.svg │ └── main.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── images │ ├── fractal.jpg │ ├── pic01.jpg │ ├── pic02.jpg │ ├── pic03.jpg │ ├── pic04.jpg │ ├── pic05.jpg │ └── screen.jpg ├── js │ ├── ie │ │ ├── PIE.htc │ │ ├── html5shiv.js │ │ └── respond.min.js │ ├── jquery.min.js │ ├── jquery.scrolly.min.js │ ├── main.js │ ├── skel.min.js │ └── util.js └── sass │ ├── base │ ├── _page.scss │ └── _typography.scss │ ├── components │ ├── _box.scss │ ├── _button.scss │ ├── _form.scss │ ├── _icon.scss │ ├── _image.scss │ ├── _list.scss │ ├── _section.scss │ ├── _spotlight.scss │ ├── _table.scss │ └── _wrapper.scss │ ├── ie8.scss │ ├── ie9.scss │ ├── layout │ ├── _footer.scss │ ├── _header.scss │ └── _main.scss │ ├── libs │ ├── _functions.scss │ ├── _mixins.scss │ ├── _skel.scss │ └── _vars.scss │ └── main.scss └── index.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _site/ 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Yves Espinosa 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Jekyll-fractal Theme 2 | 3 | ![Fractal Theme](assets/images/fractal.jpg "Fractal Theme") 4 | 5 | See the [demo here](https://yveszenne.github.io/jekyll-html5up-fractal/). 6 | 7 | ## What is it? 8 | 9 | A template for personal website portfolio that is simple yet elegant. It is also responsive! 10 | 11 | ## Setup 12 | 13 | 1. Install Jekyll (use the command `sudo gem install jekyll`) 14 | 3. Clone and fork [Jekyll-fractal Template](https://github.com/yveszenne/jekyll-html5up-fractal) 15 | 4. Edit `_config.yml` to personalize your site 16 | 17 | ## Settings 18 | 19 | You have to fill some informations on `_config.yml` to customize your site. 20 | 21 | ``` 22 | # Site settings 23 | title: Jekyll fractal 24 | email: youremailaddress@gmail.com 25 | description: Just a simple, single page responsive template brought to you by HTML5 UP. 26 | baseurl: "/fractal-jekyll-theme" # the subpath of your site, e.g. /blog 27 | url: "" # the base hostname & protocol for your site e.g. http://yvesespinosa.com 28 | download_button_url: "" 29 | 30 | # Social settings 31 | 500px_url: 32 | facebook_url: 33 | github_url: 34 | gitlab_url: 35 | googleplus_url: 36 | instagram_url: 37 | linkedin_url: 38 | pinterest_url: 39 | twitter_url: 40 | 41 | # Build settings 42 | markdown: kramdown 43 | 44 | ``` 45 | 46 | ## Questions? 47 | 48 | Drop me a line anytime [website](#) or file a [GitHub Issue](https://github.com/yveszenne/jekyll-html5up-fractal/issues/new). 49 | 50 | ## Like It? 51 | 52 | Fork or Star [this](https://github.com/yveszenne/jekyll-html5up-fractal) 53 | 54 | ## Author 55 | 56 | Design made by [Html5](http://html5up.net). 57 | Jekyll integrations made by me 58 | 59 | ## License 60 | 61 | *Jekyll-Fractal* is available under the MIT license. See the LICENSE file for more info. 62 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Site settings 2 | title: Jekyll fractal 3 | email: youremailaddress@gmail.com 4 | description: Just a simple, single page responsive template brought to you by HTML5 UP. 5 | baseurl: "/fractal-jekyll-theme" # the subpath of your site, e.g. /blog 6 | url: "" # the base hostname & protocol for your site e.g. http://yvesespinosa.com 7 | download_button_url: "" 8 | 9 | # Social settings 10 | 500px_url: 11 | facebook_url: 12 | github_url: 13 | gitlab_url: 14 | googleplus_url: 15 | instagram_url: 16 | linkedin_url: 17 | pinterest_url: 18 | twitter_url: 19 | 20 | # Build settings 21 | markdown: kramdown 22 | -------------------------------------------------------------------------------- /_includes/download.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |

Magna leo sapien gravida

5 |

Gravida at leo elementum elit fusce accumsan dui libero, quis vehicula
6 | lectus ultricies eu. In convallis amet leo sapien iaculis efficitur.

7 |
8 | 12 |
13 | -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | {{ site.title }} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 | 2 | 14 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | {% include head.html %} 10 | 11 | 12 | 13 | {% include header.html %} 14 | 15 | {{ content }} 16 | 17 | {% include download.html %} 18 | 19 | {% include footer.html %} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /archive/jekyll-html5up-fractal.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/archive/jekyll-html5up-fractal.zip -------------------------------------------------------------------------------- /assets/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.3');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} 5 | -------------------------------------------------------------------------------- /assets/css/ie8.css: -------------------------------------------------------------------------------- 1 | /* 2 | Fractal by HTML5 UP 3 | html5up.net | @ajlkn 4 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 5 | */ 6 | 7 | /* Button */ 8 | 9 | input[type="submit"], 10 | input[type="reset"], 11 | input[type="button"], 12 | button, 13 | .button { 14 | position: relative; 15 | -ms-behavior: url("assets/js/ie/PIE.htc"); 16 | border: solid 2px #e6e6e6 !important; 17 | } 18 | 19 | input[type="submit"]:hover, 20 | input[type="reset"]:hover, 21 | input[type="button"]:hover, 22 | button:hover, 23 | .button:hover { 24 | border: solid 2px #e6e6e6 !important; 25 | } 26 | 27 | input[type="submit"].special, 28 | input[type="reset"].special, 29 | input[type="button"].special, 30 | button.special, 31 | .button.special { 32 | border: none !important; 33 | } 34 | 35 | input[type="submit"].special:hover, 36 | input[type="reset"].special:hover, 37 | input[type="button"].special:hover, 38 | button.special:hover, 39 | .button.special:hover { 40 | border: none !important; 41 | } 42 | 43 | /* Image */ 44 | 45 | .image { 46 | -ms-behavior: url("assets/js/ie/PIE.htc"); 47 | } 48 | 49 | .image img { 50 | position: relative; 51 | -ms-behavior: url("assets/js/ie/PIE.htc"); 52 | } 53 | 54 | .image.phone:before, .image.phone:after { 55 | display: none; 56 | } 57 | 58 | .image.phone .inner:before, .image.phone .inner:after { 59 | display: none; 60 | } 61 | 62 | /* List */ 63 | 64 | ul.icons li { 65 | padding: 0 0 0 1.5em; 66 | } 67 | 68 | ul.icons li:first-child { 69 | padding-left: 0 !important; 70 | } 71 | 72 | ul.icons li .icon:before { 73 | font-size: 24px; 74 | } 75 | 76 | ul.icons.major li { 77 | padding: 0 0 0 2.5em; 78 | } 79 | 80 | ul.icons.major li .icon:before { 81 | font-size: 48px; 82 | } 83 | 84 | /* Header */ 85 | 86 | #header { 87 | min-height: 0; 88 | } 89 | 90 | #header .image { 91 | margin: 0 0 2em 0; 92 | } -------------------------------------------------------------------------------- /assets/css/ie9.css: -------------------------------------------------------------------------------- 1 | /* 2 | Fractal by HTML5 UP 3 | html5up.net | @ajlkn 4 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 5 | */ 6 | 7 | /* Spotlight */ 8 | 9 | .spotlight .image { 10 | width: 25%; 11 | display: inline-block; 12 | vertical-align: middle; 13 | } 14 | 15 | .spotlight .content { 16 | width: 65%; 17 | display: inline-block; 18 | vertical-align: middle; 19 | } 20 | 21 | .spotlight:after { 22 | content: ''; 23 | display: block; 24 | clear: both; 25 | } 26 | 27 | .spotlight:nth-child(2n) .image { 28 | margin: 0 3em 0 0; 29 | } 30 | 31 | .spotlight:nth-child(2n) .content { 32 | text-align: left; 33 | } 34 | 35 | /* Header */ 36 | 37 | #header { 38 | height: auto; 39 | text-align: center; 40 | } 41 | 42 | #header .content { 43 | display: inline-block; 44 | vertical-align: middle; 45 | } 46 | 47 | #header .image { 48 | display: inline-block; 49 | vertical-align: middle; 50 | } -------------------------------------------------------------------------------- /assets/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/css/images/overlay.png -------------------------------------------------------------------------------- /assets/css/images/pattern-size1.svg: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/css/images/pattern-size2.svg: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/css/images/pattern-size3.svg: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/images/fractal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/fractal.jpg -------------------------------------------------------------------------------- /assets/images/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/pic01.jpg -------------------------------------------------------------------------------- /assets/images/pic02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/pic02.jpg -------------------------------------------------------------------------------- /assets/images/pic03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/pic03.jpg -------------------------------------------------------------------------------- /assets/images/pic04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/pic04.jpg -------------------------------------------------------------------------------- /assets/images/pic05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/pic05.jpg -------------------------------------------------------------------------------- /assets/images/screen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yveszenne/jekyll-html5up-fractal/839ad6d1c6d0fe03a79ecd0151e0a8e8bc69a677/assets/images/screen.jpg -------------------------------------------------------------------------------- /assets/js/ie/PIE.htc: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 96 | 97 | -------------------------------------------------------------------------------- /assets/js/ie/html5shiv.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); 8 | for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b1){for(o=0;o=i)return-1;for(0>a&&(a=i-Math.abs(a)),n=a;i>n;n++)if(this[n]===t)return n;return-1},Array.isArray?t.isArray=function(t){return Array.isArray(t)}:t.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},Object.keys?t.iterate=function(t,e){if(!t)return[];var n,i=Object.keys(t);for(n=0;i[n]&&e(i[n],t[i[n]])!==!1;n++);}:t.iterate=function(t,e){if(!t)return[];var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])===!1)break},window.matchMedia?t.matchesMedia=function(t){return""==t?!0:window.matchMedia(t).matches}:window.styleMedia||window.media?t.matchesMedia=function(t){if(""==t)return!0;var e=window.styleMedia||window.media;return e.matchMedium(t||"all")}:window.getComputedStyle?t.matchesMedia=function(t){if(""==t)return!0;var e=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;e.type="text/css",e.id="matchmediajs-test",n.parentNode.insertBefore(e,n),i="getComputedStyle"in window&&window.getComputedStyle(e,null)||e.currentStyle;var a="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return e.styleSheet?e.styleSheet.cssText=a:e.textContent=a,"1px"===i.width}:t.matchesMedia=function(t){if(""==t)return!0;var e,n,i,a,r={"min-width":null,"max-width":null},o=!1;for(i=t.split(/\s+and\s+/),e=0;er["max-width"]||null!==r["min-height"]&&cr["max-height"]?!1:!0},navigator.userAgent.match(/MSIE ([0-9]+)/)&&RegExp.$1<9&&(t.newStyle=function(t){var e=document.createElement("span");return e.innerHTML=' ",e})},initVars:function(){var e,n,i,a=navigator.userAgent;e="other",n=0,i=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],t.iterate(i,function(t,i){return a.match(i[1])?(e=i[0],n=parseFloat(RegExp.$1),!1):void 0}),t.vars.browser=e,t.vars.browserVersion=n,e="other",n=0,i=[["ios",/([0-9_]+) like Mac OS X/,function(t){return t.replace("_",".").replace("_","")}],["ios",/CPU like Mac OS X/,function(t){return 0}],["wp",/Windows Phone ([0-9\.]+)/,null],["android",/Android ([0-9\.]+)/,null],["mac",/Macintosh.+Mac OS X ([0-9_]+)/,function(t){return t.replace("_",".").replace("_","")}],["windows",/Windows NT ([0-9\.]+)/,null],["bb",/BlackBerry.+Version\/([0-9\.]+)/,null],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/,null]],t.iterate(i,function(t,i){return a.match(i[1])?(e=i[0],n=parseFloat(i[2]?i[2](RegExp.$1):RegExp.$1),!1):void 0}),t.vars.os=e,t.vars.osVersion=n,t.vars.IEVersion="ie"==t.vars.browser?t.vars.browserVersion:99,t.vars.touch="wp"==t.vars.os?navigator.msMaxTouchPoints>0:!!("ontouchstart"in window),t.vars.mobile="wp"==t.vars.os||"android"==t.vars.os||"ios"==t.vars.os||"bb"==t.vars.os}};return t.init(),t}();!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.skel=e()}(this,function(){return skel}); 3 | -------------------------------------------------------------------------------- /assets/js/util.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | /** 4 | * Generate an indented list of links from a nav. Meant for use with panel(). 5 | * @return {jQuery} jQuery object. 6 | */ 7 | $.fn.navList = function() { 8 | 9 | var $this = $(this); 10 | $a = $this.find('a'), 11 | b = []; 12 | 13 | $a.each(function() { 14 | 15 | var $this = $(this), 16 | indent = Math.max(0, $this.parents('li').length - 1), 17 | href = $this.attr('href'), 18 | target = $this.attr('target'); 19 | 20 | b.push( 21 | '' + 26 | '' + 27 | $this.text() + 28 | '' 29 | ); 30 | 31 | }); 32 | 33 | return b.join(''); 34 | 35 | }; 36 | 37 | /** 38 | * Panel-ify an element. 39 | * @param {object} userConfig User config. 40 | * @return {jQuery} jQuery object. 41 | */ 42 | $.fn.panel = function(userConfig) { 43 | 44 | // No elements? 45 | if (this.length == 0) 46 | return $this; 47 | 48 | // Multiple elements? 49 | if (this.length > 1) { 50 | 51 | for (var i=0; i < this.length; i++) 52 | $(this[i]).panel(userConfig); 53 | 54 | return $this; 55 | 56 | } 57 | 58 | // Vars. 59 | var $this = $(this), 60 | $body = $('body'), 61 | $window = $(window), 62 | id = $this.attr('id'), 63 | config; 64 | 65 | // Config. 66 | config = $.extend({ 67 | 68 | // Delay. 69 | delay: 0, 70 | 71 | // Hide panel on link click. 72 | hideOnClick: false, 73 | 74 | // Hide panel on escape keypress. 75 | hideOnEscape: false, 76 | 77 | // Hide panel on swipe. 78 | hideOnSwipe: false, 79 | 80 | // Reset scroll position on hide. 81 | resetScroll: false, 82 | 83 | // Reset forms on hide. 84 | resetForms: false, 85 | 86 | // Side of viewport the panel will appear. 87 | side: null, 88 | 89 | // Target element for "class". 90 | target: $this, 91 | 92 | // Class to toggle. 93 | visibleClass: 'visible' 94 | 95 | }, userConfig); 96 | 97 | // Expand "target" if it's not a jQuery object already. 98 | if (typeof config.target != 'jQuery') 99 | config.target = $(config.target); 100 | 101 | // Panel. 102 | 103 | // Methods. 104 | $this._hide = function(event) { 105 | 106 | // Already hidden? Bail. 107 | if (!config.target.hasClass(config.visibleClass)) 108 | return; 109 | 110 | // If an event was provided, cancel it. 111 | if (event) { 112 | 113 | event.preventDefault(); 114 | event.stopPropagation(); 115 | 116 | } 117 | 118 | // Hide. 119 | config.target.removeClass(config.visibleClass); 120 | 121 | // Post-hide stuff. 122 | window.setTimeout(function() { 123 | 124 | // Reset scroll position. 125 | if (config.resetScroll) 126 | $this.scrollTop(0); 127 | 128 | // Reset forms. 129 | if (config.resetForms) 130 | $this.find('form').each(function() { 131 | this.reset(); 132 | }); 133 | 134 | }, config.delay); 135 | 136 | }; 137 | 138 | // Vendor fixes. 139 | $this 140 | .css('-ms-overflow-style', '-ms-autohiding-scrollbar') 141 | .css('-webkit-overflow-scrolling', 'touch'); 142 | 143 | // Hide on click. 144 | if (config.hideOnClick) { 145 | 146 | $this.find('a') 147 | .css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)'); 148 | 149 | $this 150 | .on('click', 'a', function(event) { 151 | 152 | var $a = $(this), 153 | href = $a.attr('href'), 154 | target = $a.attr('target'); 155 | 156 | if (!href || href == '#' || href == '' || href == '#' + id) 157 | return; 158 | 159 | // Cancel original event. 160 | event.preventDefault(); 161 | event.stopPropagation(); 162 | 163 | // Hide panel. 164 | $this._hide(); 165 | 166 | // Redirect to href. 167 | window.setTimeout(function() { 168 | 169 | if (target == '_blank') 170 | window.open(href); 171 | else 172 | window.location.href = href; 173 | 174 | }, config.delay + 10); 175 | 176 | }); 177 | 178 | } 179 | 180 | // Event: Touch stuff. 181 | $this.on('touchstart', function(event) { 182 | 183 | $this.touchPosX = event.originalEvent.touches[0].pageX; 184 | $this.touchPosY = event.originalEvent.touches[0].pageY; 185 | 186 | }) 187 | 188 | $this.on('touchmove', function(event) { 189 | 190 | if ($this.touchPosX === null 191 | || $this.touchPosY === null) 192 | return; 193 | 194 | var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX, 195 | diffY = $this.touchPosY - event.originalEvent.touches[0].pageY, 196 | th = $this.outerHeight(), 197 | ts = ($this.get(0).scrollHeight - $this.scrollTop()); 198 | 199 | // Hide on swipe? 200 | if (config.hideOnSwipe) { 201 | 202 | var result = false, 203 | boundary = 20, 204 | delta = 50; 205 | 206 | switch (config.side) { 207 | 208 | case 'left': 209 | result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta); 210 | break; 211 | 212 | case 'right': 213 | result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta)); 214 | break; 215 | 216 | case 'top': 217 | result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta); 218 | break; 219 | 220 | case 'bottom': 221 | result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta)); 222 | break; 223 | 224 | default: 225 | break; 226 | 227 | } 228 | 229 | if (result) { 230 | 231 | $this.touchPosX = null; 232 | $this.touchPosY = null; 233 | $this._hide(); 234 | 235 | return false; 236 | 237 | } 238 | 239 | } 240 | 241 | // Prevent vertical scrolling past the top or bottom. 242 | if (($this.scrollTop() < 0 && diffY < 0) 243 | || (ts > (th - 2) && ts < (th + 2) && diffY > 0)) { 244 | 245 | event.preventDefault(); 246 | event.stopPropagation(); 247 | 248 | } 249 | 250 | }); 251 | 252 | // Event: Prevent certain events inside the panel from bubbling. 253 | $this.on('click touchend touchstart touchmove', function(event) { 254 | event.stopPropagation(); 255 | }); 256 | 257 | // Event: Hide panel if a child anchor tag pointing to its ID is clicked. 258 | $this.on('click', 'a[href="#' + id + '"]', function(event) { 259 | 260 | event.preventDefault(); 261 | event.stopPropagation(); 262 | 263 | config.target.removeClass(config.visibleClass); 264 | 265 | }); 266 | 267 | // Body. 268 | 269 | // Event: Hide panel on body click/tap. 270 | $body.on('click touchend', function(event) { 271 | $this._hide(event); 272 | }); 273 | 274 | // Event: Toggle. 275 | $body.on('click', 'a[href="#' + id + '"]', function(event) { 276 | 277 | event.preventDefault(); 278 | event.stopPropagation(); 279 | 280 | config.target.toggleClass(config.visibleClass); 281 | 282 | }); 283 | 284 | // Window. 285 | 286 | // Event: Hide on ESC. 287 | if (config.hideOnEscape) 288 | $window.on('keydown', function(event) { 289 | 290 | if (event.keyCode == 27) 291 | $this._hide(event); 292 | 293 | }); 294 | 295 | return $this; 296 | 297 | }; 298 | 299 | /** 300 | * Apply "placeholder" attribute polyfill to one or more forms. 301 | * @return {jQuery} jQuery object. 302 | */ 303 | $.fn.placeholder = function() { 304 | 305 | // Browser natively supports placeholders? Bail. 306 | if (typeof (document.createElement('input')).placeholder != 'undefined') 307 | return $(this); 308 | 309 | // No elements? 310 | if (this.length == 0) 311 | return $this; 312 | 313 | // Multiple elements? 314 | if (this.length > 1) { 315 | 316 | for (var i=0; i < this.length; i++) 317 | $(this[i]).placeholder(); 318 | 319 | return $this; 320 | 321 | } 322 | 323 | // Vars. 324 | var $this = $(this); 325 | 326 | // Text, TextArea. 327 | $this.find('input[type=text],textarea') 328 | .each(function() { 329 | 330 | var i = $(this); 331 | 332 | if (i.val() == '' 333 | || i.val() == i.attr('placeholder')) 334 | i 335 | .addClass('polyfill-placeholder') 336 | .val(i.attr('placeholder')); 337 | 338 | }) 339 | .on('blur', function() { 340 | 341 | var i = $(this); 342 | 343 | if (i.attr('name').match(/-polyfill-field$/)) 344 | return; 345 | 346 | if (i.val() == '') 347 | i 348 | .addClass('polyfill-placeholder') 349 | .val(i.attr('placeholder')); 350 | 351 | }) 352 | .on('focus', function() { 353 | 354 | var i = $(this); 355 | 356 | if (i.attr('name').match(/-polyfill-field$/)) 357 | return; 358 | 359 | if (i.val() == i.attr('placeholder')) 360 | i 361 | .removeClass('polyfill-placeholder') 362 | .val(''); 363 | 364 | }); 365 | 366 | // Password. 367 | $this.find('input[type=password]') 368 | .each(function() { 369 | 370 | var i = $(this); 371 | var x = $( 372 | $('
') 373 | .append(i.clone()) 374 | .remove() 375 | .html() 376 | .replace(/type="password"/i, 'type="text"') 377 | .replace(/type=password/i, 'type=text') 378 | ); 379 | 380 | if (i.attr('id') != '') 381 | x.attr('id', i.attr('id') + '-polyfill-field'); 382 | 383 | if (i.attr('name') != '') 384 | x.attr('name', i.attr('name') + '-polyfill-field'); 385 | 386 | x.addClass('polyfill-placeholder') 387 | .val(x.attr('placeholder')).insertAfter(i); 388 | 389 | if (i.val() == '') 390 | i.hide(); 391 | else 392 | x.hide(); 393 | 394 | i 395 | .on('blur', function(event) { 396 | 397 | event.preventDefault(); 398 | 399 | var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); 400 | 401 | if (i.val() == '') { 402 | 403 | i.hide(); 404 | x.show(); 405 | 406 | } 407 | 408 | }); 409 | 410 | x 411 | .on('focus', function(event) { 412 | 413 | event.preventDefault(); 414 | 415 | var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']'); 416 | 417 | x.hide(); 418 | 419 | i 420 | .show() 421 | .focus(); 422 | 423 | }) 424 | .on('keypress', function(event) { 425 | 426 | event.preventDefault(); 427 | x.val(''); 428 | 429 | }); 430 | 431 | }); 432 | 433 | // Events. 434 | $this 435 | .on('submit', function() { 436 | 437 | $this.find('input[type=text],input[type=password],textarea') 438 | .each(function(event) { 439 | 440 | var i = $(this); 441 | 442 | if (i.attr('name').match(/-polyfill-field$/)) 443 | i.attr('name', ''); 444 | 445 | if (i.val() == i.attr('placeholder')) { 446 | 447 | i.removeClass('polyfill-placeholder'); 448 | i.val(''); 449 | 450 | } 451 | 452 | }); 453 | 454 | }) 455 | .on('reset', function(event) { 456 | 457 | event.preventDefault(); 458 | 459 | $this.find('select') 460 | .val($('option:first').val()); 461 | 462 | $this.find('input,textarea') 463 | .each(function() { 464 | 465 | var i = $(this), 466 | x; 467 | 468 | i.removeClass('polyfill-placeholder'); 469 | 470 | switch (this.type) { 471 | 472 | case 'submit': 473 | case 'reset': 474 | break; 475 | 476 | case 'password': 477 | i.val(i.attr('defaultValue')); 478 | 479 | x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); 480 | 481 | if (i.val() == '') { 482 | i.hide(); 483 | x.show(); 484 | } 485 | else { 486 | i.show(); 487 | x.hide(); 488 | } 489 | 490 | break; 491 | 492 | case 'checkbox': 493 | case 'radio': 494 | i.attr('checked', i.attr('defaultValue')); 495 | break; 496 | 497 | case 'text': 498 | case 'textarea': 499 | i.val(i.attr('defaultValue')); 500 | 501 | if (i.val() == '') { 502 | i.addClass('polyfill-placeholder'); 503 | i.val(i.attr('placeholder')); 504 | } 505 | 506 | break; 507 | 508 | default: 509 | i.val(i.attr('defaultValue')); 510 | break; 511 | 512 | } 513 | }); 514 | 515 | }); 516 | 517 | return $this; 518 | 519 | }; 520 | 521 | /** 522 | * Moves elements to/from the first positions of their respective parents. 523 | * @param {jQuery} $elements Elements (or selector) to move. 524 | * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations. 525 | */ 526 | $.prioritize = function($elements, condition) { 527 | 528 | var key = '__prioritize'; 529 | 530 | // Expand $elements if it's not already a jQuery object. 531 | if (typeof $elements != 'jQuery') 532 | $elements = $($elements); 533 | 534 | // Step through elements. 535 | $elements.each(function() { 536 | 537 | var $e = $(this), $p, 538 | $parent = $e.parent(); 539 | 540 | // No parent? Bail. 541 | if ($parent.length == 0) 542 | return; 543 | 544 | // Not moved? Move it. 545 | if (!$e.data(key)) { 546 | 547 | // Condition is false? Bail. 548 | if (!condition) 549 | return; 550 | 551 | // Get placeholder (which will serve as our point of reference for when this element needs to move back). 552 | $p = $e.prev(); 553 | 554 | // Couldn't find anything? Means this element's already at the top, so bail. 555 | if ($p.length == 0) 556 | return; 557 | 558 | // Move element to top of parent. 559 | $e.prependTo($parent); 560 | 561 | // Mark element as moved. 562 | $e.data(key, $p); 563 | 564 | } 565 | 566 | // Moved already? 567 | else { 568 | 569 | // Condition is true? Bail. 570 | if (condition) 571 | return; 572 | 573 | $p = $e.data(key); 574 | 575 | // Move element back to its original location (using our placeholder). 576 | $e.insertAfter($p); 577 | 578 | // Unmark element as moved. 579 | $e.removeData(key); 580 | 581 | } 582 | 583 | }); 584 | 585 | }; 586 | 587 | })(jQuery); -------------------------------------------------------------------------------- /assets/sass/base/_page.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Basic */ 12 | 13 | // MSIE: Required for IEMobile. 14 | @-ms-viewport { 15 | width: device-width; 16 | } 17 | 18 | // MSIE: Prevents scrollbar from overlapping content. 19 | body { 20 | -ms-overflow-style: scrollbar; 21 | } 22 | 23 | // Ensures page width is always >=320px. 24 | @include breakpoint(xxsmall) { 25 | html, body { 26 | min-width: 320px; 27 | } 28 | } 29 | 30 | body { 31 | background: _palette(bg); 32 | 33 | // Prevents animation/transition "flicker" on page load. 34 | // Automatically added/removed by js/main.js. 35 | &.is-loading { 36 | *, *:before, *:after { 37 | @include vendor('animation', 'none !important'); 38 | @include vendor('transition', 'none !important'); 39 | } 40 | } 41 | 42 | } -------------------------------------------------------------------------------- /assets/sass/base/_typography.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Type */ 12 | 13 | html, body { 14 | background: _palette(bg-alt); 15 | } 16 | 17 | body { 18 | color: _palette(fg); 19 | } 20 | 21 | html, input, select, textarea { 22 | font-size: 16pt; 23 | 24 | // XLarge. 25 | @include breakpoint(xlarge) { 26 | font-size: 13pt; 27 | } 28 | 29 | // Large. 30 | @include breakpoint(large) { 31 | font-size: 12pt; 32 | } 33 | 34 | // XXSmall. 35 | @include breakpoint(xxsmall) { 36 | font-size: 11pt; 37 | } 38 | 39 | } 40 | 41 | body, input, select, textarea { 42 | font-family: _font(family); 43 | font-weight: _font(weight); 44 | line-height: 1.5em; 45 | letter-spacing: -0.015em; 46 | } 47 | 48 | a { 49 | @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-bottom-color #{_duration(transition)} ease-in-out')); 50 | text-decoration: none; 51 | border-bottom: dotted 1px; 52 | 53 | &:hover { 54 | border-bottom-color: transparent !important; 55 | } 56 | } 57 | 58 | strong, b { 59 | font-weight: _font(weight-bold); 60 | } 61 | 62 | em, i { 63 | font-style: italic; 64 | } 65 | 66 | p { 67 | margin: 0 0 _size(element-margin) 0; 68 | } 69 | 70 | h1, h2, h3, h4, h5, h6 { 71 | font-weight: _font(weight); 72 | line-height: 1em; 73 | margin: 0 0 (_size(element-margin) * 0.5) 0; 74 | letter-spacing: -0.0125em; 75 | 76 | a { 77 | color: inherit; 78 | text-decoration: none; 79 | border-bottom: none; 80 | } 81 | 82 | // Medium. 83 | @include breakpoint(medium) { 84 | br { 85 | display: none; 86 | } 87 | } 88 | 89 | } 90 | 91 | h2 { 92 | font-size: 1.75em; 93 | line-height: 1.5em; 94 | } 95 | 96 | h3 { 97 | font-size: 1.5em; 98 | line-height: 1.5em; 99 | } 100 | 101 | h4 { 102 | font-size: 1.1em; 103 | line-height: 1.5em; 104 | } 105 | 106 | h5 { 107 | font-size: 0.9em; 108 | line-height: 1.5em; 109 | } 110 | 111 | h6 { 112 | font-size: 0.7em; 113 | line-height: 1.5em; 114 | } 115 | 116 | // Small. 117 | @include breakpoint(small) { 118 | h2 { 119 | font-size: 1.25em; 120 | } 121 | 122 | h3 { 123 | font-size: 1.2em; 124 | } 125 | 126 | h4 { 127 | font-size: 1em; 128 | } 129 | } 130 | 131 | sub { 132 | font-size: 0.8em; 133 | position: relative; 134 | top: 0.5em; 135 | } 136 | 137 | sup { 138 | font-size: 0.8em; 139 | position: relative; 140 | top: -0.5em; 141 | } 142 | 143 | blockquote { 144 | border-left-style: solid; 145 | border-left-width: (_size(border-width) * 4); 146 | font-style: italic; 147 | margin: 0 0 _size(element-margin) 0; 148 | padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); 149 | } 150 | 151 | code { 152 | border-radius: _size(border-radius); 153 | border-style: solid; 154 | border-width: _size(border-width); 155 | font-family: _font(family-fixed); 156 | font-size: 0.9em; 157 | margin: 0 0.25em; 158 | padding: 0.25em 0.65em; 159 | } 160 | 161 | pre { 162 | -webkit-overflow-scrolling: touch; 163 | font-family: _font(family-fixed); 164 | font-size: 0.9em; 165 | margin: 0 0 _size(element-margin) 0; 166 | 167 | code { 168 | display: block; 169 | line-height: 1.75em; 170 | padding: 1em 1.5em; 171 | overflow-x: auto; 172 | } 173 | } 174 | 175 | hr { 176 | border: 0; 177 | border-bottom-style: solid; 178 | border-bottom-width: _size(border-width); 179 | margin: _size(element-margin) 0; 180 | 181 | &.major { 182 | margin: (_size(element-margin) * 1.5) 0; 183 | } 184 | } 185 | 186 | .align-left { 187 | text-align: left; 188 | } 189 | 190 | .align-center { 191 | text-align: center; 192 | } 193 | 194 | .align-right { 195 | text-align: right; 196 | } 197 | 198 | @mixin color-typography($p: null) { 199 | @if $p != null { 200 | background-color: _palette($p, bg); 201 | color: _palette($p, fg); 202 | } 203 | 204 | input, select, textarea { 205 | color: _palette($p, fg); 206 | } 207 | 208 | a { 209 | color: inherit; 210 | border-bottom-color: _palette($p, border2); 211 | 212 | @if _palette($p, invert) == true { 213 | color: _palette($p, fg-bold); 214 | } 215 | @else { 216 | &:hover { 217 | color: _palette(accent1, bg); 218 | } 219 | } 220 | } 221 | 222 | strong, b { 223 | color: _palette($p, fg-bold); 224 | } 225 | 226 | h1, h2, h3, h4, h5, h6 { 227 | color: _palette($p, fg-bold); 228 | } 229 | 230 | blockquote { 231 | border-left-color: _palette($p, border); 232 | } 233 | 234 | code { 235 | background: _palette($p, border-bg); 236 | border-color: _palette($p, border); 237 | } 238 | 239 | hr { 240 | border-bottom-color: _palette($p, border); 241 | } 242 | } 243 | 244 | @include color-typography; -------------------------------------------------------------------------------- /assets/sass/components/_box.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Box */ 12 | 13 | .box { 14 | border-radius: _size(border-radius); 15 | border: solid _size(border-width) _palette(border); 16 | margin-bottom: _size(element-margin); 17 | padding: 1.5em; 18 | 19 | > :last-child, 20 | > :last-child > :last-child, 21 | > :last-child > :last-child > :last-child { 22 | margin-bottom: 0; 23 | } 24 | 25 | &.alt { 26 | border: 0; 27 | border-radius: 0; 28 | padding: 0; 29 | } 30 | } -------------------------------------------------------------------------------- /assets/sass/components/_button.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Button */ 12 | 13 | input[type="submit"], 14 | input[type="reset"], 15 | input[type="button"], 16 | button, 17 | .button { 18 | @include vendor('appearance', 'none'); 19 | @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out, color #{_duration(transition)} ease-in-out'); 20 | border-radius: _size(border-radius); 21 | border: 0; 22 | cursor: pointer; 23 | display: inline-block; 24 | font-weight: _font(weight-bold); 25 | height: 2.85em; 26 | line-height: 2.95em; 27 | padding: 0 1.75em; 28 | text-align: center; 29 | text-decoration: none; 30 | white-space: nowrap; 31 | 32 | &.icon { 33 | padding-left: 1.35em; 34 | 35 | &:before { 36 | margin-right: 0.5em; 37 | } 38 | } 39 | 40 | &.fit { 41 | display: block; 42 | margin: 0 0 (_size(element-margin) * 0.5) 0; 43 | width: 100%; 44 | } 45 | 46 | &.small { 47 | font-size: 0.8em; 48 | } 49 | 50 | &.big { 51 | font-size: 1.35em; 52 | } 53 | 54 | &.disabled, 55 | &:disabled { 56 | @include vendor('pointer-events', 'none'); 57 | cursor: default; 58 | opacity: 0.25; 59 | } 60 | 61 | // XSmall. 62 | @include breakpoint(xsmall) { 63 | 64 | // Portrait. 65 | @include orientation(portrait) { 66 | padding: 0; 67 | } 68 | 69 | } 70 | 71 | } 72 | 73 | @mixin color-button($p: null) { 74 | input[type="submit"], 75 | input[type="reset"], 76 | input[type="button"], 77 | button, 78 | .button { 79 | background-color: transparent; 80 | color: _palette($p, fg-bold) !important; 81 | box-shadow: inset 0 0 0 (_size(border-width) * 2) _palette($p, border); 82 | 83 | &:hover { 84 | background-color: _palette($p, border-bg); 85 | } 86 | 87 | &:active { 88 | background-color: _palette($p, border2-bg); 89 | } 90 | 91 | &.special { 92 | box-shadow: none; 93 | 94 | @if _palette($p, invert) == true { 95 | background-color: _palette($p, fg-bold); 96 | color: _palette($p, bg) !important; 97 | 98 | &:hover { 99 | } 100 | 101 | &:active { 102 | } 103 | } 104 | @else { 105 | background-color: _palette(accent1, bg); 106 | color: _palette(accent1, fg-bold) !important; 107 | 108 | &:hover { 109 | background-color: lighten(_palette(accent1, bg), 5); 110 | } 111 | 112 | &:active { 113 | background-color: darken(_palette(accent1, bg), 5); 114 | } 115 | } 116 | } 117 | } 118 | } 119 | 120 | @include color-button; -------------------------------------------------------------------------------- /assets/sass/components/_form.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Form */ 12 | 13 | form { 14 | margin: 0 0 _size(element-margin) 0; 15 | } 16 | 17 | label { 18 | display: block; 19 | font-size: 0.9em; 20 | font-weight: _font(weight-bold); 21 | margin: 0 0 (_size(element-margin) * 0.5) 0; 22 | } 23 | 24 | input[type="text"], 25 | input[type="password"], 26 | input[type="email"], 27 | select, 28 | textarea { 29 | @include vendor('appearance', 'none'); 30 | border-radius: _size(border-radius); 31 | border: none; 32 | border-style: solid; 33 | border-width: _size(border-width); 34 | color: inherit; 35 | display: block; 36 | outline: 0; 37 | padding: 0 1em; 38 | text-decoration: none; 39 | width: 100%; 40 | 41 | &:invalid { 42 | box-shadow: none; 43 | } 44 | } 45 | 46 | .select-wrapper { 47 | @include icon; 48 | display: block; 49 | position: relative; 50 | 51 | &:before { 52 | content: '\f078'; 53 | display: block; 54 | height: _size(element-height); 55 | line-height: _size(element-height); 56 | pointer-events: none; 57 | position: absolute; 58 | right: 0; 59 | text-align: center; 60 | top: 0; 61 | width: _size(element-height); 62 | } 63 | 64 | select::-ms-expand { 65 | display: none; 66 | } 67 | } 68 | 69 | input[type="text"], 70 | input[type="password"], 71 | input[type="email"], 72 | select { 73 | height: _size(element-height); 74 | } 75 | 76 | textarea { 77 | padding: 0.75em 1em; 78 | } 79 | 80 | input[type="checkbox"], 81 | input[type="radio"], { 82 | @include vendor('appearance', 'none'); 83 | display: block; 84 | float: left; 85 | margin-right: -2em; 86 | opacity: 0; 87 | width: 1em; 88 | z-index: -1; 89 | 90 | & + label { 91 | @include icon; 92 | cursor: pointer; 93 | display: inline-block; 94 | font-size: 1em; 95 | font-weight: _font(weight); 96 | padding-left: (_size(element-height) * 0.6) + 0.75em; 97 | padding-right: 0.75em; 98 | position: relative; 99 | 100 | &:before { 101 | border-radius: _size(border-radius); 102 | border-style: solid; 103 | border-width: _size(border-width); 104 | content: ''; 105 | display: inline-block; 106 | height: (_size(element-height) * 0.6); 107 | left: 0; 108 | line-height: (_size(element-height) * 0.575); 109 | position: absolute; 110 | text-align: center; 111 | top: 0; 112 | width: (_size(element-height) * 0.6); 113 | } 114 | } 115 | 116 | &:checked + label { 117 | &:before { 118 | content: '\f00c'; 119 | } 120 | } 121 | } 122 | 123 | input[type="checkbox"] { 124 | & + label { 125 | &:before { 126 | border-radius: _size(border-radius); 127 | } 128 | } 129 | } 130 | 131 | input[type="radio"] { 132 | & + label { 133 | &:before { 134 | border-radius: 100%; 135 | } 136 | } 137 | } 138 | 139 | ::-webkit-input-placeholder { 140 | opacity: 1.0; 141 | } 142 | 143 | :-moz-placeholder { 144 | opacity: 1.0; 145 | } 146 | 147 | ::-moz-placeholder { 148 | opacity: 1.0; 149 | } 150 | 151 | :-ms-input-placeholder { 152 | opacity: 1.0; 153 | } 154 | 155 | .formerize-placeholder { 156 | opacity: 1.0; 157 | } 158 | 159 | @mixin color-form($p: null) { 160 | 161 | label { 162 | color: _palette($p, fg-bold); 163 | } 164 | 165 | input[type="text"], 166 | input[type="password"], 167 | input[type="email"], 168 | select, 169 | textarea { 170 | color: inherit; 171 | background-color: _palette($p, border-bg); 172 | border-color: _palette($p, border); 173 | 174 | &:focus { 175 | @if _palette($p, invert) == true { 176 | border-color: _palette($p, fg-bold); 177 | box-shadow: 0 0 0 _size(border-width) _palette($p, fg-bold); 178 | } 179 | @else { 180 | border-color: _palette(accent1, bg); 181 | box-shadow: 0 0 0 _size(border-width) _palette(accent1, bg); 182 | } 183 | } 184 | } 185 | 186 | .select-wrapper:before { 187 | color: _palette($p, border); 188 | } 189 | 190 | input[type="checkbox"], 191 | input[type="radio"], { 192 | 193 | & + label { 194 | color: _palette($p, fg); 195 | 196 | &:before { 197 | background-color: _palette($p, border-bg); 198 | border-color: _palette($p, border); 199 | } 200 | } 201 | 202 | &:checked + label { 203 | &:before { 204 | @if _palette($p, invert) == true { 205 | background-color: _palette($p, fg-bold); 206 | border-color: _palette($p, fg-bold); 207 | color: _palette($p, bg); 208 | } 209 | @else { 210 | background-color: _palette(accent1, bg); 211 | border-color: _palette(accent1, bg); 212 | color: _palette(accent1, fg-bold); 213 | } 214 | } 215 | } 216 | 217 | &:focus + label { 218 | &:before { 219 | @if _palette($p, invert) == true { 220 | border-color: _palette($p, fg-bold); 221 | box-shadow: 0 0 0 _size(border-width) _palette($p, fg-bold); 222 | } 223 | @else { 224 | border-color: _palette(accent1, bg); 225 | box-shadow: 0 0 0 _size(border-width) _palette(accent1, bg); 226 | } 227 | } 228 | } 229 | } 230 | 231 | ::-webkit-input-placeholder { 232 | color: _palette($p, fg-light) !important; 233 | } 234 | 235 | :-moz-placeholder { 236 | color: _palette($p, fg-light) !important; 237 | } 238 | 239 | ::-moz-placeholder { 240 | color: _palette($p, fg-light) !important; 241 | } 242 | 243 | :-ms-input-placeholder { 244 | color: _palette($p, fg-light) !important; 245 | } 246 | 247 | .formerize-placeholder { 248 | color: _palette($p, fg-light) !important; 249 | } 250 | } 251 | 252 | @include color-form; -------------------------------------------------------------------------------- /assets/sass/components/_icon.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Icon */ 12 | 13 | .icon { 14 | @include icon; 15 | border-bottom: none; 16 | position: relative; 17 | 18 | > .label { 19 | display: none; 20 | } 21 | } 22 | 23 | @mixin color-icon($p: null) { 24 | .icon { 25 | color: _palette($p, fg-light); 26 | } 27 | } 28 | 29 | @include color-icon; -------------------------------------------------------------------------------- /assets/sass/components/_image.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Image */ 12 | 13 | .image { 14 | border-radius: _size(border-radius); 15 | border: 0; 16 | display: inline-block; 17 | position: relative; 18 | overflow: hidden; 19 | 20 | img { 21 | border-radius: _size(border-radius); 22 | display: block; 23 | } 24 | 25 | &.left, 26 | &.right { 27 | max-width: 40%; 28 | 29 | img { 30 | width: 100%; 31 | } 32 | } 33 | 34 | &.left { 35 | float: left; 36 | margin: 0 1.5em 1em 0; 37 | top: 0.25em; 38 | } 39 | 40 | &.right { 41 | float: right; 42 | margin: 0 0 1em 1.5em; 43 | top: 0.25em; 44 | } 45 | 46 | &.fit { 47 | display: block; 48 | margin: 0 0 _size(element-margin) 0; 49 | width: 100%; 50 | 51 | img { 52 | width: 100%; 53 | } 54 | } 55 | 56 | &.main { 57 | display: block; 58 | margin: 0 0 (_size(element-margin) * 1.5) 0; 59 | width: 100%; 60 | 61 | img { 62 | width: 100%; 63 | } 64 | } 65 | 66 | &.phone { 67 | box-shadow: none; 68 | border-radius: 0; 69 | margin: 0 0 (_size(element-margin) * 1.5) 0; 70 | width: 13em; 71 | 72 | img { 73 | border-radius: 0; 74 | display: block; 75 | position: relative; 76 | width: 100%; 77 | } 78 | 79 | .inner, &:before, &:after { 80 | display: block; 81 | border: solid (_size(border-width) * 2) _palette(accent1, border); 82 | } 83 | 84 | .inner { 85 | position: relative; 86 | 87 | &:before, &:after { 88 | content: ''; 89 | position: absolute; 90 | left: 50%; 91 | } 92 | 93 | &:before { 94 | top: -1.375em; 95 | margin-left: -1em; 96 | width: 2em; 97 | height: 0.25em; 98 | border-radius: 0.5em; 99 | background: _palette(accent1, border); 100 | } 101 | 102 | &:after { 103 | bottom: -2.75em; 104 | margin-left: -1em; 105 | width: 2em; 106 | height: 2em; 107 | border-radius: 100%; 108 | border: solid (_size(border-width) * 2) _palette(accent1, border); 109 | } 110 | } 111 | 112 | &:before, &:after { 113 | content: ''; 114 | } 115 | 116 | &:before { 117 | height: 2.5em; 118 | border-radius: 1em 1em 0 0; 119 | border-bottom: 0; 120 | } 121 | 122 | &:after { 123 | height: 3.5em; 124 | border-radius: 0 0 1em 1em; 125 | border-top: 0; 126 | } 127 | } 128 | } 129 | 130 | @mixin color-image($p: null) { 131 | .image { 132 | box-shadow: 0 0 0 4px _palette($p, bg), 0 0 0 5px _palette($p, border); 133 | 134 | &.phone { 135 | box-shadow: none; 136 | 137 | .inner, &:before, &:after { 138 | border-color: _palette($p, border); 139 | } 140 | 141 | .inner { 142 | &:before { 143 | background: _palette($p, border); 144 | } 145 | 146 | &:after { 147 | border-color: _palette($p, border); 148 | } 149 | } 150 | } 151 | } 152 | } 153 | 154 | @include color-image; -------------------------------------------------------------------------------- /assets/sass/components/_list.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* List */ 12 | 13 | ol { 14 | list-style: decimal; 15 | margin: 0 0 _size(element-margin) 0; 16 | padding-left: 1.25em; 17 | 18 | li { 19 | padding-left: 0.25em; 20 | } 21 | } 22 | 23 | ul { 24 | list-style: disc; 25 | margin: 0 0 _size(element-margin) 0; 26 | padding-left: 1em; 27 | 28 | li { 29 | padding-left: 0.5em; 30 | } 31 | 32 | &.alt { 33 | list-style: none; 34 | padding-left: 0; 35 | 36 | li { 37 | border-top-style: solid; 38 | border-top-width: _size(border-width); 39 | padding: 0.5em 0; 40 | 41 | &:first-child { 42 | border-top: 0; 43 | padding-top: 0; 44 | } 45 | } 46 | } 47 | 48 | &.icons { 49 | cursor: default; 50 | list-style: none; 51 | padding-left: 0; 52 | 53 | li { 54 | display: inline-block; 55 | padding: 0 1.5em 0 0; 56 | 57 | &:last-child { 58 | padding-right: 0 !important; 59 | } 60 | 61 | .icon { 62 | &:before { 63 | font-size: 1.75rem; 64 | } 65 | } 66 | } 67 | 68 | &.major { 69 | li { 70 | padding: 0 2.5em 0 0; 71 | 72 | .icon { 73 | &:before { 74 | font-size: 2.75rem; 75 | } 76 | } 77 | } 78 | 79 | // Small. 80 | @include breakpoint(small) { 81 | li { 82 | padding: 0 1.25em 0 0; 83 | 84 | .icon { 85 | &:before { 86 | font-size: 1.75rem; 87 | } 88 | } 89 | } 90 | } 91 | 92 | } 93 | 94 | &.labeled { 95 | li { 96 | margin: 1em 0; 97 | padding: 0 2em 0 0; 98 | 99 | .icon { 100 | &:before { 101 | vertical-align: middle; 102 | font-size: 2.25rem; 103 | margin-right: 0.5em; 104 | } 105 | 106 | .label { 107 | display: inline-block; 108 | vertical-align: middle; 109 | color: _palette(fg); 110 | } 111 | } 112 | } 113 | 114 | // Small. 115 | @include breakpoint(small) { 116 | 117 | // Portrait. 118 | @include orientation(portrait) { 119 | text-align: left; 120 | margin-right: auto; 121 | margin-left: auto; 122 | display: inline-block; 123 | white-space: nowrap; 124 | 125 | li { 126 | display: block; 127 | padding: 0; 128 | margin: 1.5em 0 0 0; 129 | 130 | .icon { 131 | &:before { 132 | width: 1.5em; 133 | display: block; 134 | float: left; 135 | margin-right: 0; 136 | } 137 | 138 | &:after { 139 | content: ''; 140 | display: block; 141 | clear: both; 142 | } 143 | } 144 | 145 | &:first-child { 146 | margin-top: 0; 147 | } 148 | } 149 | } 150 | 151 | } 152 | 153 | } 154 | } 155 | 156 | &.actions { 157 | cursor: default; 158 | list-style: none; 159 | padding-left: 0; 160 | 161 | li { 162 | display: inline-block; 163 | padding: 0 (_size(element-margin) * 0.5) 0 0; 164 | vertical-align: middle; 165 | 166 | &:last-child { 167 | padding-right: 0; 168 | } 169 | } 170 | 171 | &.small { 172 | li { 173 | padding: 0 (_size(element-margin) * 0.25) 0 0; 174 | } 175 | } 176 | 177 | &.vertical { 178 | li { 179 | display: block; 180 | padding: (_size(element-margin) * 0.5) 0 0 0; 181 | 182 | &:first-child { 183 | padding-top: 0; 184 | } 185 | 186 | > * { 187 | margin-bottom: 0; 188 | } 189 | } 190 | 191 | &.small { 192 | li { 193 | padding: (_size(element-margin) * 0.25) 0 0 0; 194 | 195 | &:first-child { 196 | padding-top: 0; 197 | } 198 | } 199 | } 200 | } 201 | 202 | &.fit { 203 | display: table; 204 | margin-left: (_size(element-margin) * -0.5); 205 | padding: 0; 206 | table-layout: fixed; 207 | width: calc(100% + #{(_size(element-margin) * 0.5)}); 208 | 209 | li { 210 | display: table-cell; 211 | padding: 0 0 0 (_size(element-margin) * 0.5); 212 | 213 | > * { 214 | margin-bottom: 0; 215 | } 216 | } 217 | 218 | &.small { 219 | margin-left: (_size(element-margin) * -0.25); 220 | width: calc(100% + #{(_size(element-margin) * 0.25)}); 221 | 222 | li { 223 | padding: 0 0 0 (_size(element-margin) * 0.25); 224 | } 225 | } 226 | } 227 | 228 | // XSmall. 229 | @include breakpoint(xsmall) { 230 | 231 | // Portrait. 232 | @include orientation(portrait) { 233 | margin: 0 0 _size(element-margin) 0; 234 | 235 | li { 236 | padding: (_size(element-margin) * 0.5) 0 0 0; 237 | display: block; 238 | text-align: center; 239 | width: 100%; 240 | 241 | &:first-child { 242 | padding-top: 0; 243 | } 244 | 245 | > * { 246 | width: 100%; 247 | margin: 0 !important; 248 | 249 | &.icon { 250 | &:before { 251 | margin-left: -2em; 252 | } 253 | } 254 | } 255 | } 256 | 257 | &.small { 258 | li { 259 | padding: (_size(element-margin) * 0.25) 0 0 0; 260 | 261 | &:first-child { 262 | padding-top: 0; 263 | } 264 | } 265 | } 266 | } 267 | 268 | } 269 | 270 | } 271 | } 272 | 273 | dl { 274 | margin: 0 0 _size(element-margin) 0; 275 | 276 | dt { 277 | display: block; 278 | font-weight: _font(weight-bold); 279 | margin: 0 0 (_size(element-margin) * 0.5) 0; 280 | } 281 | 282 | dd { 283 | margin-left: _size(element-margin); 284 | } 285 | } 286 | 287 | @mixin color-list($p: null) { 288 | ul { 289 | &.alt { 290 | > li { 291 | border-top-color: _palette($p, border); 292 | } 293 | } 294 | } 295 | } 296 | 297 | @include color-list; -------------------------------------------------------------------------------- /assets/sass/components/_section.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Section/Article */ 12 | 13 | section, article { 14 | &.special { 15 | text-align: center; 16 | } 17 | } 18 | 19 | header { 20 | p { 21 | position: relative; 22 | margin: 0 0 (_size(element-margin) * 0.75) 0; 23 | 24 | // Small. 25 | @include breakpoint(small) { 26 | br { 27 | display: none; 28 | } 29 | } 30 | 31 | } 32 | 33 | h2 + p { 34 | font-size: 1.25em; 35 | margin-top: (_size(element-margin) * -0.25); 36 | line-height: 1.5em; 37 | } 38 | 39 | h3 + p { 40 | font-size: 1.1em; 41 | margin-top: (_size(element-margin) * -0.125); 42 | line-height: 1.5em; 43 | } 44 | 45 | h4 + p, 46 | h5 + p, 47 | h6 + p { 48 | font-size: 0.9em; 49 | margin-top: (_size(element-margin) * -0.3); 50 | line-height: 1.5em; 51 | } 52 | 53 | &.major { 54 | margin: 0 0 (_size(element-margin) * 1.25) 0; 55 | text-align: center; 56 | 57 | &:after { 58 | content: ''; 59 | border-bottom: solid (_size(border-width) * 2) _palette(border); 60 | display: block; 61 | width: 4em; 62 | margin: _size(element-margin) auto 0 auto; 63 | } 64 | 65 | // Small. 66 | @include breakpoint(small) { 67 | margin: 0 0 _size(element-margin) 0; 68 | 69 | p { 70 | font-size: 1em; 71 | } 72 | } 73 | 74 | } 75 | } -------------------------------------------------------------------------------- /assets/sass/components/_spotlight.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Spotlight */ 12 | 13 | .spotlight { 14 | @include vendor('display', 'flex'); 15 | @include vendor('align-items', 'center'); 16 | margin: 0 0 _size(element-margin) 0; 17 | 18 | .image { 19 | width: 30%; 20 | border-radius: 100%; 21 | margin: 0 (_size(element-margin) * 1.5) 0 0; 22 | display: block; 23 | 24 | img { 25 | display: block; 26 | border-radius: 100%; 27 | width: 100%; 28 | } 29 | } 30 | 31 | .content { 32 | width: 70%; 33 | 34 | > :last-child { 35 | margin-bottom: 0; 36 | } 37 | } 38 | 39 | &:nth-child(2n) { 40 | @include vendor('flex-direction', 'row-reverse'); 41 | 42 | .image { 43 | margin: 0 0 0 (_size(element-margin) * 1.5); 44 | } 45 | 46 | .content { 47 | text-align: right; 48 | } 49 | } 50 | 51 | // Small. 52 | @include breakpoint(small) { 53 | 54 | // Landscape. 55 | @include orientation(landscape) { 56 | .image { 57 | margin: 0 _size(element-margin) 0 0; 58 | } 59 | 60 | &:nth-child(2n) { 61 | .image { 62 | margin: 0 0 0 _size(element-margin); 63 | } 64 | } 65 | } 66 | 67 | // Portrait. 68 | @include orientation(portrait) { 69 | @include vendor('flex-direction', 'column !important'); 70 | 71 | .image { 72 | width: 100%; 73 | max-width: 60%; 74 | margin: 0 0 _size(element-margin) 0 !important; 75 | } 76 | 77 | .content { 78 | width: 100%; 79 | text-align: center !important; 80 | } 81 | } 82 | 83 | } 84 | 85 | } -------------------------------------------------------------------------------- /assets/sass/components/_table.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Table */ 12 | 13 | .table-wrapper { 14 | -webkit-overflow-scrolling: touch; 15 | overflow-x: auto; 16 | } 17 | 18 | table { 19 | margin: 0 0 _size(element-margin) 0; 20 | width: 100%; 21 | 22 | tbody { 23 | tr { 24 | border-style: solid; 25 | border-width: _size(border-width); 26 | border-left: 0; 27 | border-right: 0; 28 | } 29 | } 30 | 31 | td { 32 | padding: 0.75em 0.75em; 33 | } 34 | 35 | th { 36 | font-size: 0.9em; 37 | font-weight: _font(weight-bold); 38 | padding: 0 0.75em 0.75em 0.75em; 39 | text-align: left; 40 | } 41 | 42 | thead { 43 | border-bottom-style: solid; 44 | border-bottom-width: (_size(border-width) * 2); 45 | } 46 | 47 | tfoot { 48 | border-top-style: solid; 49 | border-top-width: (_size(border-width) * 2); 50 | } 51 | 52 | &.alt { 53 | border-collapse: separate; 54 | 55 | tbody { 56 | tr { 57 | td { 58 | border-style: solid; 59 | border-width: _size(border-width); 60 | border-left-width: 0; 61 | border-top-width: 0; 62 | 63 | &:first-child { 64 | border-left-width: _size(border-width); 65 | } 66 | } 67 | 68 | &:first-child { 69 | td { 70 | border-top-width: _size(border-width); 71 | } 72 | } 73 | } 74 | } 75 | 76 | thead { 77 | border-bottom: 0; 78 | } 79 | 80 | tfoot { 81 | border-top: 0; 82 | } 83 | } 84 | } 85 | 86 | @mixin color-table($p: null) { 87 | table { 88 | 89 | tbody { 90 | tr { 91 | border-color: _palette($p, border); 92 | 93 | &:nth-child(2n + 1) { 94 | background-color: _palette($p, border-bg); 95 | } 96 | } 97 | } 98 | 99 | th { 100 | color: _palette($p, fg-bold); 101 | } 102 | 103 | thead { 104 | border-bottom-color: _palette($p, border); 105 | } 106 | 107 | tfoot { 108 | border-top-color: _palette($p, border); 109 | } 110 | 111 | &.alt { 112 | 113 | tbody { 114 | tr { 115 | td { 116 | border-color: _palette($p, border); 117 | } 118 | } 119 | } 120 | } 121 | } 122 | } 123 | 124 | @include color-table; -------------------------------------------------------------------------------- /assets/sass/components/_wrapper.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Wrapper */ 12 | 13 | .wrapper { 14 | @include padding(4.5em, 0); 15 | background-color: _palette(bg); 16 | border-bottom: solid (_size(border-width) * 2) lighten(_palette(border), 3); 17 | 18 | > .inner { 19 | margin-left: auto; 20 | margin-right: auto; 21 | width: 50em; 22 | 23 | &.alt { 24 | > * { 25 | border-top: solid (_size(border-width) * 2) lighten(_palette(border), 3); 26 | margin-bottom: 0; 27 | margin-top: 3em; 28 | padding-top: 3em; 29 | 30 | &:first-child { 31 | border-top: 0; 32 | margin-top: 0; 33 | padding-top: 0; 34 | } 35 | } 36 | } 37 | } 38 | 39 | &.style1 { 40 | @include color(accent1); 41 | } 42 | 43 | &.style2 { 44 | @include color(accent2); 45 | } 46 | 47 | &.style3 { 48 | @include color(accent3); 49 | } 50 | 51 | // Medium. 52 | @include breakpoint(medium) { 53 | @include padding(4em, 4em); 54 | 55 | > .inner { 56 | width: 100%; 57 | } 58 | } 59 | 60 | // Small. 61 | @include breakpoint(small) { 62 | 63 | // Landscape. 64 | @include orientation(landscape) { 65 | @include padding(3em, 3em); 66 | } 67 | 68 | // Portrait. 69 | @include orientation(portrait) { 70 | @include padding(3em, 1.5em); 71 | } 72 | 73 | } 74 | 75 | // XSmall. 76 | @include breakpoint(xsmall) { 77 | 78 | // Landscape. 79 | @include orientation(landscape) { 80 | @include padding(2em, 1.5em); 81 | } 82 | 83 | // Portrait. 84 | @include orientation(portrait) { 85 | @include padding(2em, 1em); 86 | } 87 | 88 | } 89 | 90 | } -------------------------------------------------------------------------------- /assets/sass/ie8.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/skel'; 5 | 6 | /* 7 | Fractal by HTML5 UP 8 | html5up.net | @ajlkn 9 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 10 | */ 11 | 12 | /* Button */ 13 | 14 | input[type="submit"], 15 | input[type="reset"], 16 | input[type="button"], 17 | button, 18 | .button { 19 | position: relative; 20 | -ms-behavior: url('assets/js/ie/PIE.htc'); 21 | border: solid (_size(border-width) * 2) _palette(border) !important; 22 | 23 | &:hover { 24 | border: solid (_size(border-width) * 2) _palette(border) !important; 25 | } 26 | 27 | &.special { 28 | border: none !important; 29 | 30 | &:hover { 31 | border: none !important; 32 | } 33 | } 34 | } 35 | 36 | /* Image */ 37 | 38 | .image { 39 | -ms-behavior: url('assets/js/ie/PIE.htc'); 40 | 41 | img { 42 | position: relative; 43 | -ms-behavior: url('assets/js/ie/PIE.htc'); 44 | } 45 | 46 | &.phone { 47 | &:before, &:after { 48 | display: none; 49 | } 50 | 51 | .inner { 52 | &:before, &:after { 53 | display: none; 54 | } 55 | } 56 | } 57 | } 58 | 59 | /* List */ 60 | 61 | ul { 62 | &.icons { 63 | li { 64 | padding: 0 0 0 1.5em; 65 | 66 | &:first-child { 67 | padding-left: 0 !important; 68 | } 69 | 70 | .icon { 71 | &:before { 72 | font-size: 24px; 73 | } 74 | } 75 | } 76 | 77 | &.major { 78 | li { 79 | padding: 0 0 0 2.5em; 80 | 81 | .icon { 82 | &:before { 83 | font-size: 48px; 84 | } 85 | } 86 | } 87 | } 88 | } 89 | } 90 | 91 | /* Header */ 92 | 93 | #header { 94 | min-height: 0; 95 | 96 | .image { 97 | margin: 0 0 (_size(element-margin)) 0; 98 | } 99 | } -------------------------------------------------------------------------------- /assets/sass/ie9.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/skel'; 5 | 6 | /* 7 | Fractal by HTML5 UP 8 | html5up.net | @ajlkn 9 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 10 | */ 11 | 12 | /* Spotlight */ 13 | 14 | .spotlight { 15 | .image { 16 | width: 25%; 17 | display: inline-block; 18 | vertical-align: middle; 19 | } 20 | 21 | .content { 22 | width: 65%; 23 | display: inline-block; 24 | vertical-align: middle; 25 | } 26 | 27 | &:after { 28 | content: ''; 29 | display: block; 30 | clear: both; 31 | } 32 | 33 | &:nth-child(2n) { 34 | .image { 35 | margin: 0 (_size(element-margin) * 1.5) 0 0; 36 | } 37 | 38 | .content { 39 | text-align: left; 40 | } 41 | } 42 | } 43 | 44 | /* Header */ 45 | 46 | #header { 47 | height: auto; 48 | text-align: center; 49 | 50 | .content { 51 | display: inline-block; 52 | vertical-align: middle; 53 | } 54 | 55 | .image { 56 | display: inline-block; 57 | vertical-align: middle; 58 | } 59 | } -------------------------------------------------------------------------------- /assets/sass/layout/_footer.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Footer */ 12 | 13 | #footer { 14 | @include color-typography(accent3); 15 | @include padding(4.5em, 0); 16 | color: _palette(accent3, fg-light); 17 | text-align: center; 18 | 19 | a { 20 | color: inherit; 21 | } 22 | 23 | .copyright { 24 | font-size: 0.8em; 25 | } 26 | 27 | // Medium. 28 | @include breakpoint(medium) { 29 | @include padding(4em, 4em); 30 | } 31 | 32 | // Small. 33 | @include breakpoint(small) { 34 | 35 | // Landscape. 36 | @include orientation(landscape) { 37 | @include padding(3em, 3em); 38 | } 39 | 40 | // Portrait. 41 | @include orientation(portrait) { 42 | @include padding(3em, 1.5em); 43 | } 44 | 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /assets/sass/layout/_header.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Header */ 12 | 13 | #header { 14 | @include color(accent1); 15 | @include padding(4.5em, 0); 16 | @include vendor('align-items', 'center'); 17 | @include vendor('display', 'flex'); 18 | @include vendor('justify-content', 'center'); 19 | background-image: url('images/overlay.png'), url('images/pattern-size1.svg'); 20 | background-position: top left, center center; 21 | background-attachment: fixed, fixed; 22 | background-size: auto, cover; 23 | height: 100vh; 24 | min-height: 35em; 25 | 26 | h1 { 27 | font-size: 3.25em; 28 | font-weight: _font(weight-bold); 29 | margin-bottom: _size(element-margin) * 0.25; 30 | } 31 | 32 | p { 33 | font-size: 1.5em; 34 | line-height: 1.35em; 35 | 36 | br { 37 | display: inline; 38 | } 39 | } 40 | 41 | .content { 42 | @include vendor('transition', ('opacity 0.5s ease', 'transform 1s ease')); 43 | @include vendor('transform', 'translateX(0)'); 44 | opacity: 1; 45 | text-align: right; 46 | margin: (_size(element-margin) * -1.75) (_size(element-margin) * 2) 0 0; 47 | 48 | > :last-child { 49 | margin-bottom: 0; 50 | } 51 | } 52 | 53 | .image { 54 | @include vendor('transition', ('opacity 1s ease', 'transform 1s ease')); 55 | @include vendor('transform', 'translateY(0)'); 56 | opacity: 1; 57 | 58 | img { 59 | @include vendor('transition', 'opacity 0.75s ease'); 60 | @include vendor('transition-delay', '0.75s'); 61 | opacity: 1; 62 | } 63 | } 64 | 65 | // Large. 66 | @include breakpoint(large) { 67 | background-image: url('images/overlay.png'), url('images/pattern-size2.svg'); 68 | } 69 | 70 | // Medium. 71 | @include breakpoint(medium) { 72 | height: auto; 73 | min-height: 0; 74 | 75 | .content { 76 | margin: (_size(element-margin) * -1) (_size(element-margin) * 2) 0 0; 77 | } 78 | 79 | // Portrait. 80 | @include orientation(portrait) { 81 | @include padding(6em, 3em); 82 | @include vendor('flex-direction', 'column-reverse'); 83 | 84 | .content { 85 | display: block; 86 | width: 100%; 87 | text-align: center; 88 | margin: 0 0 _size(element-margin) 0; 89 | } 90 | 91 | .image { 92 | overflow: hidden; 93 | } 94 | } 95 | 96 | } 97 | 98 | // Small. 99 | @include breakpoint(small) { 100 | background-image: url('images/overlay.png'), url('images/pattern-size3.svg'); 101 | 102 | h1 { 103 | font-size: 2em; 104 | } 105 | 106 | p { 107 | font-size: 1em; 108 | line-height: inherit; 109 | } 110 | 111 | // Landscape. 112 | @include orientation(landscape) { 113 | @include padding(2em, 2em); 114 | 115 | .content { 116 | margin: 0 _size(element-margin) _size(element-margin) 0; 117 | } 118 | 119 | .image { 120 | font-size: 0.8em; 121 | width: 15em; 122 | max-width: 20vw; 123 | 124 | .inner, &:before, &:after { 125 | font-size: 0.8em; 126 | } 127 | } 128 | } 129 | 130 | // Portrait. 131 | @include orientation(portrait) { 132 | @include padding(3em, 1.5em); 133 | 134 | .image { 135 | font-size: 0.6em; 136 | max-width: 60vw; 137 | } 138 | } 139 | 140 | } 141 | 142 | // XSmall. 143 | @include breakpoint(xsmall) { 144 | 145 | // Landscape. 146 | @include orientation(landscape) { 147 | @include padding(2em, 1.5em); 148 | 149 | .image { 150 | font-size: 0.7em; 151 | } 152 | 153 | .actions { 154 | font-size: 0.8em; 155 | } 156 | } 157 | 158 | // Portrait. 159 | @include orientation(portrait) { 160 | @include padding(2em, 1em); 161 | } 162 | 163 | } 164 | 165 | // Mobile. 166 | body.is-mobile & { 167 | background-attachment: scroll, scroll; 168 | } 169 | 170 | // Loading. 171 | body.is-loading & { 172 | .content { 173 | @include vendor('transform', 'translateX(2em)'); 174 | opacity: 0; 175 | } 176 | 177 | .image { 178 | @include vendor('transform', 'translateY(4em)'); 179 | opacity: 0; 180 | 181 | img { 182 | opacity: 0; 183 | } 184 | } 185 | 186 | // Medium. 187 | @include breakpoint(medium) { 188 | 189 | // Portrait. 190 | @include orientation(portrait) { 191 | .content { 192 | @include vendor('transform', 'none'); 193 | opacity: 1; 194 | } 195 | 196 | .image { 197 | @include vendor('transform', 'translateY(2em)'); 198 | } 199 | } 200 | 201 | } 202 | 203 | } 204 | 205 | } -------------------------------------------------------------------------------- /assets/sass/layout/_main.scss: -------------------------------------------------------------------------------- 1 | @import '../libs/vars'; 2 | @import '../libs/functions'; 3 | @import '../libs/mixins'; 4 | 5 | /// 6 | /// Fractal by HTML5 UP 7 | /// html5up.net | @ajlkn 8 | /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 9 | /// 10 | 11 | /* Main */ 12 | 13 | #main { 14 | @include padding(4em, 0); 15 | 16 | // Small. 17 | @include breakpoint(small) { 18 | @include padding(3em, 0); 19 | } 20 | 21 | } -------------------------------------------------------------------------------- /assets/sass/libs/_functions.scss: -------------------------------------------------------------------------------- 1 | /// Gets a duration value. 2 | /// @param {string} $keys Key(s). 3 | /// @return {string} Value. 4 | @function _duration($keys...) { 5 | @return val($duration, $keys...); 6 | } 7 | 8 | /// Gets a font value. 9 | /// @param {string} $keys Key(s). 10 | /// @return {string} Value. 11 | @function _font($keys...) { 12 | @return val($font, $keys...); 13 | } 14 | 15 | /// Gets a misc value. 16 | /// @param {string} $keys Key(s). 17 | /// @return {string} Value. 18 | @function _misc($keys...) { 19 | @return val($misc, $keys...); 20 | } 21 | 22 | /// Gets a palette value. 23 | /// @param {string} $keys Key(s). 24 | /// @return {string} Value. 25 | @function _palette($keys...) { 26 | @return val($palette, $keys...); 27 | } 28 | 29 | /// Gets a size value. 30 | /// @param {string} $keys Key(s). 31 | /// @return {string} Value. 32 | @function _size($keys...) { 33 | @return val($size, $keys...); 34 | } -------------------------------------------------------------------------------- /assets/sass/libs/_mixins.scss: -------------------------------------------------------------------------------- 1 | /// Makes an element's :before pseudoelement a FontAwesome icon. 2 | /// @param {string} $content Optional content value to use. 3 | /// @param {string} $where Optional pseudoelement to target (before or after). 4 | @mixin icon($content: false, $where: before) { 5 | 6 | text-decoration: none; 7 | 8 | &:#{$where} { 9 | 10 | @if $content { 11 | content: $content; 12 | } 13 | 14 | -moz-osx-font-smoothing: grayscale; 15 | -webkit-font-smoothing: antialiased; 16 | font-family: FontAwesome; 17 | font-style: normal; 18 | font-weight: normal; 19 | text-transform: none !important; 20 | 21 | } 22 | 23 | } 24 | 25 | /// Applies padding to an element, taking the current element-margin value into account. 26 | /// @param {mixed} $tb Top/bottom padding. 27 | /// @param {mixed} $lr Left/right padding. 28 | /// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) 29 | /// @param {bool} $important If true, adds !important. 30 | @mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { 31 | 32 | @if $important { 33 | $important: '!important'; 34 | } 35 | 36 | $x: 0.1em; 37 | 38 | @if unit(_size(element-margin)) == 'rem' { 39 | $x: 0.1rem; 40 | } 41 | 42 | padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; 43 | 44 | } 45 | 46 | /// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp). 47 | /// @param {string} $svg SVG data URL. 48 | /// @return {string} Encoded SVG data URL. 49 | @function svg-url($svg) { 50 | 51 | $svg: str-replace($svg, '"', '\''); 52 | $svg: str-replace($svg, '%', '%25'); 53 | $svg: str-replace($svg, '<', '%3C'); 54 | $svg: str-replace($svg, '>', '%3E'); 55 | $svg: str-replace($svg, '&', '%26'); 56 | $svg: str-replace($svg, '#', '%23'); 57 | $svg: str-replace($svg, '{', '%7B'); 58 | $svg: str-replace($svg, '}', '%7D'); 59 | $svg: str-replace($svg, ';', '%3B'); 60 | 61 | @return url("data:image/svg+xml;charset=utf8,#{$svg}"); 62 | 63 | } 64 | 65 | /// Initializes base flexgrid classes. 66 | /// @param {string} $vertical-align Vertical alignment of cells. 67 | /// @param {string} $horizontal-align Horizontal alignment of cells. 68 | @mixin flexgrid-base($vertical-align: null, $horizontal-align: null) { 69 | 70 | // Grid. 71 | @include vendor('display', 'flex'); 72 | @include vendor('flex-wrap', 'wrap'); 73 | 74 | // Vertical alignment. 75 | @if ($vertical-align == top) { 76 | @include vendor('align-items', 'flex-start'); 77 | } 78 | @else if ($vertical-align == bottom) { 79 | @include vendor('align-items', 'flex-end'); 80 | } 81 | @else if ($vertical-align == center) { 82 | @include vendor('align-items', 'center'); 83 | } 84 | @else { 85 | @include vendor('align-items', 'stretch'); 86 | } 87 | 88 | // Horizontal alignment. 89 | @if ($horizontal-align != null) { 90 | text-align: $horizontal-align; 91 | } 92 | 93 | // Cells. 94 | > * { 95 | @include vendor('flex-shrink', '1'); 96 | @include vendor('flex-grow', '0'); 97 | } 98 | 99 | } 100 | 101 | /// Sets up flexgrid columns. 102 | /// @param {integer} $columns Columns. 103 | @mixin flexgrid-columns($columns) { 104 | 105 | > * { 106 | $cell-width: 100% / $columns; 107 | width: #{$cell-width}; 108 | } 109 | 110 | } 111 | 112 | /// Sets up flexgrid gutters. 113 | /// @param {integer} $columns Columns. 114 | /// @param {number} $gutters Gutters. 115 | @mixin flexgrid-gutters($columns, $gutters) { 116 | 117 | // Apply padding. 118 | > * { 119 | $cell-width: 100% / $columns; 120 | 121 | padding: ($gutters * 0.5); 122 | width: $cell-width; 123 | } 124 | 125 | } 126 | 127 | /// Sets up flexgrid gutters (flush). 128 | /// @param {integer} $columns Columns. 129 | /// @param {number} $gutters Gutters. 130 | @mixin flexgrid-gutters-flush($columns, $gutters) { 131 | 132 | // Apply padding. 133 | > * { 134 | $cell-width: 100% / $columns; 135 | $cell-width-pad: $gutters / $columns; 136 | 137 | padding: ($gutters * 0.5); 138 | width: calc(#{$cell-width} + #{$cell-width-pad}); 139 | } 140 | 141 | // Clear top/bottom gutters. 142 | > :nth-child(-n + #{$columns}) { 143 | padding-top: 0; 144 | } 145 | 146 | > :nth-last-child(-n + #{$columns}) { 147 | padding-bottom: 0; 148 | } 149 | 150 | // Clear left/right gutters. 151 | > :nth-child(#{$columns}n + 1) { 152 | padding-left: 0; 153 | } 154 | 155 | > :nth-child(#{$columns}n) { 156 | padding-right: 0; 157 | } 158 | 159 | // Adjust widths of leftmost and rightmost cells. 160 | > :nth-child(#{$columns}n + 1), 161 | > :nth-child(#{$columns}n) { 162 | $cell-width: 100% / $columns; 163 | $cell-width-pad: ($gutters / $columns) - ($gutters / 2); 164 | 165 | width: calc(#{$cell-width} + #{$cell-width-pad}); 166 | } 167 | 168 | } 169 | 170 | /// Reset flexgrid gutters (flush only). 171 | /// Used to override a previous set of flexgrid gutter classes. 172 | /// @param {integer} $columns Columns. 173 | /// @param {number} $gutters Gutters. 174 | /// @param {integer} $prev-columns Previous columns. 175 | @mixin flexgrid-gutters-flush-reset($columns, $gutters, $prev-columns) { 176 | 177 | // Apply padding. 178 | > * { 179 | $cell-width: 100% / $prev-columns; 180 | $cell-width-pad: $gutters / $prev-columns; 181 | 182 | padding: ($gutters * 0.5); 183 | width: calc(#{$cell-width} + #{$cell-width-pad}); 184 | } 185 | 186 | // Clear top/bottom gutters. 187 | > :nth-child(-n + #{$prev-columns}) { 188 | padding-top: ($gutters * 0.5); 189 | } 190 | 191 | > :nth-last-child(-n + #{$prev-columns}) { 192 | padding-bottom: ($gutters * 0.5); 193 | } 194 | 195 | // Clear left/right gutters. 196 | > :nth-child(#{$prev-columns}n + 1) { 197 | padding-left: ($gutters * 0.5); 198 | } 199 | 200 | > :nth-child(#{$prev-columns}n) { 201 | padding-right: ($gutters * 0.5); 202 | } 203 | 204 | // Adjust widths of leftmost and rightmost cells. 205 | > :nth-child(#{$prev-columns}n + 1), 206 | > :nth-child(#{$prev-columns}n) { 207 | $cell-width: 100% / $columns; 208 | $cell-width-pad: $gutters / $columns; 209 | 210 | padding: ($gutters * 0.5); 211 | width: calc(#{$cell-width} + #{$cell-width-pad}); 212 | } 213 | 214 | } 215 | 216 | /// Adds debug styles to current flexgrid element. 217 | @mixin flexgrid-debug() { 218 | 219 | box-shadow: 0 0 0 1px red; 220 | 221 | > * { 222 | box-shadow: inset 0 0 0 1px blue; 223 | position: relative; 224 | 225 | > * { 226 | position: relative; 227 | box-shadow: inset 0 0 0 1px green; 228 | } 229 | } 230 | 231 | } 232 | 233 | /// Initializes the current element as a flexgrid. 234 | /// @param {integer} $columns Columns (optional). 235 | /// @param {number} $gutters Gutters (optional). 236 | /// @param {bool} $flush If true, clears padding around the very edge of the grid. 237 | @mixin flexgrid($settings: ()) { 238 | 239 | // Settings. 240 | 241 | // Debug. 242 | $debug: false; 243 | 244 | @if (map-has-key($settings, 'debug')) { 245 | $debug: map-get($settings, 'debug'); 246 | } 247 | 248 | // Vertical align. 249 | $vertical-align: null; 250 | 251 | @if (map-has-key($settings, 'vertical-align')) { 252 | $vertical-align: map-get($settings, 'vertical-align'); 253 | } 254 | 255 | // Horizontal align. 256 | $horizontal-align: null; 257 | 258 | @if (map-has-key($settings, 'horizontal-align')) { 259 | $horizontal-align: map-get($settings, 'horizontal-align'); 260 | } 261 | 262 | // Columns. 263 | $columns: null; 264 | 265 | @if (map-has-key($settings, 'columns')) { 266 | $columns: map-get($settings, 'columns'); 267 | } 268 | 269 | // Gutters. 270 | $gutters: 0; 271 | 272 | @if (map-has-key($settings, 'gutters')) { 273 | $gutters: map-get($settings, 'gutters'); 274 | } 275 | 276 | // Flush. 277 | $flush: true; 278 | 279 | @if (map-has-key($settings, 'flush')) { 280 | $flush: map-get($settings, 'flush'); 281 | } 282 | 283 | // Initialize base grid. 284 | @include flexgrid-base($vertical-align, $horizontal-align); 285 | 286 | // Debug? 287 | @if ($debug) { 288 | @include flexgrid-debug; 289 | } 290 | 291 | // Columns specified? 292 | @if ($columns != null) { 293 | 294 | // Initialize columns. 295 | @include flexgrid-columns($columns); 296 | 297 | // Gutters specified? 298 | @if ($gutters > 0) { 299 | 300 | // Flush gutters? 301 | @if ($flush) { 302 | 303 | // Initialize gutters (flush). 304 | @include flexgrid-gutters-flush($columns, $gutters); 305 | 306 | } 307 | 308 | // Otherwise ... 309 | @else { 310 | 311 | // Initialize gutters. 312 | @include flexgrid-gutters($columns, $gutters); 313 | 314 | } 315 | 316 | } 317 | 318 | } 319 | 320 | } 321 | 322 | /// Resizes a previously-initialized grid. 323 | /// @param {integer} $columns Columns. 324 | /// @param {number} $gutters Gutters (optional). 325 | /// @param {list} $reset A list of previously-initialized grid columns (only if $flush is true). 326 | /// @param {bool} $flush If true, clears padding around the very edge of the grid. 327 | @mixin flexgrid-resize($settings: ()) { 328 | 329 | // Settings. 330 | 331 | // Columns. 332 | $columns: 1; 333 | 334 | @if (map-has-key($settings, 'columns')) { 335 | $columns: map-get($settings, 'columns'); 336 | } 337 | 338 | // Gutters. 339 | $gutters: 0; 340 | 341 | @if (map-has-key($settings, 'gutters')) { 342 | $gutters: map-get($settings, 'gutters'); 343 | } 344 | 345 | // Previous columns. 346 | $prev-columns: false; 347 | 348 | @if (map-has-key($settings, 'prev-columns')) { 349 | $prev-columns: map-get($settings, 'prev-columns'); 350 | } 351 | 352 | // Flush. 353 | $flush: true; 354 | 355 | @if (map-has-key($settings, 'flush')) { 356 | $flush: map-get($settings, 'flush'); 357 | } 358 | 359 | // Resize columns. 360 | @include flexgrid-columns($columns); 361 | 362 | // Gutters specified? 363 | @if ($gutters > 0) { 364 | 365 | // Flush gutters? 366 | @if ($flush) { 367 | 368 | // Previous columns specified? 369 | @if ($prev-columns) { 370 | 371 | // Convert to list if it isn't one already. 372 | @if (type-of($prev-columns) != list) { 373 | $prev-columns: ($prev-columns); 374 | } 375 | 376 | // Step through list of previous columns and reset them. 377 | @each $x in $prev-columns { 378 | @include flexgrid-gutters-flush-reset($columns, $gutters, $x); 379 | } 380 | 381 | } 382 | 383 | // Resize gutters (flush). 384 | @include flexgrid-gutters-flush($columns, $gutters); 385 | 386 | } 387 | 388 | // Otherwise ... 389 | @else { 390 | 391 | // Resize gutters. 392 | @include flexgrid-gutters($columns, $gutters); 393 | 394 | } 395 | 396 | } 397 | 398 | } -------------------------------------------------------------------------------- /assets/sass/libs/_skel.scss: -------------------------------------------------------------------------------- 1 | // skel.scss v3.0.2-dev | (c) skel.io | MIT licensed */ 2 | 3 | // Vars. 4 | 5 | /// Breakpoints. 6 | /// @var {list} 7 | $breakpoints: () !global; 8 | 9 | /// Vendor prefixes. 10 | /// @var {list} 11 | $vendor-prefixes: ( 12 | '-moz-', 13 | '-webkit-', 14 | '-ms-', 15 | '' 16 | ); 17 | 18 | /// Properties that should be vendorized. 19 | /// @var {list} 20 | $vendor-properties: ( 21 | 'align-content', 22 | 'align-items', 23 | 'align-self', 24 | 'animation', 25 | 'animation-delay', 26 | 'animation-direction', 27 | 'animation-duration', 28 | 'animation-fill-mode', 29 | 'animation-iteration-count', 30 | 'animation-name', 31 | 'animation-play-state', 32 | 'animation-timing-function', 33 | 'appearance', 34 | 'backface-visibility', 35 | 'box-sizing', 36 | 'filter', 37 | 'flex', 38 | 'flex-basis', 39 | 'flex-direction', 40 | 'flex-flow', 41 | 'flex-grow', 42 | 'flex-shrink', 43 | 'flex-wrap', 44 | 'justify-content', 45 | 'object-fit', 46 | 'object-position', 47 | 'order', 48 | 'perspective', 49 | 'pointer-events', 50 | 'transform', 51 | 'transform-origin', 52 | 'transform-style', 53 | 'transition', 54 | 'transition-delay', 55 | 'transition-duration', 56 | 'transition-property', 57 | 'transition-timing-function', 58 | 'user-select' 59 | ); 60 | 61 | /// Values that should be vendorized. 62 | /// @var {list} 63 | $vendor-values: ( 64 | 'filter', 65 | 'flex', 66 | 'linear-gradient', 67 | 'radial-gradient', 68 | 'transform' 69 | ); 70 | 71 | // Functions. 72 | 73 | /// Removes a specific item from a list. 74 | /// @author Hugo Giraudel 75 | /// @param {list} $list List. 76 | /// @param {integer} $index Index. 77 | /// @return {list} Updated list. 78 | @function remove-nth($list, $index) { 79 | 80 | $result: null; 81 | 82 | @if type-of($index) != number { 83 | @warn "$index: #{quote($index)} is not a number for `remove-nth`."; 84 | } 85 | @else if $index == 0 { 86 | @warn "List index 0 must be a non-zero integer for `remove-nth`."; 87 | } 88 | @else if abs($index) > length($list) { 89 | @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; 90 | } 91 | @else { 92 | 93 | $result: (); 94 | $index: if($index < 0, length($list) + $index + 1, $index); 95 | 96 | @for $i from 1 through length($list) { 97 | 98 | @if $i != $index { 99 | $result: append($result, nth($list, $i)); 100 | } 101 | 102 | } 103 | 104 | } 105 | 106 | @return $result; 107 | 108 | } 109 | 110 | /// Replaces a substring within another string. 111 | /// @author Hugo Giraudel 112 | /// @param {string} $string String. 113 | /// @param {string} $search Substring. 114 | /// @param {string} $replace Replacement. 115 | /// @return {string} Updated string. 116 | @function str-replace($string, $search, $replace: '') { 117 | 118 | $index: str-index($string, $search); 119 | 120 | @if $index { 121 | @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); 122 | } 123 | 124 | @return $string; 125 | 126 | } 127 | 128 | /// Replaces a substring within each string in a list. 129 | /// @param {list} $strings List of strings. 130 | /// @param {string} $search Substring. 131 | /// @param {string} $replace Replacement. 132 | /// @return {list} Updated list of strings. 133 | @function str-replace-all($strings, $search, $replace: '') { 134 | 135 | @each $string in $strings { 136 | $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); 137 | } 138 | 139 | @return $strings; 140 | 141 | } 142 | 143 | /// Gets a value from a map. 144 | /// @author Hugo Giraudel 145 | /// @param {map} $map Map. 146 | /// @param {string} $keys Key(s). 147 | /// @return {string} Value. 148 | @function val($map, $keys...) { 149 | 150 | @if nth($keys, 1) == null { 151 | $keys: remove-nth($keys, 1); 152 | } 153 | 154 | @each $key in $keys { 155 | $map: map-get($map, $key); 156 | } 157 | 158 | @return $map; 159 | 160 | } 161 | 162 | // Mixins. 163 | 164 | /// Sets the global box model. 165 | /// @param {string} $model Model (default is content). 166 | @mixin boxModel($model: 'content') { 167 | 168 | $x: $model + '-box'; 169 | 170 | *, *:before, *:after { 171 | -moz-box-sizing: #{$x}; 172 | -webkit-box-sizing: #{$x}; 173 | box-sizing: #{$x}; 174 | } 175 | 176 | } 177 | 178 | /// Wraps @content in a @media block using a given breakpoint. 179 | /// @param {string} $breakpoint Breakpoint. 180 | /// @param {map} $queries Additional queries. 181 | @mixin breakpoint($breakpoint: null, $queries: null) { 182 | 183 | $query: 'screen'; 184 | 185 | // Breakpoint. 186 | @if $breakpoint and map-has-key($breakpoints, $breakpoint) { 187 | $query: $query + ' and ' + map-get($breakpoints, $breakpoint); 188 | } 189 | 190 | // Queries. 191 | @if $queries { 192 | @each $k, $v in $queries { 193 | $query: $query + ' and (' + $k + ':' + $v + ')'; 194 | } 195 | } 196 | 197 | @media #{$query} { 198 | @content; 199 | } 200 | 201 | } 202 | 203 | /// Wraps @content in a @media block targeting a specific orientation. 204 | /// @param {string} $orientation Orientation. 205 | @mixin orientation($orientation) { 206 | @media screen and (orientation: #{$orientation}) { 207 | @content; 208 | } 209 | } 210 | 211 | /// Utility mixin for containers. 212 | /// @param {mixed} $width Width. 213 | @mixin containers($width) { 214 | 215 | // Locked? 216 | $lock: false; 217 | 218 | @if length($width) == 2 { 219 | $width: nth($width, 1); 220 | $lock: true; 221 | } 222 | 223 | // Modifiers. 224 | .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; } 225 | .container.\37 5\25 { width: $width * 0.75; } 226 | .container.\35 0\25 { width: $width * 0.5; } 227 | .container.\32 5\25 { width: $width * 0.25; } 228 | 229 | // Main class. 230 | .container { 231 | @if $lock { 232 | width: $width !important; 233 | } 234 | @else { 235 | width: $width; 236 | } 237 | } 238 | 239 | } 240 | 241 | /// Utility mixin for grid. 242 | /// @param {list} $gutters Column and row gutters (default is 40px). 243 | /// @param {string} $breakpointName Optional breakpoint name. 244 | @mixin grid($gutters: 40px, $breakpointName: null) { 245 | 246 | // Gutters. 247 | @include grid-gutters($gutters); 248 | @include grid-gutters($gutters, \32 00\25, 2); 249 | @include grid-gutters($gutters, \31 50\25, 1.5); 250 | @include grid-gutters($gutters, \35 0\25, 0.5); 251 | @include grid-gutters($gutters, \32 5\25, 0.25); 252 | 253 | // Cells. 254 | $x: ''; 255 | 256 | @if $breakpointName { 257 | $x: '\\28' + $breakpointName + '\\29'; 258 | } 259 | 260 | .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; } 261 | .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; } 262 | .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; } 263 | .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; } 264 | .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; } 265 | .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; } 266 | .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; } 267 | .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; } 268 | .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; } 269 | .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; } 270 | .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; } 271 | .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; } 272 | 273 | .\31 2u\24#{$x} + *, 274 | .\31 1u\24#{$x} + *, 275 | .\31 0u\24#{$x} + *, 276 | .\39 u\24#{$x} + *, 277 | .\38 u\24#{$x} + *, 278 | .\37 u\24#{$x} + *, 279 | .\36 u\24#{$x} + *, 280 | .\35 u\24#{$x} + *, 281 | .\34 u\24#{$x} + *, 282 | .\33 u\24#{$x} + *, 283 | .\32 u\24#{$x} + *, 284 | .\31 u\24#{$x} + * { 285 | clear: left; 286 | } 287 | 288 | .\-11u#{$x} { margin-left: 91.6666666667% } 289 | .\-10u#{$x} { margin-left: 83.3333333333% } 290 | .\-9u#{$x} { margin-left: 75% } 291 | .\-8u#{$x} { margin-left: 66.6666666667% } 292 | .\-7u#{$x} { margin-left: 58.3333333333% } 293 | .\-6u#{$x} { margin-left: 50% } 294 | .\-5u#{$x} { margin-left: 41.6666666667% } 295 | .\-4u#{$x} { margin-left: 33.3333333333% } 296 | .\-3u#{$x} { margin-left: 25% } 297 | .\-2u#{$x} { margin-left: 16.6666666667% } 298 | .\-1u#{$x} { margin-left: 8.3333333333% } 299 | 300 | } 301 | 302 | /// Utility mixin for grid. 303 | /// @param {list} $gutters Gutters. 304 | /// @param {string} $class Optional class name. 305 | /// @param {integer} $multiplier Multiplier (default is 1). 306 | @mixin grid-gutters($gutters, $class: null, $multiplier: 1) { 307 | 308 | // Expand gutters if it's not a list. 309 | @if length($gutters) == 1 { 310 | $gutters: ($gutters, 0); 311 | } 312 | 313 | // Get column and row gutter values. 314 | $c: nth($gutters, 1); 315 | $r: nth($gutters, 2); 316 | 317 | // Get class (if provided). 318 | $x: ''; 319 | 320 | @if $class { 321 | $x: '.' + $class; 322 | } 323 | 324 | // Default. 325 | .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); } 326 | .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } 327 | 328 | // Uniform. 329 | .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); } 330 | .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } 331 | 332 | } 333 | 334 | /// Wraps @content in vendorized keyframe blocks. 335 | /// @param {string} $name Name. 336 | @mixin keyframes($name) { 337 | 338 | @-moz-keyframes #{$name} { @content; } 339 | @-webkit-keyframes #{$name} { @content; } 340 | @-ms-keyframes #{$name} { @content; } 341 | @keyframes #{$name} { @content; } 342 | 343 | } 344 | 345 | /// 346 | /// Sets breakpoints. 347 | /// @param {map} $x Breakpoints. 348 | /// 349 | @mixin skel-breakpoints($x: ()) { 350 | $breakpoints: $x !global; 351 | } 352 | 353 | /// 354 | /// Initializes layout module. 355 | /// @param {map} config Config. 356 | /// 357 | @mixin skel-layout($config: ()) { 358 | 359 | // Config. 360 | $configPerBreakpoint: (); 361 | 362 | $z: map-get($config, 'breakpoints'); 363 | 364 | @if $z { 365 | $configPerBreakpoint: $z; 366 | } 367 | 368 | // Reset. 369 | $x: map-get($config, 'reset'); 370 | 371 | @if $x { 372 | 373 | /* Reset */ 374 | 375 | @include reset($x); 376 | 377 | } 378 | 379 | // Box model. 380 | $x: map-get($config, 'boxModel'); 381 | 382 | @if $x { 383 | 384 | /* Box Model */ 385 | 386 | @include boxModel($x); 387 | 388 | } 389 | 390 | // Containers. 391 | $containers: map-get($config, 'containers'); 392 | 393 | @if $containers { 394 | 395 | /* Containers */ 396 | 397 | .container { 398 | margin-left: auto; 399 | margin-right: auto; 400 | } 401 | 402 | // Use default is $containers is just "true". 403 | @if $containers == true { 404 | $containers: 960px; 405 | } 406 | 407 | // Apply base. 408 | @include containers($containers); 409 | 410 | // Apply per-breakpoint. 411 | @each $name in map-keys($breakpoints) { 412 | 413 | // Get/use breakpoint setting if it exists. 414 | $x: map-get($configPerBreakpoint, $name); 415 | 416 | // Per-breakpoint config exists? 417 | @if $x { 418 | $y: map-get($x, 'containers'); 419 | 420 | // Setting exists? Use it. 421 | @if $y { 422 | $containers: $y; 423 | } 424 | 425 | } 426 | 427 | // Create @media block. 428 | @media screen and #{map-get($breakpoints, $name)} { 429 | @include containers($containers); 430 | } 431 | 432 | } 433 | 434 | } 435 | 436 | // Grid. 437 | $grid: map-get($config, 'grid'); 438 | 439 | @if $grid { 440 | 441 | /* Grid */ 442 | 443 | // Use defaults if $grid is just "true". 444 | @if $grid == true { 445 | $grid: (); 446 | } 447 | 448 | // Sub-setting: Gutters. 449 | $grid-gutters: 40px; 450 | $x: map-get($grid, 'gutters'); 451 | 452 | @if $x { 453 | $grid-gutters: $x; 454 | } 455 | 456 | // Rows. 457 | .row { 458 | border-bottom: solid 1px transparent; 459 | -moz-box-sizing: border-box; 460 | -webkit-box-sizing: border-box; 461 | box-sizing: border-box; 462 | } 463 | 464 | .row > * { 465 | float: left; 466 | -moz-box-sizing: border-box; 467 | -webkit-box-sizing: border-box; 468 | box-sizing: border-box; 469 | } 470 | 471 | .row:after, .row:before { 472 | content: ''; 473 | display: block; 474 | clear: both; 475 | height: 0; 476 | } 477 | 478 | .row.uniform > * > :first-child { 479 | margin-top: 0; 480 | } 481 | 482 | .row.uniform > * > :last-child { 483 | margin-bottom: 0; 484 | } 485 | 486 | // Gutters (0%). 487 | @include grid-gutters($grid-gutters, \30 \25, 0); 488 | 489 | // Apply base. 490 | @include grid($grid-gutters); 491 | 492 | // Apply per-breakpoint. 493 | @each $name in map-keys($breakpoints) { 494 | 495 | // Get/use breakpoint setting if it exists. 496 | $x: map-get($configPerBreakpoint, $name); 497 | 498 | // Per-breakpoint config exists? 499 | @if $x { 500 | $y: map-get($x, 'grid'); 501 | 502 | // Setting exists? 503 | @if $y { 504 | 505 | // Sub-setting: Gutters. 506 | $x: map-get($y, 'gutters'); 507 | 508 | @if $x { 509 | $grid-gutters: $x; 510 | } 511 | 512 | } 513 | 514 | } 515 | 516 | // Create @media block. 517 | @media screen and #{map-get($breakpoints, $name)} { 518 | @include grid($grid-gutters, $name); 519 | } 520 | 521 | } 522 | 523 | } 524 | 525 | } 526 | 527 | /// Resets browser styles. 528 | /// @param {string} $mode Mode (default is 'normalize'). 529 | @mixin reset($mode: 'normalize') { 530 | 531 | @if $mode == 'normalize' { 532 | 533 | // normalize.css v3.0.2 | MIT License | git.io/normalize 534 | html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} 535 | 536 | } 537 | @else if $mode == 'full' { 538 | 539 | // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain) 540 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none} 541 | 542 | } 543 | 544 | } 545 | 546 | /// Vendorizes a declaration's property and/or value(s). 547 | /// @param {string} $property Property. 548 | /// @param {mixed} $value String/list of value(s). 549 | @mixin vendor($property, $value) { 550 | 551 | // Determine if property should expand. 552 | $expandProperty: index($vendor-properties, $property); 553 | 554 | // Determine if value should expand (and if so, add '-prefix-' placeholder). 555 | $expandValue: false; 556 | 557 | @each $x in $value { 558 | @each $y in $vendor-values { 559 | @if $y == str-slice($x, 1, str-length($y)) { 560 | 561 | $value: set-nth($value, index($value, $x), '-prefix-' + $x); 562 | $expandValue: true; 563 | 564 | } 565 | } 566 | } 567 | 568 | // Expand property? 569 | @if $expandProperty { 570 | @each $vendor in $vendor-prefixes { 571 | #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 572 | } 573 | } 574 | 575 | // Expand just the value? 576 | @elseif $expandValue { 577 | @each $vendor in $vendor-prefixes { 578 | #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 579 | } 580 | } 581 | 582 | // Neither? Treat them as a normal declaration. 583 | @else { 584 | #{$property}: #{$value}; 585 | } 586 | 587 | } -------------------------------------------------------------------------------- /assets/sass/libs/_vars.scss: -------------------------------------------------------------------------------- 1 | // Misc. 2 | $misc: ( 3 | ); 4 | 5 | // Duration. 6 | $duration: ( 7 | transition: 0.2s 8 | ); 9 | 10 | // Size. 11 | $size: ( 12 | border-radius: 6px, 13 | border-width: 1px, 14 | element-height: 2.75em, 15 | element-margin: 2em 16 | ); 17 | 18 | // Font. 19 | $font: ( 20 | family: (Arial, Helvetica, sans-serif), 21 | family-fixed: ('Courier New', monospace), 22 | weight: normal, 23 | weight-bold: bold 24 | ); 25 | 26 | // Palette. 27 | $palette: ( 28 | bg: #ffffff, 29 | fg: #999999, 30 | fg-bold: #828282, 31 | fg-light: #e0e0e0, 32 | border: #e6e6e6, 33 | border-bg: rgba(144,144,144,0.075), 34 | border2: #d6d6d6, 35 | border2-bg: rgba(144,144,144,0.15), 36 | 37 | accent1: ( 38 | bg: #4696e5, 39 | fg: mix(#4696e5, #ffffff, 25%), 40 | fg-bold: #ffffff, 41 | fg-light: mix(#4696e5, #ffffff, 40%), 42 | border: rgba(255,255,255,0.25), 43 | border-bg: rgba(255,255,255,0.075), 44 | border2: rgba(255,255,255,0.5), 45 | border2-bg: rgba(255,255,255,0.2), 46 | invert: true 47 | ), 48 | 49 | accent2: ( 50 | bg: #fbfbfb, 51 | fg: #999999, 52 | fg-bold: #828282, 53 | fg-light: #e0e0e0, 54 | border: #e6e6e6, 55 | border-bg: rgba(144,144,144,0.075), 56 | border2: #d6d6d6, 57 | border2-bg: rgba(144,144,144,0.15), 58 | invert: false 59 | ), 60 | 61 | accent3: ( 62 | bg: #f7f7f7, 63 | fg: #999999, 64 | fg-bold: #828282, 65 | fg-light: #b0b0b0, 66 | border: #d6d6d6, 67 | border-bg: rgba(144,144,144,0.075), 68 | border2: #c6c6c6, 69 | border2-bg: rgba(144,144,144,0.15), 70 | invert: false 71 | ) 72 | ); -------------------------------------------------------------------------------- /assets/sass/main.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/skel'; 5 | @import 'font-awesome.min.css'; 6 | 7 | /* 8 | Fractal by HTML5 UP 9 | html5up.net | @ajlkn 10 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 11 | */ 12 | 13 | @include skel-breakpoints(( 14 | xlarge: '(max-width: 1680px)', 15 | large: '(max-width: 1280px)', 16 | medium: '(max-width: 980px)', 17 | small: '(max-width: 736px)', 18 | xsmall: '(max-width: 480px)', 19 | xxsmall: '(max-width: 360px)' 20 | )); 21 | 22 | @include skel-layout(( 23 | reset: 'full', 24 | boxModel: 'border', 25 | grid: (gutters: 1.5em) 26 | )); 27 | 28 | @mixin color($p: null) { 29 | @include color-button($p); 30 | @include color-form($p); 31 | @include color-icon($p); 32 | @include color-image($p); 33 | @include color-list($p); 34 | @include color-table($p); 35 | @include color-typography($p); 36 | } 37 | 38 | // Base. 39 | 40 | @import 'base/page'; 41 | @import 'base/typography'; 42 | 43 | // Component. 44 | 45 | @import 'components/box'; 46 | @import 'components/button'; 47 | @import 'components/form'; 48 | @import 'components/icon'; 49 | @import 'components/image'; 50 | @import 'components/list'; 51 | @import 'components/section'; 52 | @import 'components/spotlight'; 53 | @import 'components/table'; 54 | @import 'components/wrapper'; 55 | 56 | // Layout. 57 | 58 | @import 'layout/header'; 59 | @import 'layout/main'; 60 | @import 'layout/footer'; -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Home 4 | --- 5 | 6 | 7 |
8 |
9 |

Sed ipsum magna lorem tempus amet
10 | vehicula et gravida elementum

11 |
12 |
    13 |
  • Shoot
  • 14 |
  • Process
  • 15 |
  • Upload
  • 16 |
17 |
18 | 19 | 20 |
21 |
22 |
23 |
24 |
25 |

Magna sed ultrices

26 |

Morbi mattis ornare ornare. Duis quam turpis, gravida at leo elementum elit fusce accumsan dui libero, quis vehicula lectus ultricies eu. In convallis amet leo non sapien iaculis efficitur consequat lorem ipsum.

27 |
28 |
29 |
30 |
31 |
32 |

Ultrices nullam aliquam

33 |

Morbi mattis ornare ornare. Duis quam turpis, gravida at leo elementum elit fusce accumsan dui libero, quis vehicula lectus ultricies eu. In convallis amet leo non sapien iaculis efficitur consequat lorem ipsum.

34 |
35 |
36 |
37 |
38 |
39 |

Aliquam sed magna

40 |

Morbi mattis ornare ornare. Duis quam turpis, gravida at leo elementum elit fusce accumsan dui libero, quis vehicula lectus ultricies eu. In convallis amet leo non sapien iaculis efficitur consequat lorem ipsum.

41 |
42 |
43 |
44 |
    45 |
  • Ipsum lorem accumsan
  • 46 |
  • Sed vehicula elementum
  • 47 |
  • Elit fusce consequat
  • 48 |
  • Lorem nullam tempus
  • 49 |
  • Adipiscing amet sapien
  • 50 |
51 |
52 |
53 |
54 | --------------------------------------------------------------------------------