├── static ├── images │ ├── pic01.jpg │ ├── pic02.jpg │ ├── pic03.jpg │ ├── pic04.jpg │ ├── pic05.jpg │ ├── pic06.jpg │ └── pic07.jpg └── assets │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── css │ ├── markdown-images.css │ └── font-awesome.min.css │ └── js │ ├── browser.min.js │ ├── breakpoints.min.js │ ├── main.js │ └── util.js ├── .stackbit └── images │ ├── demo-256x192.png │ └── demo-1024x768.png ├── content ├── elements.md ├── tempus-etiam.md ├── consequat-dolor.md ├── generic.md ├── posts │ ├── tempus-litoria.md │ ├── aliquam-veroeros.md │ └── nostra-adpiscing.md └── index.md ├── components ├── header.html ├── html_head.html ├── post_body.html ├── social.html ├── footer.html ├── mission.html ├── menu.html ├── contact.html ├── intro.html ├── features.html └── spotlight.html ├── data ├── menu.yml ├── footer.yml └── social.yml ├── templates ├── home.html ├── body.html ├── page.html └── elements.html ├── config.yml ├── sass ├── imports │ └── _banner.scss ├── components │ ├── _icon.scss │ ├── _banner.scss │ ├── _box.scss │ ├── _row.scss │ ├── _image.scss │ ├── _section.scss │ ├── _list.scss │ ├── _table.scss │ ├── _actions.scss │ ├── _button.scss │ ├── _spotlight.scss │ ├── _icons.scss │ ├── _wrapper.scss │ └── _form.scss ├── layout │ ├── _footer.scss │ ├── _intro.scss │ ├── _header.scss │ └── _menu.scss ├── libs │ ├── _vars.scss │ ├── _mixins.scss │ ├── _functions.scss │ ├── _html-grid.scss │ ├── _breakpoints.scss │ ├── _vendor.scss │ └── _skel.scss ├── base │ ├── _page.scss │ ├── _reset.scss │ └── _typography.scss └── main.scss ├── package.json ├── README.md └── stackbit.yaml /static/images/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic01.jpg -------------------------------------------------------------------------------- /static/images/pic02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic02.jpg -------------------------------------------------------------------------------- /static/images/pic03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic03.jpg -------------------------------------------------------------------------------- /static/images/pic04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic04.jpg -------------------------------------------------------------------------------- /static/images/pic05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic05.jpg -------------------------------------------------------------------------------- /static/images/pic06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic06.jpg -------------------------------------------------------------------------------- /static/images/pic07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/images/pic07.jpg -------------------------------------------------------------------------------- /.stackbit/images/demo-256x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/.stackbit/images/demo-256x192.png -------------------------------------------------------------------------------- /.stackbit/images/demo-1024x768.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/.stackbit/images/demo-1024x768.png -------------------------------------------------------------------------------- /static/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /content/elements.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Elements 3 | template: elements 4 | menus: 5 | main: 6 | weight: 5 7 | title: Elements 8 | --- 9 | -------------------------------------------------------------------------------- /static/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackbit/stackbit-theme-reflex/HEAD/static/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /components/header.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /data/menu.yml: -------------------------------------------------------------------------------- 1 | actions: 2 | - label: Get Started 3 | url: "/generic" 4 | is_scrolly: false 5 | is_primary: true 6 | - label: Log In 7 | url: "/generic" 8 | is_scrolly: false 9 | is_primary: false -------------------------------------------------------------------------------- /data/footer.yml: -------------------------------------------------------------------------------- 1 | enable_contact_section: true 2 | copyright: "© Reflex. All rights reserved. Lorem ipsum dolor sit amet nullam." 3 | links: 4 | - text: Made with Stackbit 5 | url: https://www.stackbit.com 6 | new_window: true -------------------------------------------------------------------------------- /static/assets/css/markdown-images.css: -------------------------------------------------------------------------------- 1 | .wrapper .inner img, 2 | .wrapper .inner header img, 3 | .wrapper .inner section img, 4 | .wrapper .inner .spotlight .content img, 5 | .wrapper .inner .content header img, 6 | .wrapper .inner .major img{ 7 | max-width: 100%; 8 | } 9 | -------------------------------------------------------------------------------- /templates/home.html: -------------------------------------------------------------------------------- 1 | {% extends "body.html" %} 2 | 3 | {% block content %} 4 | {% for section in page.params.sections %} 5 | {% set include_dict = {'section': section, 'site': site, 'page': page} %} 6 | {% include section.component %} 7 | {% endfor %} 8 | {% endblock %} -------------------------------------------------------------------------------- /config.yml: -------------------------------------------------------------------------------- 1 | baseurl: "/" 2 | title: "Reflex" 3 | main_js: "assets/js/main.js" 4 | params: 5 | none: "" 6 | sass: 7 | input_file: sass/main.scss 8 | output_file: assets/css/main.css 9 | indentWidth: 4 10 | outputStyle: nested 11 | precision: 10 12 | #templates: 13 | # body_class: "is-preload" 14 | -------------------------------------------------------------------------------- /templates/body.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block body %} 4 | 5 | {% include "header.html" %} 6 | {% include "menu.html" %} 7 | 8 | 9 |
10 | {% block content %}{% endblock %} 11 | 12 | {% include "footer.html" %} 13 |
14 | 15 | {% endblock %} -------------------------------------------------------------------------------- /sass/imports/_banner.scss: -------------------------------------------------------------------------------- 1 | body.has-theme-bar { 2 | #theme-bar{ 3 | button{ 4 | color: rgba(255, 255, 255, 0.8) !important; 5 | } 6 | 7 | button:hover{ 8 | border: none !important; 9 | color: rgba(255, 255, 255, 0.8) !important; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /sass/components/_icon.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Icon */ 8 | 9 | .icon { 10 | @include icon; 11 | position: relative; 12 | border-bottom-width: 0; 13 | 14 | > .label { 15 | display: none; 16 | } 17 | } -------------------------------------------------------------------------------- /components/html_head.html: -------------------------------------------------------------------------------- 1 | {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sass/components/_banner.scss: -------------------------------------------------------------------------------- 1 | body.has-theme-bar { 2 | #wrapper { 3 | padding-top: 60px; 4 | } 5 | #header nav { 6 | position: fixed; 7 | right: 2em; 8 | top: 80px; 9 | z-index: 10000; 10 | } 11 | #menu > .close { 12 | top: 80px; 13 | } 14 | @media screen and (max-width: 736px) { 15 | #header { 16 | padding-top: 88px; 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /components/post_body.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /components/social.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

{{ site.data.social.title }}

4 |
5 | {{ site.data.social.social_content | markdownify }} 6 | 11 |
-------------------------------------------------------------------------------- /templates/page.html: -------------------------------------------------------------------------------- 1 | {% extends "body.html" %} 2 | 3 | {% block content %} 4 | 5 | 6 |
7 |
8 |
9 |

{{ page.title }}

10 | {{ page.params.subtitle | markdownify }} 11 |
12 | {% if page.params.img_path %} 13 | 14 | {% endif %} 15 | {{ page.content }} 16 |
17 |
18 | 19 | {% endblock %} -------------------------------------------------------------------------------- /sass/components/_box.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Box */ 8 | 9 | .box { 10 | border-radius: _size(border-radius); 11 | border: solid 1px; 12 | margin-bottom: _size(element-margin); 13 | padding: 1.5em; 14 | 15 | > :last-child, 16 | > :last-child > :last-child, 17 | > :last-child > :last-child > :last-child { 18 | margin-bottom: 0; 19 | } 20 | 21 | &.alt { 22 | border: 0; 23 | border-radius: 0; 24 | padding: 0; 25 | } 26 | } -------------------------------------------------------------------------------- /data/social.yml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | title: Magna lorem ipsum 3 | social_content: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos magna fames ac turpis egestas amet non lorem amet. 4 | social_links: 5 | - title: Twitter 6 | icon: fa-twitter 7 | link_url: "#" 8 | - title: Instagram 9 | icon: fa-instagram 10 | link_url: "#" 11 | - title: Snapchat 12 | icon: fa-snapchat-ghost 13 | link_url: "#" 14 | - title: GitHub 15 | icon: fa-github 16 | link_url: "#" -------------------------------------------------------------------------------- /sass/components/_row.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Row */ 8 | 9 | .row { 10 | @include html-grid(2em); 11 | 12 | @include breakpoint('<=xlarge') { 13 | @include html-grid(2em, 'xlarge'); 14 | } 15 | 16 | @include breakpoint('<=large') { 17 | @include html-grid(2em, 'large'); 18 | } 19 | 20 | @include breakpoint('<=medium') { 21 | @include html-grid(1.5em, 'medium'); 22 | } 23 | 24 | @include breakpoint('<=small') { 25 | @include html-grid(1em, 'small'); 26 | } 27 | 28 | @include breakpoint('<=xsmall') { 29 | @include html-grid(1em, 'xsmall'); 30 | } 31 | } -------------------------------------------------------------------------------- /components/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 22 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "reflex", 3 | "version": "1.0.0", 4 | "description": "A multipage theme with posts for Stackbit", 5 | "main": "public/index.html", 6 | "scripts": { 7 | "build": "unibit build", 8 | "develop": "unibit develop", 9 | "start": "unibit develop", 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/stackbithq/stackbit-theme-reflex" 15 | }, 16 | "author": "Stackbit", 17 | "license": "ISC", 18 | "bugs": { 19 | "url": "https://github.com/stackbithq/stackbit-theme-reflex/issues" 20 | }, 21 | "homepage": "https://docs.stackbit.com/unibit/", 22 | "dependencies": { 23 | "@stackbit/unibit": "~0.1.11", 24 | "lodash": "^4.17.14", 25 | "nodemon": "^1.19.1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sass/layout/_footer.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Footer */ 8 | 9 | #footer { 10 | .copyright { 11 | text-align: center; 12 | opacity: 0.35; 13 | font-size: 0.8em; 14 | margin: (_size(element-margin) * 2) 0 0 0; 15 | 16 | &:before { 17 | content: ''; 18 | display: block; 19 | width: 4rem; 20 | height: 1px; 21 | margin: 0 auto 2rem auto; 22 | border-top: solid 1px; 23 | opacity: 0.5; 24 | } 25 | } 26 | 27 | @include breakpoint('<=medium') { 28 | ul.actions { 29 | @include vendor('justify-content', 'center'); 30 | width: 100%; 31 | margin-left: 0; 32 | 33 | li { 34 | &:first-child { 35 | padding-left: 0; 36 | } 37 | } 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /components/mission.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |

{{ include_dict.section.title }}

6 | {{ include_dict.section.content | markdownify }} 7 |
8 | {% if include_dict.section.actions %} 9 | 16 | {% endif %} 17 |
18 |
-------------------------------------------------------------------------------- /components/menu.html: -------------------------------------------------------------------------------- 1 | 2 | 20 | -------------------------------------------------------------------------------- /components/contact.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 | 12 | 15 |
16 |
17 | -------------------------------------------------------------------------------- /sass/libs/_vars.scss: -------------------------------------------------------------------------------- 1 | // Misc. 2 | $misc: ( 3 | z-index-base: 10000 4 | ); 5 | 6 | // Duration. 7 | $duration: ( 8 | menu: 0.5s, 9 | transition: 0.2s 10 | ); 11 | 12 | // Size. 13 | $size: ( 14 | border-radius: 0.5rem, 15 | element-height: 3em, 16 | element-margin: 2em, 17 | gutter: 2.5em 18 | ); 19 | 20 | // Font. 21 | $font: ( 22 | family: (Raleway, Helvetica, sans-serif), 23 | family-fixed: ('Courier New', monospace), 24 | weight: 300, 25 | weight-bold: 500 26 | ); 27 | 28 | // Palette. 29 | $palette: ( 30 | bg: #ffffff, 31 | bg-alt: #f7f7f7, 32 | fg: #565656, 33 | border: #565656, 34 | border-alt: transparentize(#565656, 0.75), 35 | border-bg: rgba(86,86,86,0.075), 36 | 37 | invert: ( 38 | bg: #565656, 39 | fg: #ffffff, 40 | border: #ffffff, 41 | border-alt: transparentize(#ffffff, 0.75), 42 | border-bg: rgba(255,255,255,0.075) 43 | ) 44 | ); -------------------------------------------------------------------------------- /components/intro.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sass/components/_image.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Image */ 8 | 9 | .image { 10 | border-radius: _size(border-radius); 11 | border: 0; 12 | display: inline-block; 13 | position: relative; 14 | 15 | img { 16 | border-radius: _size(border-radius); 17 | display: block; 18 | } 19 | 20 | &.left, 21 | &.right { 22 | max-width: 40%; 23 | 24 | img { 25 | width: 100%; 26 | } 27 | } 28 | 29 | &.left { 30 | float: left; 31 | margin: 0 1.5em 1em 0; 32 | top: 0.25em; 33 | } 34 | 35 | &.right { 36 | float: right; 37 | margin: 0 0 1em 1.5em; 38 | top: 0.25em; 39 | } 40 | 41 | &.fit { 42 | display: block; 43 | margin: 0 0 _size(element-margin) 0; 44 | width: 100%; 45 | 46 | img { 47 | width: 100%; 48 | } 49 | } 50 | 51 | &.main { 52 | display: block; 53 | margin: 0 0 (_size(element-margin) * 1.5) 0; 54 | width: 100%; 55 | 56 | img { 57 | width: 100%; 58 | } 59 | } 60 | } -------------------------------------------------------------------------------- /sass/base/_page.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Basic */ 8 | 9 | // MSIE: Required for IEMobile. 10 | @-ms-viewport { 11 | width: device-width; 12 | } 13 | 14 | // MSIE: Prevents scrollbar from overlapping content. 15 | body { 16 | -ms-overflow-style: scrollbar; 17 | } 18 | 19 | // Ensures page width is always >=320px. 20 | @include breakpoint('<=xsmall') { 21 | html, body { 22 | min-width: 320px; 23 | } 24 | } 25 | 26 | // Set box model to border-box. 27 | // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice 28 | html { 29 | box-sizing: border-box; 30 | } 31 | 32 | *, *:before, *:after { 33 | box-sizing: inherit; 34 | } 35 | 36 | body { 37 | background: _palette(bg); 38 | 39 | // Stops initial animations until page loads. 40 | &.is-preload { 41 | *, *:before, *:after { 42 | @include vendor('animation', 'none !important'); 43 | @include vendor('transition', 'none !important'); 44 | } 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /sass/layout/_intro.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Intro */ 8 | 9 | #intro { 10 | .image { 11 | @include vendor('transition', 'opacity 0.75s ease-in-out'); 12 | } 13 | 14 | .content { 15 | @include vendor('transition', ( 16 | 'transform 0.5s ease-in-out', 17 | 'opacity 0.5s ease-in-out' 18 | )); 19 | @include vendor('transition-delay', '0.35s'); 20 | } 21 | 22 | @include breakpoint('<=medium') { 23 | ul.actions { 24 | @include vendor('justify-content', 'center'); 25 | width: 100%; 26 | margin-left: 0; 27 | 28 | li { 29 | &:first-child { 30 | padding-left: 0; 31 | } 32 | } 33 | } 34 | } 35 | } 36 | 37 | body.is-preload { 38 | #intro { 39 | .image { 40 | opacity: 0; 41 | } 42 | 43 | .content { 44 | @include vendor('transform', 'translateX(0.5em)'); 45 | opacity: 0; 46 | 47 | @include breakpoint('<=medium') { 48 | @include vendor('transform', 'translateY(0.35em)'); 49 | } 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /components/features.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |

{{ include_dict.section.title }}

6 | {{ include_dict.section.subtitle | markdownify }} 7 |
8 | 13 | {{ include_dict.section.content | markdownify }} 14 | {% if include_dict.section.actions %} 15 | 22 | {% endif %} 23 |
24 |
-------------------------------------------------------------------------------- /sass/components/_section.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Section/Article */ 8 | 9 | section, article { 10 | header { 11 | h1, h2, h3, h4, h5, h6 { 12 | &:before { 13 | content: ''; 14 | display: block; 15 | width: 2em; 16 | height: 1px; 17 | border-top: solid 1px; 18 | margin: 0 0 1em 0; 19 | } 20 | } 21 | 22 | p { 23 | font-size: 1.25em; 24 | } 25 | 26 | &.major { 27 | text-align: center; 28 | margin: 0 0 (_size(element-margin) * 1.5) 0; 29 | 30 | h1, h2, h3, h4, h5, h6 { 31 | &:before { 32 | margin-left: auto; 33 | margin-right: auto; 34 | } 35 | } 36 | } 37 | } 38 | 39 | &.special { 40 | text-align: center; 41 | 42 | header { 43 | h2, h3, h4, h5, h6 { 44 | &:before { 45 | margin-left: auto; 46 | margin-right: auto; 47 | } 48 | } 49 | } 50 | } 51 | 52 | @include breakpoint('<=small') { 53 | header { 54 | p { 55 | font-size: 1em; 56 | 57 | br { 58 | display: none; 59 | } 60 | } 61 | } 62 | } 63 | } -------------------------------------------------------------------------------- /sass/components/_list.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* List */ 8 | 9 | ol { 10 | list-style: decimal; 11 | margin: 0 0 _size(element-margin) 0; 12 | padding-left: 1.25em; 13 | 14 | li { 15 | padding-left: 0.25em; 16 | } 17 | } 18 | 19 | ul { 20 | list-style: disc; 21 | margin: 0 0 _size(element-margin) 0; 22 | padding-left: 1em; 23 | 24 | li { 25 | padding-left: 0.5em; 26 | } 27 | 28 | &.alt { 29 | list-style: none; 30 | padding-left: 0; 31 | 32 | li { 33 | border-top: solid 1px; 34 | padding: 0.5em 0; 35 | 36 | &:first-child { 37 | border-top: 0; 38 | padding-top: 0; 39 | } 40 | } 41 | } 42 | } 43 | 44 | dl { 45 | margin: 0 0 _size(element-margin) 0; 46 | 47 | dt { 48 | display: block; 49 | font-weight: _font(weight-bold); 50 | margin: 0 0 (_size(element-margin) * 0.5) 0; 51 | } 52 | 53 | dd { 54 | margin-left: _size(element-margin); 55 | } 56 | } 57 | 58 | @mixin color-list($p: null) { 59 | ul { 60 | &.alt { 61 | li { 62 | border-top-color: _palette($p, border-alt); 63 | } 64 | } 65 | 66 | &.icons { 67 | li { 68 | a.icon { 69 | &:hover { 70 | &:before { 71 | background-color: _palette($p, border-bg); 72 | } 73 | } 74 | } 75 | } 76 | } 77 | } 78 | } 79 | 80 | @include color-list; -------------------------------------------------------------------------------- /content/tempus-etiam.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tempus Etiam 3 | img_path: images/pic05.jpg 4 | template: page 5 | menus: 6 | main: 7 | weight: 3 8 | title: Tempus etiam 9 | --- 10 | 11 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 12 | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 14 | 15 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 16 | -------------------------------------------------------------------------------- /content/consequat-dolor.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Consequat Dolor 3 | template: page 4 | img_path: images/pic05.jpg 5 | menus: 6 | main: 7 | weight: 4 8 | title: Consequat dolor 9 | --- 10 | 11 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 12 | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 14 | 15 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 16 | -------------------------------------------------------------------------------- /components/spotlight.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |

{{ include_dict.section.title }}

6 | {{ include_dict.section.subtitle | markdownify }} 7 |
8 | {% for post in getPages("/posts") | sort(true, true, "date") %} 9 |
10 | 11 |
12 |
13 |

{{ post.title }}

14 |
15 | {{ post.excerpt | markdownify }} 16 | 21 |
22 |
23 | {% endfor %} 24 | 25 | {{ include_dict.section.content | markdownify }} 26 | {% if include_dict.section.actions %} 27 | 34 | {% endif %} 35 |
36 |
37 | -------------------------------------------------------------------------------- /content/generic.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Ipsum Veroeros 3 | subtitle: Lorem ipsum dolor sit magna consectetur 4 | img_path: images/pic05.jpg 5 | template: page 6 | menus: 7 | main: 8 | weight: 2 9 | title: Ipsum veroeros 10 | --- 11 | 12 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 13 | 14 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 15 | 16 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 17 | -------------------------------------------------------------------------------- /static/assets/js/browser.min.js: -------------------------------------------------------------------------------- 1 | /* browser.js v1.0 | @ajlkn | MIT licensed */ 2 | var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["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]+)/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser}); 3 | -------------------------------------------------------------------------------- /sass/base/_reset.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | // Reset. 8 | // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain) 9 | 10 | html, body, div, span, applet, object, 11 | iframe, h1, h2, h3, h4, h5, h6, p, blockquote, 12 | pre, a, abbr, acronym, address, big, cite, 13 | code, del, dfn, em, img, ins, kbd, q, s, samp, 14 | small, strike, strong, sub, sup, tt, var, b, 15 | u, i, center, dl, dt, dd, ol, ul, li, fieldset, 16 | form, label, legend, table, caption, tbody, 17 | tfoot, thead, tr, th, td, article, aside, 18 | canvas, details, embed, figure, figcaption, 19 | footer, header, hgroup, menu, nav, output, ruby, 20 | section, summary, time, mark, audio, video { 21 | margin: 0; 22 | padding: 0; 23 | border: 0; 24 | font-size: 100%; 25 | font: inherit; 26 | vertical-align: baseline; 27 | } 28 | 29 | article, aside, details, figcaption, figure, 30 | footer, header, hgroup, menu, nav, section { 31 | display: block; 32 | } 33 | 34 | body { 35 | line-height: 1; 36 | } 37 | 38 | ol, ul { 39 | list-style: none; 40 | } 41 | 42 | blockquote, q { 43 | quotes: none; 44 | 45 | &:before, 46 | &:after { 47 | content: ''; 48 | content: none; 49 | } 50 | } 51 | 52 | table { 53 | border-collapse: collapse; 54 | border-spacing: 0; 55 | } 56 | 57 | body { 58 | -webkit-text-size-adjust: none; 59 | } 60 | 61 | mark { 62 | background-color: transparent; 63 | color: inherit; 64 | } 65 | 66 | input::-moz-focus-inner { 67 | border: 0; 68 | padding: 0; 69 | } 70 | 71 | input, select, textarea { 72 | -moz-appearance: none; 73 | -webkit-appearance: none; 74 | -ms-appearance: none; 75 | appearance: none; 76 | } -------------------------------------------------------------------------------- /sass/main.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/vendor'; 5 | @import 'libs/breakpoints'; 6 | @import 'libs/html-grid'; 7 | @import 'font-awesome.min.css'; 8 | @import url('https://fonts.googleapis.com/css?family=Raleway:300,300italic,500,500italic'); 9 | 10 | /* 11 | Reflex by Pixelarity 12 | pixelarity.com | hello@pixelarity.com 13 | License: pixelarity.com/license 14 | */ 15 | 16 | // Breakpoints. 17 | 18 | @include breakpoints(( 19 | xlarge: ( 1281px, 1680px ), 20 | large: ( 981px, 1280px ), 21 | medium: ( 737px, 980px ), 22 | small: ( 481px, 736px ), 23 | xsmall: ( 361px, 480px ), 24 | xxsmall: ( null, 360px ) 25 | )); 26 | 27 | // Mixins. 28 | 29 | @mixin color($p) { 30 | @include color-typography($p); 31 | @include color-button($p); 32 | @include color-form($p); 33 | @include color-list($p); 34 | @include color-icons($p); 35 | @include color-table($p); 36 | @include color-spotlight($p); 37 | } 38 | 39 | // Base. 40 | 41 | @import 'base/reset'; 42 | @import 'base/page'; 43 | @import 'base/typography'; 44 | 45 | // Component. 46 | 47 | @import 'components/row'; 48 | @import 'components/box'; 49 | @import 'components/button'; 50 | @import 'components/form'; 51 | @import 'components/icon'; 52 | @import 'components/image'; 53 | @import 'components/list'; 54 | @import 'components/actions'; 55 | @import 'components/icons'; 56 | @import 'components/section'; 57 | @import 'components/table'; 58 | @import 'components/spotlight'; 59 | @import 'components/wrapper'; 60 | @import 'components/banner'; 61 | 62 | // Layout. 63 | 64 | @import 'layout/header'; 65 | @import 'layout/menu'; 66 | @import 'layout/footer'; 67 | @import 'layout/intro'; 68 | 69 | // Stackbit Banner 70 | 71 | @import 'imports/banner'; -------------------------------------------------------------------------------- /content/posts/tempus-litoria.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tempus litoria 3 | excerpt: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos magna fames ac turpis egestas amet non lorem amet. 4 | img_path: images/pic04.jpg 5 | post_button_label: Details 6 | template: page 7 | date: 2017-04-01 8 | --- 9 | 10 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 11 | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 13 | 14 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 15 | -------------------------------------------------------------------------------- /content/posts/aliquam-veroeros.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Aliquam veroeros 3 | excerpt: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos magna fames ac turpis egestas amet non lorem amet. 4 | img_path: images/pic02.jpg 5 | post_button_label: Details 6 | template: page 7 | date: 2017-04-03 8 | --- 9 | 10 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 11 | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 13 | 14 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 15 | -------------------------------------------------------------------------------- /content/posts/nostra-adpiscing.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Nostra adpiscing 3 | excerpt: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos magna fames ac turpis egestas amet non lorem amet. 4 | img_path: images/pic03.jpg 5 | post_button_label: Details 6 | template: page 7 | date: 2017-04-02 8 | --- 9 | 10 | Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique. 11 | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel venenatis mauris vehicula hendrerit. 13 | 14 | Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor. 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Reflex 2 | 3 | A multipage theme with posts for Stackbit. [Live Demo](https://themes.stackbit.com/demos/reflex) 4 | 5 | This theme is deprecated and will no longer be maintained by Stackbit. 6 | Stackbit launched a new major version that brings a superior developer experience and visual editing capabilities. 7 | 8 | Click the button below to create a new website using the new version of Stackbit. 9 | 10 | [![Create with Stackbit](https://assets.stackbit.com/badge/create-with-stackbit.svg)](https://app.stackbit.com/create?utm_source=theme-readme&utm_medium=referral&utm_campaign=stackbit_themes) 11 | 12 | ### About Stackbit 13 | 14 | [Stackbit](https://www.stackbit.com/) enables features like inline content editing, live previews and collaboration tools for Jamstack sites. 15 | 16 | ## Working with This Theme 17 | 18 | This theme is written in [Unibit](https://docs.stackbit.com/unibit/), which is designed to transpile themes to work with multiple static site generators (SSG) such as Jekyll, Hugo & Gatsby. 19 | 20 | If you are looking to use this theme on a specific SSG, it is recommended that you use the [Stackbit site builder](https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-reflex) to generate the theme. The site builder will generate the SSG-specific source to your own GitHub repository. You are free to use and modify the generated source however you wish. 21 | 22 | ### Editing This Theme 23 | 24 | While we recommend using the [site builder](https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-reflex) to generate a version of the theme for any of the supported static site generators, you can develop locally using the Unibit CLI. For details on how to install and use Unibit, visit the [documentation](https://docs.stackbit.com/site-builder/unibit/). 25 | 26 | ### Develop Using CodeSandbox 27 | 28 | You can also develop this theme in the browser using Unibit via CodeSandbox. 29 | 30 | [Fork in CodeSandbox](https://codesandbox.io/s/github/stackbithq/stackbit-theme-reflex) 31 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /sass/components/_table.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Table */ 8 | 9 | .table-wrapper { 10 | -webkit-overflow-scrolling: touch; 11 | overflow-x: auto; 12 | } 13 | 14 | table { 15 | margin: 0 0 _size(element-margin) 0; 16 | width: 100%; 17 | 18 | tbody { 19 | tr { 20 | border: solid 1px; 21 | border-left: 0; 22 | border-right: 0; 23 | } 24 | } 25 | 26 | td { 27 | padding: 0.75em 0.75em; 28 | } 29 | 30 | th { 31 | font-size: 0.9em; 32 | font-weight: _font(weight-bold); 33 | padding: 0 0.75em 0.75em 0.75em; 34 | text-align: left; 35 | } 36 | 37 | thead { 38 | border-bottom: solid 2px; 39 | } 40 | 41 | tfoot { 42 | border-top: solid 2px; 43 | } 44 | 45 | &.alt { 46 | border-collapse: separate; 47 | 48 | tbody { 49 | tr { 50 | td { 51 | border: solid 1px; 52 | border-left-width: 0; 53 | border-top-width: 0; 54 | 55 | &:first-child { 56 | border-left-width: 1px; 57 | } 58 | } 59 | 60 | &:first-child { 61 | td { 62 | border-top-width: 1px; 63 | } 64 | } 65 | } 66 | } 67 | 68 | thead { 69 | border-bottom: 0; 70 | } 71 | 72 | tfoot { 73 | border-top: 0; 74 | } 75 | } 76 | } 77 | 78 | @mixin color-table($p: null) { 79 | table { 80 | thead { 81 | border-bottom-color: _palette($p, border-alt); 82 | } 83 | 84 | tfoot { 85 | border-top-color: _palette($p, border-alt); 86 | } 87 | 88 | tbody { 89 | tr { 90 | border-color: _palette($p, border-alt); 91 | 92 | &:nth-child(2n + 1) { 93 | background-color: _palette($p, border-bg); 94 | } 95 | } 96 | } 97 | 98 | &.alt { 99 | tbody { 100 | tr { 101 | td { 102 | border-color: _palette($p, border-alt); 103 | } 104 | } 105 | } 106 | } 107 | } 108 | } 109 | 110 | @include color-table; -------------------------------------------------------------------------------- /sass/components/_actions.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Actions */ 8 | 9 | ul.actions { 10 | @include vendor('display', 'flex'); 11 | cursor: default; 12 | list-style: none; 13 | margin-left: (_size(element-margin) * -0.5); 14 | padding-left: 0; 15 | 16 | li { 17 | padding: 0 0 0 (_size(element-margin) * 0.5); 18 | vertical-align: middle; 19 | } 20 | 21 | &.special { 22 | @include vendor('justify-content', 'center'); 23 | width: 100%; 24 | margin-left: 0; 25 | 26 | li { 27 | &:first-child { 28 | padding-left: 0; 29 | } 30 | } 31 | } 32 | 33 | &.stacked { 34 | @include vendor('flex-direction', 'column'); 35 | margin-left: 0; 36 | 37 | li { 38 | padding: (_size(element-margin) * 0.65) 0 0 0; 39 | 40 | &:first-child { 41 | padding-top: 0; 42 | } 43 | } 44 | } 45 | 46 | &.fit { 47 | width: calc(100% + #{_size(element-margin) * 0.5}); 48 | 49 | li { 50 | @include vendor('flex-grow', '1'); 51 | @include vendor('flex-shrink', '1'); 52 | width: 100%; 53 | 54 | > * { 55 | width: 100%; 56 | } 57 | } 58 | 59 | &.stacked { 60 | width: 100%; 61 | } 62 | } 63 | 64 | @include breakpoint('<=xsmall') { 65 | &:not(.fixed) { 66 | @include vendor('flex-direction', 'column'); 67 | margin-left: 0; 68 | width: 100% !important; 69 | 70 | li { 71 | @include vendor('flex-grow', '1'); 72 | @include vendor('flex-shrink', '1'); 73 | padding: (_size(element-margin) * 0.5) 0 0 0; 74 | text-align: center; 75 | width: 100%; 76 | 77 | > * { 78 | width: 100%; 79 | } 80 | 81 | &:first-child { 82 | padding-top: 0; 83 | } 84 | 85 | input[type="submit"], 86 | input[type="reset"], 87 | input[type="button"], 88 | button, 89 | .button { 90 | width: 100%; 91 | 92 | &.icon { 93 | &:before { 94 | margin-left: -0.5em; 95 | } 96 | } 97 | } 98 | } 99 | } 100 | } 101 | } -------------------------------------------------------------------------------- /sass/libs/_functions.scss: -------------------------------------------------------------------------------- 1 | /// Removes a specific item from a list. 2 | /// @author Hugo Giraudel 3 | /// @param {list} $list List. 4 | /// @param {integer} $index Index. 5 | /// @return {list} Updated list. 6 | @function remove-nth($list, $index) { 7 | 8 | $result: null; 9 | 10 | @if type-of($index) != number { 11 | @warn "$index: #{quote($index)} is not a number for `remove-nth`."; 12 | } 13 | @else if $index == 0 { 14 | @warn "List index 0 must be a non-zero integer for `remove-nth`."; 15 | } 16 | @else if abs($index) > length($list) { 17 | @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; 18 | } 19 | @else { 20 | 21 | $result: (); 22 | $index: if($index < 0, length($list) + $index + 1, $index); 23 | 24 | @for $i from 1 through length($list) { 25 | 26 | @if $i != $index { 27 | $result: append($result, nth($list, $i)); 28 | } 29 | 30 | } 31 | 32 | } 33 | 34 | @return $result; 35 | 36 | } 37 | 38 | /// Gets a value from a map. 39 | /// @author Hugo Giraudel 40 | /// @param {map} $map Map. 41 | /// @param {string} $keys Key(s). 42 | /// @return {string} Value. 43 | @function val($map, $keys...) { 44 | 45 | @if nth($keys, 1) == null { 46 | $keys: remove-nth($keys, 1); 47 | } 48 | 49 | @each $key in $keys { 50 | $map: map-get($map, $key); 51 | } 52 | 53 | @return $map; 54 | 55 | } 56 | 57 | /// Gets a duration value. 58 | /// @param {string} $keys Key(s). 59 | /// @return {string} Value. 60 | @function _duration($keys...) { 61 | @return val($duration, $keys...); 62 | } 63 | 64 | /// Gets a font value. 65 | /// @param {string} $keys Key(s). 66 | /// @return {string} Value. 67 | @function _font($keys...) { 68 | @return val($font, $keys...); 69 | } 70 | 71 | /// Gets a misc value. 72 | /// @param {string} $keys Key(s). 73 | /// @return {string} Value. 74 | @function _misc($keys...) { 75 | @return val($misc, $keys...); 76 | } 77 | 78 | /// Gets a palette value. 79 | /// @param {string} $keys Key(s). 80 | /// @return {string} Value. 81 | @function _palette($keys...) { 82 | @return val($palette, $keys...); 83 | } 84 | 85 | /// Gets a size value. 86 | /// @param {string} $keys Key(s). 87 | /// @return {string} Value. 88 | @function _size($keys...) { 89 | @return val($size, $keys...); 90 | } -------------------------------------------------------------------------------- /static/assets/js/breakpoints.min.js: -------------------------------------------------------------------------------- 1 | /* breakpoints.js v1.0 | @ajlkn | MIT licensed */ 2 | var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e :last-child { 41 | margin-bottom: 0; 42 | 43 | > :last-child { 44 | margin-bottom: 0; 45 | } 46 | } 47 | } 48 | 49 | &:nth-of-type(2n) { 50 | @include vendor('flex-direction', 'row'); 51 | 52 | .image { 53 | margin: 0 _size(element-margin) 0 0; 54 | } 55 | 56 | .content { 57 | margin: 0 0 0 _size(element-margin); 58 | } 59 | } 60 | 61 | @include breakpoint('<=large') { 62 | .image { 63 | margin: 0 0 0 (_size(element-margin) * 0.75); 64 | } 65 | 66 | .content { 67 | margin: 0 (_size(element-margin) * 0.75) 0 0; 68 | } 69 | 70 | &:nth-of-type(2n) { 71 | .image { 72 | margin: 0 (_size(element-margin) * 0.75) 0 0; 73 | } 74 | 75 | .content { 76 | margin: 0 0 0 (_size(element-margin) * 0.75); 77 | } 78 | } 79 | } 80 | 81 | @include breakpoint('<=medium') { 82 | display: block; 83 | 84 | .image { 85 | margin: 0 0 (_size(element-margin) * 1.5) 0 !important; 86 | width: 100%; 87 | } 88 | 89 | .content { 90 | margin: 0 !important; 91 | text-align: center; 92 | width: 100%; 93 | 94 | header { 95 | h2, h3, h4, h5, h6 { 96 | &:before { 97 | margin-left: auto !important; 98 | margin-right: auto !important; 99 | } 100 | } 101 | } 102 | } 103 | 104 | ul.actions { 105 | @include vendor('justify-content', 'center'); 106 | width: 100%; 107 | margin-left: 0; 108 | 109 | li { 110 | &:first-child { 111 | padding-left: 0; 112 | } 113 | } 114 | } 115 | 116 | &:last-of-type { 117 | border-bottom: solid 1px; 118 | padding-bottom: (_size(element-margin) * 2) !important; 119 | } 120 | } 121 | 122 | @include breakpoint('<=small') { 123 | &:first-of-type { 124 | margin-top: 0; 125 | } 126 | } 127 | } 128 | 129 | @mixin color-spotlight($p: null) { 130 | .spotlight { 131 | @include breakpoint('<=medium') { 132 | &:last-of-type { 133 | border-bottom-color: _palette($p, border-alt); 134 | } 135 | } 136 | } 137 | } 138 | 139 | @include color-spotlight; -------------------------------------------------------------------------------- /sass/components/_icons.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Icons */ 8 | 9 | ul.icons { 10 | cursor: default; 11 | list-style: none; 12 | padding-left: 0; 13 | 14 | li { 15 | position: relative; 16 | display: inline-block; 17 | padding: 0 1em 0 0; 18 | 19 | &:last-child { 20 | padding-right: 0 !important; 21 | } 22 | 23 | .icon { 24 | &:before { 25 | @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out, color #{_duration(transition)} ease-in-out'); 26 | border: solid 1px; 27 | border-radius: 100%; 28 | width: 2.25em; 29 | height: 2.25em; 30 | line-height: 2.25em; 31 | display: inline-block; 32 | text-align: center; 33 | font-size: 1.25em; 34 | } 35 | } 36 | } 37 | 38 | &.major { 39 | margin: (_size(element-margin) * 1.75) 0; 40 | 41 | li { 42 | padding: 0 4em 0 0; 43 | 44 | .icon { 45 | &:before { 46 | width: 3.5em; 47 | height: 3.5em; 48 | line-height: 3.5em; 49 | font-size: 2.25rem; 50 | } 51 | } 52 | } 53 | } 54 | 55 | &.style1 { 56 | } 57 | 58 | &.style2 { 59 | li { 60 | &:before { 61 | content: ''; 62 | width: 1em; 63 | height: 1px; 64 | border-top: solid 1px; 65 | display: block; 66 | position: absolute; 67 | top: 50%; 68 | left: -1em; 69 | } 70 | 71 | &:first-child { 72 | &:before { 73 | display: none; 74 | } 75 | } 76 | } 77 | 78 | &.major { 79 | li { 80 | &:before { 81 | width: 4em; 82 | left: -4em; 83 | } 84 | } 85 | } 86 | } 87 | 88 | @include breakpoint('<=large') { 89 | &.major { 90 | margin: 0 0 _size(element-margin) 0; 91 | 92 | li { 93 | padding: 1em !important; 94 | 95 | &:before { 96 | display: none; 97 | } 98 | } 99 | } 100 | 101 | &.style2 { 102 | li { 103 | &:before { 104 | display: none; 105 | } 106 | } 107 | } 108 | } 109 | 110 | @include breakpoint('<=medium') { 111 | &.major { 112 | max-width: 34em; 113 | margin-left: auto; 114 | margin-right: auto; 115 | 116 | li { 117 | .icon { 118 | &:before { 119 | } 120 | } 121 | } 122 | } 123 | } 124 | 125 | @include breakpoint('<=small') { 126 | &.major { 127 | max-width: 30em; 128 | 129 | li { 130 | padding: 0.75em !important; 131 | 132 | .icon { 133 | &:before { 134 | width: 2.75em; 135 | height: 2.75em; 136 | line-height: 2.75em; 137 | } 138 | } 139 | } 140 | } 141 | } 142 | 143 | @include breakpoint('<=xsmall') { 144 | &.major { 145 | max-width: 100%; 146 | 147 | li { 148 | padding: 0.5em !important; 149 | 150 | .icon { 151 | &:before { 152 | font-size: 1.75rem; 153 | } 154 | } 155 | } 156 | } 157 | } 158 | } 159 | 160 | @mixin color-icons($p: null) { 161 | ul.icons { 162 | li { 163 | a.icon { 164 | &:hover { 165 | &:before { 166 | background-color: _palette($p, border-bg); 167 | } 168 | } 169 | } 170 | } 171 | } 172 | } 173 | 174 | @include color-icons; -------------------------------------------------------------------------------- /sass/libs/_html-grid.scss: -------------------------------------------------------------------------------- 1 | // html-grid.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Mixins. 4 | 5 | /// Initializes the current element as an HTML grid. 6 | /// @param {mixed} $gutters Gutters (either a single number to set both column/row gutters, or a list to set them individually). 7 | /// @param {mixed} $suffix Column class suffix (optional; either a single suffix or a list). 8 | @mixin html-grid($gutters: 1.5em, $suffix: '') { 9 | 10 | // Initialize. 11 | $cols: 12; 12 | $multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00; 13 | $unit: 100% / $cols; 14 | 15 | // Suffixes. 16 | $suffixes: null; 17 | 18 | @if (type-of($suffix) == 'list') { 19 | $suffixes: $suffix; 20 | } 21 | @else { 22 | $suffixes: ($suffix); 23 | } 24 | 25 | // Gutters. 26 | $guttersCols: null; 27 | $guttersRows: null; 28 | 29 | @if (type-of($gutters) == 'list') { 30 | 31 | $guttersCols: nth($gutters, 1); 32 | $guttersRows: nth($gutters, 2); 33 | 34 | } 35 | @else { 36 | 37 | $guttersCols: $gutters; 38 | $guttersRows: 0; 39 | 40 | } 41 | 42 | // Row. 43 | display: flex; 44 | flex-wrap: wrap; 45 | box-sizing: border-box; 46 | align-items: stretch; 47 | 48 | // Columns. 49 | > * { 50 | box-sizing: border-box; 51 | } 52 | 53 | // Gutters. 54 | &.gtr-uniform { 55 | > * { 56 | > :last-child { 57 | margin-bottom: 0; 58 | } 59 | } 60 | } 61 | 62 | // Alignment. 63 | &.aln-left { 64 | justify-content: flex-start; 65 | } 66 | 67 | &.aln-center { 68 | justify-content: center; 69 | } 70 | 71 | &.aln-right { 72 | justify-content: flex-end; 73 | } 74 | 75 | &.aln-top { 76 | align-items: flex-start; 77 | } 78 | 79 | &.aln-middle { 80 | align-items: center; 81 | } 82 | 83 | &.aln-bottom { 84 | align-items: flex-end; 85 | } 86 | 87 | // Step through suffixes. 88 | @each $suffix in $suffixes { 89 | 90 | // Suffix. 91 | @if ($suffix != '') { 92 | $suffix: '-' + $suffix; 93 | } 94 | @else { 95 | $suffix: ''; 96 | } 97 | 98 | // Row. 99 | 100 | // Important. 101 | > .imp#{$suffix} { 102 | order: -1; 103 | } 104 | 105 | // Columns, offsets. 106 | @for $i from 1 through $cols { 107 | > .col-#{$i}#{$suffix} { 108 | width: $unit * $i; 109 | } 110 | 111 | > .off-#{$i}#{$suffix} { 112 | margin-left: $unit * $i; 113 | } 114 | } 115 | 116 | // Step through multipliers. 117 | @each $multiplier in $multipliers { 118 | 119 | // Gutters. 120 | $class: null; 121 | 122 | @if ($multiplier != 1) { 123 | $class: '.gtr-' + ($multiplier * 100); 124 | } 125 | 126 | &#{$class} { 127 | margin-top: ($guttersRows * $multiplier * -1); 128 | margin-left: ($guttersCols * $multiplier * -1); 129 | 130 | > * { 131 | padding: ($guttersRows * $multiplier) 0 0 ($guttersCols * $multiplier); 132 | } 133 | 134 | // Uniform. 135 | &.gtr-uniform { 136 | margin-top: $guttersCols * $multiplier * -1; 137 | 138 | > * { 139 | padding-top: $guttersCols * $multiplier; 140 | } 141 | } 142 | 143 | } 144 | 145 | } 146 | 147 | } 148 | 149 | } -------------------------------------------------------------------------------- /sass/layout/_header.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Header */ 8 | 9 | #header { 10 | position: fixed; 11 | right: 2em; 12 | top: 2em; 13 | z-index: _misc(z-index-base); 14 | 15 | ul { 16 | @include vendor('display', 'flex'); 17 | @include vendor('align-items', 'center'); 18 | list-style: none; 19 | margin: 0; 20 | padding: 0; 21 | 22 | li { 23 | display: block; 24 | padding: 0; 25 | 26 | a { 27 | display: block; 28 | position: relative; 29 | height: 3.75em; 30 | line-height: 3.75em; 31 | padding: 0 2em 0 0; 32 | border: 0; 33 | } 34 | 35 | a[href="#menu"] { 36 | $size: 0.8; 37 | 38 | @include vendor('transition', ( 39 | 'width #{_duration(transition)} ease', 40 | 'border-radius #{_duration(transition)} ease', 41 | 'color #{_duration(transition)} ease' 42 | )); 43 | -webkit-tap-highlight-color: transparent; 44 | background-color: transparentize(darken(_palette(fg), 5), 0.1); 45 | border-radius: 100%; 46 | color: _palette(fg); 47 | overflow: hidden; 48 | padding: 0; 49 | text-decoration: none; 50 | white-space: nowrap; 51 | font-size: (1em * $size); 52 | text-transform: uppercase; 53 | letter-spacing: 0.2em; 54 | text-indent: (-3.75em / $size); 55 | width: (3.75em / $size); 56 | height: (3.75em / $size); 57 | line-height: (3.75em / $size); 58 | 59 | &:before { 60 | @include vendor('transition', 'all #{_duration(transition)} ease'); 61 | content: ''; 62 | display: block; 63 | position: absolute; 64 | top: 0; 65 | right: 0; 66 | background-image: svg-url(''); 67 | background-position: center; 68 | background-repeat: no-repeat; 69 | width: (3.75em / $size); 70 | height: (3.75em / $size); 71 | background-size: (2em / $size); 72 | } 73 | 74 | &:hover { 75 | color: _palette(bg); 76 | text-indent: 0; 77 | width: (7.75em / $size); 78 | border-radius: (3.75em / $size); 79 | padding-left: (1.5em / $size); 80 | 81 | &:before { 82 | background-size: (1.25em / $size); 83 | } 84 | } 85 | } 86 | } 87 | } 88 | 89 | @include breakpoint('<=small') { 90 | right: 1em; 91 | top: 1em; 92 | 93 | ul { 94 | li { 95 | a { 96 | height: 3em; 97 | line-height: 3em; 98 | padding: 0 1em 0 0; 99 | } 100 | 101 | a[href="#menu"] { 102 | $size: 0.8; 103 | 104 | text-indent: (-3em / $size); 105 | width: (3em / $size); 106 | height: (3em / $size); 107 | line-height: (3em / $size); 108 | 109 | &:before { 110 | width: (3em / $size); 111 | height: (3em / $size); 112 | background-size: (1.75em / $size); 113 | } 114 | 115 | &:hover { 116 | border-radius: 100%; 117 | padding-left: 0; 118 | text-indent: (-3em / $size); 119 | width: (3em / $size); 120 | 121 | &:before { 122 | background-size: (1.75em / $size); 123 | } 124 | } 125 | } 126 | } 127 | } 128 | } 129 | } -------------------------------------------------------------------------------- /sass/layout/_menu.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Menu */ 8 | 9 | #menu { 10 | @include color(invert); 11 | @include vendor('display', 'flex'); 12 | @include vendor('flex-direction', 'column'); 13 | @include vendor('align-items', 'center'); 14 | @include vendor('justify-content', 'center'); 15 | @include vendor('pointer-events', 'none'); 16 | @include vendor('transition', ( 17 | 'opacity #{_duration(menu) * 0.5} ease', 18 | 'visibility #{_duration(menu) * 0.5}' 19 | )); 20 | background-color: _palette(invert, fg); 21 | height: 100%; 22 | opacity: 0; 23 | overflow: hidden; 24 | position: fixed; 25 | right: 0; 26 | text-align: center; 27 | top: 0; 28 | width: 100%; 29 | z-index: _misc(z-index-base); 30 | visibility: hidden; 31 | 32 | &:before { 33 | @include vendor('transition', ( 34 | 'width #{_duration(menu)} linear', 35 | 'height #{_duration(menu)} linear', 36 | 'top #{_duration(menu)} linear', 37 | 'right #{_duration(menu)} linear' 38 | )); 39 | position: absolute; 40 | content: ''; 41 | display: block; 42 | top: 2em; 43 | right: 2em; 44 | width: 3.75em; 45 | height: 3.75em; 46 | background-color: _palette(invert, bg); 47 | border-radius: 100%; 48 | z-index: -1; 49 | } 50 | 51 | > .close { 52 | @include vendor('transition', ( 53 | 'opacity #{_duration(menu)} ease', 54 | 'transform #{_duration(menu)} ease' 55 | )); 56 | @include vendor('transform', 'scale(0.25) rotate(-180deg)'); 57 | -webkit-tap-highlight-color: transparent; 58 | display: block; 59 | position: absolute; 60 | top: 2em; 61 | right: 2em; 62 | width: 3.75em; 63 | text-indent: 3.75em; 64 | height: 3.75em; 65 | border: 0; 66 | overflow: hidden; 67 | padding: 0; 68 | white-space: nowrap; 69 | 70 | &:before { 71 | content: ''; 72 | display: block; 73 | position: absolute; 74 | top: 0; 75 | left: 0; 76 | width: 100%; 77 | height: 100%; 78 | background-position: center; 79 | background-repeat: no-repeat; 80 | background-size: 2em; 81 | background-image: svg-url(''); 82 | } 83 | 84 | @include breakpoint('<=small') { 85 | top: 1em; 86 | right: 1em; 87 | width: 3em; 88 | text-indent: 3em; 89 | height: 3em; 90 | 91 | &:before { 92 | background-size: 1.75em; 93 | } 94 | } 95 | } 96 | 97 | > .inner { 98 | @include vendor('transition', 'opacity #{_duration(menu)} ease-in-out'); 99 | @include vendor('transition-delay', '#{_duration(menu) * 0.5}'); 100 | @include padding(3em, 3em); 101 | width: 24em; 102 | max-width: 100%; 103 | opacity: 0; 104 | overflow-y: auto; 105 | -webkit-overflow-scrolling: touch; 106 | 107 | @include breakpoint('<=small') { 108 | @include padding(3em, 2em); 109 | } 110 | 111 | @include breakpoint('<=xsmall') { 112 | @include padding(3em, 1.5em); 113 | width: 30em; 114 | } 115 | 116 | @include breakpoint('<=xxsmall') { 117 | @include padding(3em, 1em); 118 | } 119 | } 120 | 121 | h2 { 122 | font-size: 1.75em; 123 | } 124 | 125 | ul { 126 | &.links { 127 | list-style: none; 128 | padding: 0; 129 | 130 | li { 131 | padding: 0; 132 | border-top: solid 1px transparentize(_palette(invert, fg), 0.9); 133 | 134 | a { 135 | text-decoration: none; 136 | height: 3.5em; 137 | line-height: 3.5em; 138 | display: block; 139 | border: 0; 140 | } 141 | 142 | &:first-child { 143 | border-top: 0; 144 | } 145 | } 146 | } 147 | } 148 | 149 | &.visible { 150 | @include vendor('pointer-events', 'auto'); 151 | opacity: 1; 152 | visibility: visible; 153 | 154 | &:before { 155 | width: 400vw; 156 | width: 300vmax; 157 | height: 400vw; 158 | height: 300vmax; 159 | top: -150vw; 160 | right: -150vw; 161 | } 162 | 163 | > .close { 164 | @include vendor('transform', 'scale(1) rotate(0deg)'); 165 | } 166 | 167 | > .inner { 168 | opacity: 1; 169 | } 170 | } 171 | } -------------------------------------------------------------------------------- /sass/components/_wrapper.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Wrapper */ 8 | 9 | .wrapper { 10 | @include padding(7.5em, 0); 11 | 12 | > .inner { 13 | width: 72em; 14 | max-width: 100%; 15 | margin: 0 auto; 16 | 17 | @include breakpoint('<=xlarge') { 18 | width: 64em; 19 | } 20 | } 21 | 22 | &.style1 { 23 | } 24 | 25 | &.style2 { 26 | background-color: _palette(bg-alt); 27 | } 28 | 29 | &.style3 { 30 | @include color('invert'); 31 | @include vendor('background-image', ( 32 | 'linear-gradient(to top, #{transparentize(_palette(invert, bg), 0.3)}, #{transparentize(_palette(invert, bg), 0.3)})', 33 | 'url("../../images/pic05.jpg")' 34 | )); 35 | background-size: cover, cover; 36 | background-position: center, center; 37 | background-repeat: repeat, no-repeat; 38 | background-attachment: fixed; 39 | 40 | > .inner { 41 | &.split { 42 | @include breakpoint('<=medium') { 43 | > :first-child { 44 | border-bottom-color: _palette(invert, border-alt); 45 | } 46 | } 47 | } 48 | } 49 | } 50 | 51 | &.featured { 52 | text-align: center; 53 | 54 | > .inner { 55 | @include vendor('display', 'inline-flex'); 56 | @include vendor('flex-direction', 'row'); 57 | @include vendor('align-items', 'center'); 58 | padding: 2em 0; 59 | width: auto; 60 | text-align: left; 61 | 62 | > .image { 63 | display: block; 64 | margin: 0 (_size(element-margin) * 2) _size(element-margin) 0; 65 | width: 21em; 66 | 67 | img { 68 | border-radius: 100%; 69 | width: 100%; 70 | } 71 | } 72 | 73 | > .content { 74 | h1 { 75 | font-size: 4em; 76 | 77 | &:before { 78 | display: none; 79 | } 80 | } 81 | 82 | p { 83 | font-size: 1.5em; 84 | margin: 0 0 (_size(element-margin) * 0.75) 0; 85 | } 86 | } 87 | 88 | @include breakpoint('<=large') { 89 | padding: 0; 90 | 91 | > .content { 92 | h1 { 93 | font-size: 3.5em; 94 | } 95 | 96 | p { 97 | font-size: 1.25em; 98 | } 99 | } 100 | } 101 | 102 | @include breakpoint('<=medium') { 103 | display: block; 104 | text-align: center; 105 | 106 | > .image { 107 | margin: 0 auto (_size(element-margin) * 1.5) auto; 108 | width: 18em; 109 | } 110 | 111 | > .content { 112 | p { 113 | margin: 0 0 _size(element-margin) 0; 114 | } 115 | } 116 | } 117 | 118 | @include breakpoint('<=small') { 119 | > .image { 120 | margin: 0 auto (_size(element-margin) * 1.25) auto; 121 | width: 13em; 122 | } 123 | 124 | > .content { 125 | h1 { 126 | font-size: 2.5em; 127 | } 128 | 129 | p { 130 | font-size: 1em; 131 | } 132 | } 133 | } 134 | 135 | @include breakpoint('<=xxsmall') { 136 | > .image { 137 | margin: 0 auto (_size(element-margin) * 1) auto; 138 | width: 11em; 139 | } 140 | } 141 | } 142 | } 143 | 144 | &.split { 145 | > .inner { 146 | @include vendor('display', 'flex'); 147 | @include vendor('flex-direction', 'row'); 148 | 149 | > * { 150 | width: 50%; 151 | -ms-flex: 1; 152 | } 153 | 154 | > :first-child { 155 | margin-right: _size(element-margin); 156 | } 157 | 158 | > :last-child { 159 | margin-left: _size(element-margin); 160 | } 161 | 162 | @include breakpoint('<=large') { 163 | > :first-child { 164 | margin-right: (_size(element-margin) * 0.75); 165 | } 166 | 167 | > :last-child { 168 | margin-left: (_size(element-margin) * 0.75); 169 | } 170 | } 171 | 172 | @include breakpoint('<=medium') { 173 | display: block; 174 | text-align: center; 175 | 176 | header { 177 | h2, h3, h4, h5, h6 { 178 | &::before { 179 | margin-left: auto !important; 180 | margin-right: auto !important; 181 | } 182 | } 183 | } 184 | 185 | > * { 186 | width: 100%; 187 | } 188 | 189 | > :first-child { 190 | margin-right: 0; 191 | border-bottom: solid 1px _palette(border-alt); 192 | padding-bottom: _size(element-margin); 193 | margin-bottom: (_size(element-margin) * 2) !important; 194 | } 195 | 196 | > :last-child { 197 | margin-left: 0; 198 | } 199 | } 200 | } 201 | } 202 | 203 | @include breakpoint('<=large') { 204 | @include padding(6em, 3em); 205 | 206 | > .inner { 207 | width: 100%; 208 | } 209 | } 210 | 211 | @include breakpoint('<=small') { 212 | @include padding(4em, 2em); 213 | } 214 | 215 | @include breakpoint('<=xsmall') { 216 | @include padding(4em, 1.5em); 217 | } 218 | 219 | @include breakpoint('<=xxsmall') { 220 | @include padding(3em, 1em); 221 | } 222 | } -------------------------------------------------------------------------------- /sass/base/_typography.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Type */ 8 | 9 | body { 10 | background-color: _palette(bg); 11 | color: _palette(fg); 12 | } 13 | 14 | body, input, select, textarea { 15 | font-family: _font(family); 16 | font-size: 14pt; 17 | font-weight: _font(weight); 18 | line-height: 1.75; 19 | letter-spacing: 0.025em; 20 | 21 | @include breakpoint('<=xlarge') { 22 | font-size: 12pt; 23 | } 24 | 25 | @include breakpoint('<=large') { 26 | font-size: 11pt; 27 | } 28 | 29 | @include breakpoint('<=medium') { 30 | font-size: 12pt; 31 | } 32 | 33 | @include breakpoint('<=small') { 34 | font-size: 11pt; 35 | } 36 | 37 | @include breakpoint('<=xsmall') { 38 | font-size: 11pt; 39 | } 40 | 41 | @include breakpoint('<=xxsmall') { 42 | font-size: 10.5pt; 43 | } 44 | } 45 | 46 | input, select, textarea { 47 | color: inherit; 48 | } 49 | 50 | a { 51 | @include vendor('transition', 'border-bottom-color #{_duration(transition)} ease'); 52 | color: inherit; 53 | text-decoration: none; 54 | border-bottom: dotted 1px; 55 | 56 | &:hover { 57 | border-bottom-color: transparent; 58 | } 59 | } 60 | 61 | strong, b { 62 | color: inherit; 63 | font-weight: _font(weight-bold); 64 | } 65 | 66 | em, i { 67 | font-style: italic; 68 | } 69 | 70 | p { 71 | margin: 0 0 _size(element-margin) 0; 72 | } 73 | 74 | h1, h2, h3, h4, h5, h6 { 75 | color: inherit; 76 | font-weight: _font(weight); 77 | line-height: 1.5; 78 | margin: 0 0 1.75rem 0; 79 | letter-spacing: 0.05em; 80 | 81 | a { 82 | color: inherit; 83 | text-decoration: none; 84 | } 85 | 86 | @include breakpoint('<=large') { 87 | margin: 0 0 1.5rem 0; 88 | } 89 | 90 | @include breakpoint('<=small') { 91 | margin: 0 0 1.25rem 0; 92 | } 93 | } 94 | 95 | h1 { 96 | font-size: 3.25em; 97 | line-height: 1.1; 98 | margin: 0 0 1.5rem 0; 99 | letter-spacing: 0.025em; 100 | 101 | @include breakpoint('<=small') { 102 | font-size: 2em; 103 | line-height: 1.3; 104 | margin: 0 0 1rem 0; 105 | } 106 | } 107 | 108 | h2 { 109 | font-size: 2.5em; 110 | line-height: 1.3; 111 | 112 | @include breakpoint('<=large') { 113 | font-size: 2.25em; 114 | } 115 | 116 | @include breakpoint('<=small') { 117 | font-size: 1.5em; 118 | line-height: 1.5; 119 | } 120 | } 121 | 122 | h3 { 123 | font-size: 1.75em; 124 | 125 | @include breakpoint('<=small') { 126 | font-size: 1.25em; 127 | } 128 | } 129 | 130 | h4 { 131 | font-size: 1.1em; 132 | 133 | @include breakpoint('<=small') { 134 | font-size: 1em; 135 | } 136 | } 137 | 138 | h5 { 139 | font-size: 0.9em; 140 | } 141 | 142 | h6 { 143 | font-size: 0.7em; 144 | } 145 | 146 | sub { 147 | font-size: 0.8em; 148 | position: relative; 149 | top: 0.5em; 150 | } 151 | 152 | sup { 153 | font-size: 0.8em; 154 | position: relative; 155 | top: -0.5em; 156 | } 157 | 158 | blockquote { 159 | border-left: solid 4px; 160 | font-style: italic; 161 | margin: 0 0 _size(element-margin) 0; 162 | padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); 163 | } 164 | 165 | code { 166 | border-radius: _size(border-radius); 167 | font-family: _font(family-fixed); 168 | font-size: 0.9em; 169 | margin: 0 0.25em; 170 | padding: 0.25em 0.65em; 171 | } 172 | 173 | pre { 174 | -webkit-overflow-scrolling: touch; 175 | font-family: _font(family-fixed); 176 | font-size: 0.9em; 177 | margin: 0 0 _size(element-margin) 0; 178 | 179 | code { 180 | display: block; 181 | padding: 1em 1.5em; 182 | overflow-x: auto; 183 | } 184 | } 185 | 186 | hr { 187 | border: 0; 188 | border-bottom: solid 1px; 189 | margin: (_size(element-margin) * 1.5) 0; 190 | 191 | &.major { 192 | margin: (_size(element-margin) * 2.5) 0; 193 | } 194 | } 195 | 196 | .align-left { 197 | text-align: left; 198 | } 199 | 200 | .align-center { 201 | text-align: center; 202 | } 203 | 204 | .align-right { 205 | text-align: right; 206 | } 207 | 208 | @mixin color-typography($p: null) { 209 | @if $p != null { 210 | background-color: _palette($p, bg); 211 | color: _palette($p, fg); 212 | } 213 | 214 | blockquote { 215 | border-left-color: _palette($p, border-alt); 216 | } 217 | 218 | hr { 219 | border-bottom-color: _palette($p, border-alt); 220 | } 221 | 222 | code { 223 | background: _palette($p, border-bg); 224 | } 225 | } 226 | 227 | /* Text meant only for screen readers */ 228 | .screen-reader-text { 229 | border: 0; 230 | clip: rect(1px, 1px, 1px, 1px); 231 | height: 1px; 232 | overflow: hidden; 233 | padding: 0; 234 | position: absolute !important; 235 | width: 1px; 236 | } 237 | 238 | @include color-typography; -------------------------------------------------------------------------------- /sass/libs/_breakpoints.scss: -------------------------------------------------------------------------------- 1 | // breakpoints.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Vars. 4 | 5 | /// Breakpoints. 6 | /// @var {list} 7 | $breakpoints: () !global; 8 | 9 | // Mixins. 10 | 11 | /// Sets breakpoints. 12 | /// @param {map} $x Breakpoints. 13 | @mixin breakpoints($x: ()) { 14 | $breakpoints: $x !global; 15 | } 16 | 17 | /// Wraps @content in a @media block targeting a specific orientation. 18 | /// @param {string} $orientation Orientation. 19 | @mixin orientation($orientation) { 20 | @media screen and (orientation: #{$orientation}) { 21 | @content; 22 | } 23 | } 24 | 25 | /// Wraps @content in a @media block using a given query. 26 | /// @param {string} $query Query. 27 | @mixin breakpoint($query: null) { 28 | 29 | $breakpoint: null; 30 | $op: null; 31 | $media: null; 32 | 33 | // Determine operator, breakpoint. 34 | 35 | // Greater than or equal. 36 | @if (str-slice($query, 0, 2) == '>=') { 37 | 38 | $op: 'gte'; 39 | $breakpoint: str-slice($query, 3); 40 | 41 | } 42 | 43 | // Less than or equal. 44 | @elseif (str-slice($query, 0, 2) == '<=') { 45 | 46 | $op: 'lte'; 47 | $breakpoint: str-slice($query, 3); 48 | 49 | } 50 | 51 | // Greater than. 52 | @elseif (str-slice($query, 0, 1) == '>') { 53 | 54 | $op: 'gt'; 55 | $breakpoint: str-slice($query, 2); 56 | 57 | } 58 | 59 | // Less than. 60 | @elseif (str-slice($query, 0, 1) == '<') { 61 | 62 | $op: 'lt'; 63 | $breakpoint: str-slice($query, 2); 64 | 65 | } 66 | 67 | // Not. 68 | @elseif (str-slice($query, 0, 1) == '!') { 69 | 70 | $op: 'not'; 71 | $breakpoint: str-slice($query, 2); 72 | 73 | } 74 | 75 | // Equal. 76 | @else { 77 | 78 | $op: 'eq'; 79 | $breakpoint: $query; 80 | 81 | } 82 | 83 | // Build media. 84 | @if ($breakpoint and map-has-key($breakpoints, $breakpoint)) { 85 | 86 | $a: map-get($breakpoints, $breakpoint); 87 | 88 | // Range. 89 | @if (type-of($a) == 'list') { 90 | 91 | $x: nth($a, 1); 92 | $y: nth($a, 2); 93 | 94 | // Max only. 95 | @if ($x == null) { 96 | 97 | // Greater than or equal (>= 0 / anything) 98 | @if ($op == 'gte') { 99 | $media: 'screen'; 100 | } 101 | 102 | // Less than or equal (<= y) 103 | @elseif ($op == 'lte') { 104 | $media: 'screen and (max-width: ' + $y + ')'; 105 | } 106 | 107 | // Greater than (> y) 108 | @elseif ($op == 'gt') { 109 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 110 | } 111 | 112 | // Less than (< 0 / invalid) 113 | @elseif ($op == 'lt') { 114 | $media: 'screen and (max-width: -1px)'; 115 | } 116 | 117 | // Not (> y) 118 | @elseif ($op == 'not') { 119 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 120 | } 121 | 122 | // Equal (<= y) 123 | @else { 124 | $media: 'screen and (max-width: ' + $y + ')'; 125 | } 126 | 127 | } 128 | 129 | // Min only. 130 | @else if ($y == null) { 131 | 132 | // Greater than or equal (>= x) 133 | @if ($op == 'gte') { 134 | $media: 'screen and (min-width: ' + $x + ')'; 135 | } 136 | 137 | // Less than or equal (<= inf / anything) 138 | @elseif ($op == 'lte') { 139 | $media: 'screen'; 140 | } 141 | 142 | // Greater than (> inf / invalid) 143 | @elseif ($op == 'gt') { 144 | $media: 'screen and (max-width: -1px)'; 145 | } 146 | 147 | // Less than (< x) 148 | @elseif ($op == 'lt') { 149 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 150 | } 151 | 152 | // Not (< x) 153 | @elseif ($op == 'not') { 154 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 155 | } 156 | 157 | // Equal (>= x) 158 | @else { 159 | $media: 'screen and (min-width: ' + $x + ')'; 160 | } 161 | 162 | } 163 | 164 | // Min and max. 165 | @else { 166 | 167 | // Greater than or equal (>= x) 168 | @if ($op == 'gte') { 169 | $media: 'screen and (min-width: ' + $x + ')'; 170 | } 171 | 172 | // Less than or equal (<= y) 173 | @elseif ($op == 'lte') { 174 | $media: 'screen and (max-width: ' + $y + ')'; 175 | } 176 | 177 | // Greater than (> y) 178 | @elseif ($op == 'gt') { 179 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 180 | } 181 | 182 | // Less than (< x) 183 | @elseif ($op == 'lt') { 184 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 185 | } 186 | 187 | // Not (< x and > y) 188 | @elseif ($op == 'not') { 189 | $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; 190 | } 191 | 192 | // Equal (>= x and <= y) 193 | @else { 194 | $media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')'; 195 | } 196 | 197 | } 198 | 199 | } 200 | 201 | // String. 202 | @else { 203 | 204 | // Missing a media type? Prefix with "screen". 205 | @if (str-slice($a, 0, 1) == '(') { 206 | $media: 'screen and ' + $a; 207 | } 208 | 209 | // Otherwise, use as-is. 210 | @else { 211 | $media: $a; 212 | } 213 | 214 | } 215 | 216 | } 217 | 218 | // Output. 219 | @media #{$media} { 220 | @content; 221 | } 222 | 223 | } -------------------------------------------------------------------------------- /sass/components/_form.scss: -------------------------------------------------------------------------------- 1 | /// 2 | /// Reflex by Pixelarity 3 | /// pixelarity.com | hello@pixelarity.com 4 | /// License: pixelarity.com/license 5 | /// 6 | 7 | /* Form */ 8 | 9 | form { 10 | margin: 0 0 _size(element-margin) 0; 11 | 12 | > :last-child { 13 | margin-bottom: 0; 14 | } 15 | 16 | > .fields { 17 | $gutter: (_size(element-margin) * 0.75); 18 | 19 | @include vendor('display', 'flex'); 20 | @include vendor('flex-wrap', 'wrap'); 21 | width: calc(100% + #{$gutter * 2}); 22 | margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1); 23 | 24 | > .field { 25 | @include vendor('flex-grow', '0'); 26 | @include vendor('flex-shrink', '0'); 27 | padding: $gutter 0 0 $gutter; 28 | width: calc(100% - #{$gutter * 1}); 29 | 30 | &.half { 31 | width: calc(50% - #{$gutter * 0.5}); 32 | } 33 | 34 | &.third { 35 | width: calc(#{100% / 3} - #{$gutter * (1 / 3)}); 36 | } 37 | 38 | &.quarter { 39 | width: calc(25% - #{$gutter * 0.25}); 40 | } 41 | } 42 | } 43 | 44 | @include breakpoint('<=xsmall') { 45 | overflow: hidden; 46 | 47 | > .fields { 48 | $gutter: (_size(element-margin) * 0.75); 49 | 50 | width: calc(100% + #{$gutter * 2}); 51 | margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1); 52 | 53 | > .field { 54 | padding: $gutter 0 0 $gutter; 55 | width: calc(100% - #{$gutter * 1}); 56 | 57 | &.half { 58 | width: calc(100% - #{$gutter * 1}); 59 | } 60 | 61 | &.third { 62 | width: calc(100% - #{$gutter * 1}); 63 | } 64 | 65 | &.quarter { 66 | width: calc(100% - #{$gutter * 1}); 67 | } 68 | } 69 | } 70 | } 71 | } 72 | 73 | label { 74 | color: inherit; 75 | display: block; 76 | font-size: 0.9em; 77 | font-weight: _font(weight-bold); 78 | margin: 0 0 (_size(element-margin) * 0.5) 0; 79 | } 80 | 81 | input[type="text"], 82 | input[type="password"], 83 | input[type="email"], 84 | select, 85 | textarea { 86 | @include vendor('appearance', 'none'); 87 | border-radius: _size(border-radius); 88 | border: none; 89 | border: solid 1px; 90 | color: inherit; 91 | display: block; 92 | outline: 0; 93 | padding: 0 1em; 94 | text-decoration: none; 95 | width: 100%; 96 | 97 | &:invalid { 98 | box-shadow: none; 99 | } 100 | } 101 | 102 | select { 103 | background-size: 1.25em; 104 | background-repeat: no-repeat; 105 | background-position: calc(100% - 1em) center; 106 | height: _size(element-height); 107 | padding-right: _size(element-height); 108 | text-overflow: ellipsis; 109 | 110 | &:focus { 111 | &::-ms-value { 112 | background-color: transparent; 113 | } 114 | } 115 | 116 | &::-ms-expand { 117 | display: none; 118 | } 119 | } 120 | 121 | input[type="text"], 122 | input[type="password"], 123 | input[type="email"], 124 | select { 125 | height: _size(element-height); 126 | } 127 | 128 | textarea { 129 | padding: 0.75em 1em; 130 | } 131 | 132 | input[type="checkbox"], 133 | input[type="radio"], { 134 | @include vendor('appearance', 'none'); 135 | display: block; 136 | float: left; 137 | margin-right: -2em; 138 | opacity: 0; 139 | width: 1em; 140 | z-index: -1; 141 | 142 | & + label { 143 | @include icon; 144 | color: inherit; 145 | cursor: pointer; 146 | display: inline-block; 147 | font-size: 1em; 148 | font-weight: _font(weight); 149 | padding-left: (_size(element-height) * 0.6) + 0.75em; 150 | padding-right: 0.75em; 151 | position: relative; 152 | 153 | &:before { 154 | border-radius: _size(border-radius); 155 | border: solid 1px; 156 | content: ''; 157 | display: inline-block; 158 | height: (_size(element-height) * 0.6); 159 | left: 0; 160 | line-height: (_size(element-height) * 0.575); 161 | position: absolute; 162 | text-align: center; 163 | top: 0; 164 | width: (_size(element-height) * 0.6); 165 | } 166 | } 167 | 168 | &:checked + label { 169 | &:before { 170 | content: '\f00c'; 171 | } 172 | } 173 | } 174 | 175 | input[type="checkbox"] { 176 | & + label { 177 | &:before { 178 | border-radius: _size(border-radius); 179 | } 180 | } 181 | } 182 | 183 | input[type="radio"] { 184 | & + label { 185 | &:before { 186 | border-radius: 100%; 187 | } 188 | } 189 | } 190 | 191 | ::-webkit-input-placeholder { 192 | color: inherit !important; 193 | opacity: 0.5; 194 | } 195 | 196 | :-moz-placeholder { 197 | color: inherit !important; 198 | opacity: 0.5; 199 | } 200 | 201 | ::-moz-placeholder { 202 | color: inherit !important; 203 | opacity: 0.5; 204 | } 205 | 206 | :-ms-input-placeholder { 207 | color: inherit !important; 208 | opacity: 0.5; 209 | } 210 | 211 | @mixin color-form($p: null) { 212 | select { 213 | background-image: svg-url(""); 214 | 215 | option { 216 | color: _palette($p, fg-bold); 217 | background: _palette($p, bg); 218 | } 219 | } 220 | 221 | @if ($p == 'invert') { 222 | input[type="text"], 223 | input[type="password"], 224 | input[type="email"], 225 | select, 226 | textarea { 227 | background-color: _palette($p, border-bg); 228 | border-color: inherit; 229 | 230 | &:focus { 231 | background: _palette($p, border-alt); 232 | box-shadow: 0 0 0 1px _palette($p, border); 233 | } 234 | } 235 | 236 | input[type="checkbox"], 237 | input[type="radio"], { 238 | & + label { 239 | &:before { 240 | background: _palette($p, border-bg); 241 | border-color: inherit; 242 | } 243 | } 244 | 245 | &:focus + label { 246 | &:before { 247 | background: _palette($p, border-bg); 248 | box-shadow: 0 0 0 1px _palette($p, border); 249 | } 250 | } 251 | 252 | &:checked + label { 253 | &:before { 254 | background-color: _palette($p, fg); 255 | border-color: _palette($p, fg); 256 | color: _palette($p, bg); 257 | } 258 | } 259 | } 260 | } 261 | @else { 262 | input[type="text"], 263 | input[type="password"], 264 | input[type="email"], 265 | select, 266 | textarea { 267 | background-color: _palette($p, bg); 268 | border-color: _palette($p, border-alt); 269 | 270 | &:focus { 271 | border-color: _palette($p, border); 272 | box-shadow: 0 0 0 1px _palette($p, border); 273 | } 274 | } 275 | 276 | input[type="checkbox"], 277 | input[type="radio"], { 278 | & + label { 279 | &:before { 280 | background: _palette($p, bg); 281 | border-color: _palette($p, border-alt); 282 | } 283 | } 284 | 285 | &:focus + label { 286 | &:before { 287 | box-shadow: 0 0 0 1px _palette($p, border); 288 | border-color: _palette($p, border); 289 | } 290 | } 291 | 292 | &:checked + label { 293 | &:before { 294 | background-color: _palette($p, fg); 295 | border-color: _palette($p, fg); 296 | color: _palette($p, bg); 297 | } 298 | } 299 | } 300 | } 301 | } 302 | 303 | @include color-form; -------------------------------------------------------------------------------- /sass/libs/_vendor.scss: -------------------------------------------------------------------------------- 1 | // vendor.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Vars. 4 | 5 | /// Vendor prefixes. 6 | /// @var {list} 7 | $vendor-prefixes: ( 8 | '-moz-', 9 | '-webkit-', 10 | '-ms-', 11 | '' 12 | ); 13 | 14 | /// Properties that should be vendorized. 15 | /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org 16 | /// @var {list} 17 | $vendor-properties: ( 18 | 19 | // Animation. 20 | 'animation', 21 | 'animation-delay', 22 | 'animation-direction', 23 | 'animation-duration', 24 | 'animation-fill-mode', 25 | 'animation-iteration-count', 26 | 'animation-name', 27 | 'animation-play-state', 28 | 'animation-timing-function', 29 | 30 | // Appearance. 31 | 'appearance', 32 | 33 | // Backdrop filter. 34 | 'backdrop-filter', 35 | 36 | // Background image options. 37 | 'background-clip', 38 | 'background-origin', 39 | 'background-size', 40 | 41 | // Box sizing. 42 | 'box-sizing', 43 | 44 | // Clip path. 45 | 'clip-path', 46 | 47 | // Filter effects. 48 | 'filter', 49 | 50 | // Flexbox. 51 | 'align-content', 52 | 'align-items', 53 | 'align-self', 54 | 'flex', 55 | 'flex-basis', 56 | 'flex-direction', 57 | 'flex-flow', 58 | 'flex-grow', 59 | 'flex-shrink', 60 | 'flex-wrap', 61 | 'justify-content', 62 | 'order', 63 | 64 | // Font feature. 65 | 'font-feature-settings', 66 | 'font-language-override', 67 | 'font-variant-ligatures', 68 | 69 | // Font kerning. 70 | 'font-kerning', 71 | 72 | // Fragmented borders and backgrounds. 73 | 'box-decoration-break', 74 | 75 | // Grid layout. 76 | 'grid-column', 77 | 'grid-column-align', 78 | 'grid-column-end', 79 | 'grid-column-start', 80 | 'grid-row', 81 | 'grid-row-align', 82 | 'grid-row-end', 83 | 'grid-row-start', 84 | 'grid-template-columns', 85 | 'grid-template-rows', 86 | 87 | // Hyphens. 88 | 'hyphens', 89 | 'word-break', 90 | 91 | // Masks. 92 | 'mask', 93 | 'mask-border', 94 | 'mask-border-outset', 95 | 'mask-border-repeat', 96 | 'mask-border-slice', 97 | 'mask-border-source', 98 | 'mask-border-width', 99 | 'mask-clip', 100 | 'mask-composite', 101 | 'mask-image', 102 | 'mask-origin', 103 | 'mask-position', 104 | 'mask-repeat', 105 | 'mask-size', 106 | 107 | // Multicolumn. 108 | 'break-after', 109 | 'break-before', 110 | 'break-inside', 111 | 'column-count', 112 | 'column-fill', 113 | 'column-gap', 114 | 'column-rule', 115 | 'column-rule-color', 116 | 'column-rule-style', 117 | 'column-rule-width', 118 | 'column-span', 119 | 'column-width', 120 | 'columns', 121 | 122 | // Object fit. 123 | 'object-fit', 124 | 'object-position', 125 | 126 | // Regions. 127 | 'flow-from', 128 | 'flow-into', 129 | 'region-fragment', 130 | 131 | // Scroll snap points. 132 | 'scroll-snap-coordinate', 133 | 'scroll-snap-destination', 134 | 'scroll-snap-points-x', 135 | 'scroll-snap-points-y', 136 | 'scroll-snap-type', 137 | 138 | // Shapes. 139 | 'shape-image-threshold', 140 | 'shape-margin', 141 | 'shape-outside', 142 | 143 | // Tab size. 144 | 'tab-size', 145 | 146 | // Text align last. 147 | 'text-align-last', 148 | 149 | // Text decoration. 150 | 'text-decoration-color', 151 | 'text-decoration-line', 152 | 'text-decoration-skip', 153 | 'text-decoration-style', 154 | 155 | // Text emphasis. 156 | 'text-emphasis', 157 | 'text-emphasis-color', 158 | 'text-emphasis-position', 159 | 'text-emphasis-style', 160 | 161 | // Text size adjust. 162 | 'text-size-adjust', 163 | 164 | // Text spacing. 165 | 'text-spacing', 166 | 167 | // Transform. 168 | 'transform', 169 | 'transform-origin', 170 | 171 | // Transform 3D. 172 | 'backface-visibility', 173 | 'perspective', 174 | 'perspective-origin', 175 | 'transform-style', 176 | 177 | // Transition. 178 | 'transition', 179 | 'transition-delay', 180 | 'transition-duration', 181 | 'transition-property', 182 | 'transition-timing-function', 183 | 184 | // Unicode bidi. 185 | 'unicode-bidi', 186 | 187 | // User select. 188 | 'user-select', 189 | 190 | // Writing mode. 191 | 'writing-mode', 192 | 193 | ); 194 | 195 | /// Values that should be vendorized. 196 | /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org 197 | /// @var {list} 198 | $vendor-values: ( 199 | 200 | // Cross fade. 201 | 'cross-fade', 202 | 203 | // Element function. 204 | 'element', 205 | 206 | // Filter function. 207 | 'filter', 208 | 209 | // Flexbox. 210 | 'flex', 211 | 'inline-flex', 212 | 213 | // Grab cursors. 214 | 'grab', 215 | 'grabbing', 216 | 217 | // Gradients. 218 | 'linear-gradient', 219 | 'repeating-linear-gradient', 220 | 'radial-gradient', 221 | 'repeating-radial-gradient', 222 | 223 | // Grid layout. 224 | 'grid', 225 | 'inline-grid', 226 | 227 | // Image set. 228 | 'image-set', 229 | 230 | // Intrinsic width. 231 | 'max-content', 232 | 'min-content', 233 | 'fit-content', 234 | 'fill', 235 | 'fill-available', 236 | 'stretch', 237 | 238 | // Sticky position. 239 | 'sticky', 240 | 241 | // Transform. 242 | 'transform', 243 | 244 | // Zoom cursors. 245 | 'zoom-in', 246 | 'zoom-out', 247 | 248 | ); 249 | 250 | // Functions. 251 | 252 | /// Removes a specific item from a list. 253 | /// @author Hugo Giraudel 254 | /// @param {list} $list List. 255 | /// @param {integer} $index Index. 256 | /// @return {list} Updated list. 257 | @function remove-nth($list, $index) { 258 | 259 | $result: null; 260 | 261 | @if type-of($index) != number { 262 | @warn "$index: #{quote($index)} is not a number for `remove-nth`."; 263 | } 264 | @else if $index == 0 { 265 | @warn "List index 0 must be a non-zero integer for `remove-nth`."; 266 | } 267 | @else if abs($index) > length($list) { 268 | @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; 269 | } 270 | @else { 271 | 272 | $result: (); 273 | $index: if($index < 0, length($list) + $index + 1, $index); 274 | 275 | @for $i from 1 through length($list) { 276 | 277 | @if $i != $index { 278 | $result: append($result, nth($list, $i)); 279 | } 280 | 281 | } 282 | 283 | } 284 | 285 | @return $result; 286 | 287 | } 288 | 289 | /// Replaces a substring within another string. 290 | /// @author Hugo Giraudel 291 | /// @param {string} $string String. 292 | /// @param {string} $search Substring. 293 | /// @param {string} $replace Replacement. 294 | /// @return {string} Updated string. 295 | @function str-replace($string, $search, $replace: '') { 296 | 297 | $index: str-index($string, $search); 298 | 299 | @if $index { 300 | @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); 301 | } 302 | 303 | @return $string; 304 | 305 | } 306 | 307 | /// Replaces a substring within each string in a list. 308 | /// @param {list} $strings List of strings. 309 | /// @param {string} $search Substring. 310 | /// @param {string} $replace Replacement. 311 | /// @return {list} Updated list of strings. 312 | @function str-replace-all($strings, $search, $replace: '') { 313 | 314 | @each $string in $strings { 315 | $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); 316 | } 317 | 318 | @return $strings; 319 | 320 | } 321 | 322 | // Mixins. 323 | 324 | /// Wraps @content in vendorized keyframe blocks. 325 | /// @param {string} $name Name. 326 | @mixin keyframes($name) { 327 | 328 | @-moz-keyframes #{$name} { @content; } 329 | @-webkit-keyframes #{$name} { @content; } 330 | @-ms-keyframes #{$name} { @content; } 331 | @keyframes #{$name} { @content; } 332 | 333 | } 334 | 335 | /// Vendorizes a declaration's property and/or value(s). 336 | /// @param {string} $property Property. 337 | /// @param {mixed} $value String/list of value(s). 338 | @mixin vendor($property, $value) { 339 | 340 | // Determine if property should expand. 341 | $expandProperty: index($vendor-properties, $property); 342 | 343 | // Determine if value should expand (and if so, add '-prefix-' placeholder). 344 | $expandValue: false; 345 | 346 | @each $x in $value { 347 | @each $y in $vendor-values { 348 | @if $y == str-slice($x, 1, str-length($y)) { 349 | 350 | $value: set-nth($value, index($value, $x), '-prefix-' + $x); 351 | $expandValue: true; 352 | 353 | } 354 | } 355 | } 356 | 357 | // Expand property? 358 | @if $expandProperty { 359 | @each $vendor in $vendor-prefixes { 360 | #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 361 | } 362 | } 363 | 364 | // Expand just the value? 365 | @elseif $expandValue { 366 | @each $vendor in $vendor-prefixes { 367 | #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 368 | } 369 | } 370 | 371 | // Neither? Treat them as a normal declaration. 372 | @else { 373 | #{$property}: #{$value}; 374 | } 375 | 376 | } -------------------------------------------------------------------------------- /stackbit.yaml: -------------------------------------------------------------------------------- 1 | stackbitVersion: ~0.2.0 2 | ssgName: unibit 3 | buildCommand: unibit build 4 | publishDir: output 5 | staticDir: static 6 | uploadDir: images 7 | dataDir: data 8 | pagesDir: content 9 | pageLayoutKey: layout 10 | metadata: 11 | title: Reflex 12 | description: a multipage theme with posts 13 | author: Pixelarity 14 | authorURL: 'https://pixelarity.com' 15 | images: 16 | small: images/demo-256x192.png 17 | large: images/demo-1024x768.png 18 | models: 19 | config: 20 | type: config 21 | label: Config 22 | fields: 23 | - type: string 24 | name: none 25 | label: None 26 | hidden: true 27 | description: 'Just an empty param, allows the site params to be displayed properl' 28 | menu: 29 | type: data 30 | file: menu.yml 31 | label: Menu Configuration 32 | fields: 33 | - type: list 34 | name: actions 35 | label: Menu Action Buttons 36 | description: The action buttons displayed at the bottom of the menu 37 | items: 38 | type: action 39 | social: 40 | type: data 41 | file: social.yml 42 | label: Social Configuration 43 | fields: 44 | - type: boolean 45 | name: enabled 46 | label: Enabled 47 | default: false 48 | description: Displays the social section in the page footer 49 | - type: string 50 | name: title 51 | label: Section Title 52 | description: The bold text displayed at the top of the section 53 | - type: markdown 54 | name: social_content 55 | label: Section Text 56 | description: The text displayed below the section title 57 | - type: list 58 | name: social_links 59 | label: Social Media 60 | description: A list of social media icons displayed along the bottom of the section 61 | items: 62 | type: object 63 | labelField: title 64 | fields: 65 | - type: string 66 | name: title 67 | label: Icon Title 68 | required: true 69 | - type: string 70 | name: icon 71 | label: Icon 72 | required: true 73 | description: Font Awesome icon 74 | - type: string 75 | name: link_url 76 | label: URL 77 | widget: url 78 | footer: 79 | type: data 80 | file: footer.yml 81 | label: Footer Configuration 82 | fields: 83 | - type: boolean 84 | name: enable_contact_section 85 | label: Enable Contact Section 86 | default: false 87 | description: Displays the contact section in the page footer 88 | - type: string 89 | name: copyright 90 | label: Copyright Text 91 | description: The text displayed at the bottom of the site footer 92 | - type: list 93 | name: links 94 | label: Links 95 | description: A list of links displayed in the footer. 96 | items: 97 | type: object 98 | labelField: text 99 | fields: 100 | - type: string 101 | name: text 102 | label: Link text 103 | - type: string 104 | name: url 105 | label: URL 106 | widget: url 107 | - type: boolean 108 | name: new_window 109 | label: Open in new window 110 | default: true 111 | home: 112 | type: page 113 | label: Home 114 | hideContent: true 115 | singleInstance: true 116 | template: home 117 | file: index.md 118 | fields: 119 | - type: string 120 | name: title 121 | label: Page Title 122 | required: true 123 | - type: list 124 | name: sections 125 | label: Sections 126 | description: Home Sections 127 | items: 128 | type: reference 129 | labelField: title 130 | models: 131 | - intro 132 | - features 133 | - spotlight 134 | - mission 135 | page: 136 | type: page 137 | label: Page 138 | template: page 139 | exclude: posts/** 140 | fields: 141 | - type: string 142 | name: title 143 | label: Page Title 144 | required: true 145 | - type: markdown 146 | name: subtitle 147 | label: Page Subtitle 148 | description: The text displayed below the page title 149 | - type: image 150 | name: img_path 151 | label: Content Image 152 | description: The image displayed in the page content 153 | post: 154 | type: page 155 | label: Post 156 | template: page 157 | folder: posts 158 | fields: 159 | - type: string 160 | name: title 161 | label: Page Title 162 | required: true 163 | - type: markdown 164 | name: subtitle 165 | label: Page Subtitle 166 | description: The text displayed below the page title 167 | - type: markdown 168 | name: excerpt 169 | label: Post Excerpt 170 | description: The excerpt displayed in the spotlights section of the home page 171 | - type: image 172 | name: img_path 173 | label: Content Image 174 | description: The image displayed in the page content 175 | - type: string 176 | name: post_button_label 177 | label: Spotlights Button label 178 | description: The text displayed in the home spotligh button 179 | - type: date 180 | name: date 181 | label: Post Date 182 | required: true 183 | elements: 184 | type: page 185 | label: Elements 186 | hideContent: true 187 | singleInstance: true 188 | template: elements 189 | file: elements.md 190 | fields: 191 | - type: string 192 | name: title 193 | label: Page Title 194 | required: true 195 | section: 196 | type: object 197 | label: Section 198 | labelField: title 199 | fields: 200 | - type: string 201 | name: title 202 | label: Section Title 203 | required: true 204 | description: The bold text displayed at the top of the section 205 | - type: markdown 206 | name: content 207 | label: Section Content 208 | description: The text displayed as section content 209 | - type: list 210 | name: actions 211 | label: Section Action Buttons 212 | items: 213 | type: action 214 | - type: string 215 | name: component 216 | label: Section Component 217 | required: true 218 | hidden: true 219 | intro: 220 | type: object 221 | label: Intro Section 222 | extends: 223 | - section 224 | fields: 225 | - name: title 226 | default: Reflex 227 | - type: image 228 | name: img_path 229 | label: Image 230 | description: The image displayed on the left side of the section 231 | - name: component 232 | const: intro.html 233 | features: 234 | type: object 235 | label: Features Section 236 | extends: 237 | - section 238 | fields: 239 | - name: title 240 | default: Ipsum malesuada 241 | - type: markdown 242 | name: subtitle 243 | label: Section Subtitle 244 | description: The text displayed below the section title 245 | - type: list 246 | name: symbol_display 247 | label: Icon Circles 248 | description: The icons displayed below the section subtitle 249 | items: 250 | type: object 251 | labelField: title 252 | fields: 253 | - type: string 254 | name: title 255 | label: Icon Title 256 | required: true 257 | - type: string 258 | name: icon 259 | label: Icon 260 | required: true 261 | description: Font Awesome icon 262 | - name: component 263 | const: features.html 264 | spotlight: 265 | type: object 266 | label: Spotlight Section 267 | extends: 268 | - section 269 | fields: 270 | - name: title 271 | default: Duis torquent 272 | - type: markdown 273 | name: subtitle 274 | label: Section Subtitle 275 | description: The text displayed below the section title 276 | - name: component 277 | const: spotlight.html 278 | mission: 279 | type: object 280 | label: Mission Section 281 | extends: 282 | - section 283 | fields: 284 | - name: title 285 | default: Amet ullamcorper 286 | - name: component 287 | const: mission.html 288 | action: 289 | type: object 290 | label: Action 291 | labelField: label 292 | fields: 293 | - type: string 294 | name: label 295 | label: Button Label 296 | required: true 297 | description: The text displayed inside the button 298 | - type: string 299 | name: url 300 | label: Button URL 301 | widget: url 302 | - type: boolean 303 | name: is_scrolly 304 | label: Is Scrolly 305 | default: false 306 | description: >- 307 | Gives the button a scroll animation (if the button URL is a section 308 | ID) 309 | - type: boolean 310 | name: is_primary 311 | label: Is Primary 312 | default: false 313 | description: Gives the button a primary color scheme 314 | stackbit_banner: 315 | show_banner: true 316 | name: Reflex 317 | create_url: 'https://app.stackbit.com/create?theme=reflex' 318 | github_url: 'https://github.com/stackbithq/stackbit-theme-reflex' 319 | -------------------------------------------------------------------------------- /static/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); -------------------------------------------------------------------------------- /templates/elements.html: -------------------------------------------------------------------------------- 1 | {% extends "body.html" %} 2 | 3 | {% block content %} 4 | 5 |
6 |
7 |
8 |

Elements

9 |

Lorem ipsum dolor sit magna consectetur

10 |
11 | 12 |
13 |

Text

14 |

This is bold and this is strong. This is italic and this is emphasized. 15 | This is superscript text and this is subscript text. 16 | This is underlined and this is code: for (;;) { ... }. Finally, this is a link.

17 |
18 |

Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

19 |
20 |

Heading Level 2

21 |

Heading Level 3

22 |

Heading Level 4

23 |
24 |

Blockquote

25 |
Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan faucibus. Vestibulum ante ipsum primis in faucibus lorem ipsum dolor sit amet nullam adipiscing eu felis.
26 |

Preformatted

27 |
i = 0;
 28 | while (!deck.isInOrder()) {
 29 |     print 'Iteration ' + i;
 30 |     deck.shuffle();
 31 |     i++;
 32 | }
 33 | print 'It took ' + i + ' iterations to sort the deck.';
34 |
35 | 36 |
37 |

Lists

38 |
39 |
40 |

Unordered

41 |
    42 |
  • Dolor pulvinar etiam.
  • 43 |
  • Sagittis adipiscing.
  • 44 |
  • Felis enim feugiat.
  • 45 |
46 |

Alternate

47 |
    48 |
  • Dolor pulvinar etiam.
  • 49 |
  • Sagittis adipiscing.
  • 50 |
  • Felis enim feugiat.
  • 51 |
52 |
53 |
54 |

Ordered

55 |
    56 |
  1. Dolor pulvinar etiam.
  2. 57 |
  3. Etiam vel felis viverra.
  4. 58 |
  5. Felis enim feugiat.
  6. 59 |
  7. Dolor pulvinar etiam.
  8. 60 |
  9. Etiam vel felis lorem.
  10. 61 |
  11. Felis enim et feugiat.
  12. 62 |
63 |

Icons

64 | 70 |
71 |
72 |

Actions

73 |
74 |
75 | 79 | 83 | 87 | 91 |
92 |
93 | 97 | 101 |
102 |
103 |
104 | 105 |
106 |

Table

107 |

Default

108 |
109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 |
NameDescriptionPrice
Item OneAnte turpis integer aliquet porttitor.29.99
Item TwoVis ac commodo adipiscing arcu aliquet.19.99
Item Three Morbi faucibus arcu accumsan lorem.29.99
Item FourVitae integer tempus condimentum.19.99
Item FiveAnte turpis integer aliquet porttitor.29.99
100.00
151 |
152 |

Alternate

153 |
154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 |
NameDescriptionPrice
Item OneAnte turpis integer aliquet porttitor.29.99
Item TwoVis ac commodo adipiscing arcu aliquet.19.99
Item Three Morbi faucibus arcu accumsan lorem.29.99
Item FourVitae integer tempus condimentum.19.99
Item FiveAnte turpis integer aliquet porttitor.29.99
100.00
196 |
197 |
198 | 199 |
200 |

Buttons

201 | 205 | 210 | 215 | 220 | 224 |
    225 |
  • Disabled
  • 226 |
  • Disabled
  • 227 |
228 |
229 | 230 |
231 |

Form

232 |
233 |
234 |
235 | 236 |
237 |
238 | 239 |
240 |
241 | 248 |
249 |
250 | 251 | 252 |
253 |
254 | 255 | 256 |
257 |
258 | 259 | 260 |
261 |
262 | 263 | 264 |
265 |
266 | 267 | 268 |
269 |
270 | 271 |
272 |
273 |
    274 |
  • 275 |
  • 276 |
277 |
278 |
279 |
280 |
281 | 282 |
283 |

Image

284 |

Fit

285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |

Left & Right

300 |

Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.

301 |

Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.

302 |
303 |
304 |
305 | {% endblock %} -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /static/assets/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 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.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#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: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"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.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 | --------------------------------------------------------------------------------