jekyll-theme-pirati 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/elections.yml +7 -0
- data/_data/menu.yml +3 -3
- data/_includes/candidate_badge.html +3 -7
- data/_includes/contacts/basic_contacts.html +30 -50
- data/_includes/contacts/residance.html +1 -1
- data/_includes/footer.html +3 -3
- data/_includes/head.html +6 -8
- data/_includes/header.html +1 -1
- data/_includes/headline-image.html +16 -0
- data/_includes/js/main.html +7 -13
- data/_includes/js/webpack.html +13 -0
- data/_includes/people/{list_2col.html → list-2col.html} +2 -2
- data/_includes/people/{list_group.html → list-group.html} +1 -1
- data/_includes/people/{profile_badge.html → profile-badge.html} +5 -4
- data/_includes/right-bar/bar_garant.html +1 -1
- data/_includes/right-bar/bar_people.html +1 -1
- data/_includes/right-bar/bar_person_contact.html +8 -8
- data/_includes/right-bar/bar_program.html +7 -5
- data/_layouts/contacts.html +47 -51
- data/_layouts/komunalni-volby.html +1 -1
- data/_layouts/page.html +9 -9
- data/_layouts/person.html +5 -0
- data/_layouts/post.html +30 -38
- data/_layouts/team.html +2 -2
- data/_sass/_base.scss +2 -1
- data/_sass/_fonts.scss +42 -0
- data/_sass/_settings.scss +6 -5
- data/_sass/components/BlogPosting.scss +6 -4
- data/_sass/components/contact-bar.scss +2 -2
- data/_sass/components/content-block.scss +11 -0
- data/_sass/components/footer.scss +5 -0
- data/_sass/components/header-bar.scss +2 -2
- data/_sass/components/headline-image.scss +44 -0
- data/_sass/components/metadata-block.scss +29 -0
- data/_sass/components/program.scss +4 -2
- data/_sass/components/tag.scss +10 -11
- data/_sass/components/top-bar.scss +236 -236
- data/_sass/components/typography.scss +43 -0
- data/_sass/components/widget-accordion.scss +12 -7
- data/_sass/foundation-sites/LICENSE +22 -0
- data/_sass/foundation-sites/README.md +44 -0
- data/_sass/foundation-sites/assets/foundation-flex.scss +3 -0
- data/_sass/foundation-sites/assets/foundation-rtl.scss +5 -0
- data/_sass/foundation-sites/assets/foundation.scss +3 -0
- data/_sass/foundation-sites/code-of-conduct.md +43 -0
- data/_sass/foundation-sites/customizer/complete.json +46 -0
- data/_sass/foundation-sites/customizer/config.yml +218 -0
- data/_sass/foundation-sites/customizer/essential.json +11 -0
- data/_sass/foundation-sites/customizer/index.html +169 -0
- data/_sass/foundation-sites/dist/foundation-flex.css +4028 -0
- data/_sass/foundation-sites/dist/foundation-flex.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation-rtl.css +3583 -0
- data/_sass/foundation-sites/dist/foundation-rtl.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.css +3578 -0
- data/_sass/foundation-sites/dist/foundation.js +9069 -0
- data/_sass/foundation-sites/dist/foundation.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.min.js +4 -0
- data/_sass/foundation-sites/dist/plugins/foundation.abide.js +600 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +262 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +307 -0
- data/_sass/foundation-sites/dist/plugins/foundation.core.js +386 -0
- data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +409 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +364 -0
- data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +227 -0
- data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +257 -0
- data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +438 -0
- data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +484 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +171 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +142 -0
- data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +623 -0
- data/_sass/foundation-sites/dist/plugins/foundation.slider.js +648 -0
- data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +495 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +348 -0
- data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +166 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +468 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +196 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +123 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +216 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +97 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +69 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +84 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +243 -0
- data/_sass/foundation-sites/docslink.sh +3 -0
- data/_sass/foundation-sites/js/foundation.abide.js +543 -0
- data/_sass/foundation-sites/js/foundation.accordion.js +237 -0
- data/_sass/foundation-sites/js/foundation.accordionMenu.js +274 -0
- data/_sass/foundation-sites/js/foundation.core.js +378 -0
- data/_sass/foundation-sites/js/foundation.drilldown.js +369 -0
- data/_sass/foundation-sites/js/foundation.dropdown.js +409 -0
- data/_sass/foundation-sites/js/foundation.dropdownMenu.js +404 -0
- data/_sass/foundation-sites/js/foundation.equalizer.js +306 -0
- data/_sass/foundation-sites/js/foundation.interchange.js +198 -0
- data/_sass/foundation-sites/js/foundation.magellan.js +223 -0
- data/_sass/foundation-sites/js/foundation.offcanvas.js +398 -0
- data/_sass/foundation-sites/js/foundation.orbit.js +446 -0
- data/_sass/foundation-sites/js/foundation.responsiveMenu.js +148 -0
- data/_sass/foundation-sites/js/foundation.responsiveToggle.js +119 -0
- data/_sass/foundation-sites/js/foundation.reveal.js +576 -0
- data/_sass/foundation-sites/js/foundation.slider.js +597 -0
- data/_sass/foundation-sites/js/foundation.sticky.js +450 -0
- data/_sass/foundation-sites/js/foundation.tabs.js +333 -0
- data/_sass/foundation-sites/js/foundation.toggler.js +144 -0
- data/_sass/foundation-sites/js/foundation.tooltip.js +444 -0
- data/_sass/foundation-sites/js/foundation.util.box.js +195 -0
- data/_sass/foundation-sites/js/foundation.util.keyboard.js +115 -0
- data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +214 -0
- data/_sass/foundation-sites/js/foundation.util.motion.js +99 -0
- data/_sass/foundation-sites/js/foundation.util.nest.js +76 -0
- data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +86 -0
- data/_sass/foundation-sites/js/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/js/foundation.util.triggers.js +239 -0
- data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/README.md +65 -0
- data/_sass/foundation-sites/node_modules/jquery/bower.json +14 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +9814 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/package.json +112 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css.js +502 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event.js +711 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +183 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/node_modules/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/node_modules/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/package.json +148 -0
- data/_sass/foundation-sites/scss/_global.scss +638 -0
- data/_sass/foundation-sites/scss/components/_accordion-menu.scss +32 -0
- data/_sass/foundation-sites/scss/components/_accordion.scss +129 -0
- data/_sass/foundation-sites/scss/components/_badge.scss +55 -0
- data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation-sites/scss/components/_button-group.scss +195 -0
- data/_sass/foundation-sites/scss/components/_button.scss +265 -0
- data/_sass/foundation-sites/scss/components/_callout.scss +105 -0
- data/_sass/foundation-sites/scss/components/_close-button.scss +61 -0
- data/_sass/foundation-sites/scss/components/_drilldown.scss +79 -0
- data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation-sites/scss/components/_dropdown.scss +65 -0
- data/_sass/foundation-sites/scss/components/_flex-video.scss +63 -0
- data/_sass/foundation-sites/scss/components/_flex.scss +28 -0
- data/_sass/foundation-sites/scss/components/_float.scss +27 -0
- data/_sass/foundation-sites/scss/components/_label.scss +56 -0
- data/_sass/foundation-sites/scss/components/_media-object.scss +115 -0
- data/_sass/foundation-sites/scss/components/_menu-icon.scss +9 -0
- data/_sass/foundation-sites/scss/components/_menu.scss +314 -0
- data/_sass/foundation-sites/scss/components/_off-canvas.scss +177 -0
- data/_sass/foundation-sites/scss/components/_orbit.scss +193 -0
- data/_sass/foundation-sites/scss/components/_pagination.scss +162 -0
- data/_sass/foundation-sites/scss/components/_progress-bar.scss +64 -0
- data/_sass/foundation-sites/scss/components/_reveal.scss +172 -0
- data/_sass/foundation-sites/scss/components/_slider.scss +133 -0
- data/_sass/foundation-sites/scss/components/_sticky.scss +38 -0
- data/_sass/foundation-sites/scss/components/_switch.scss +232 -0
- data/_sass/foundation-sites/scss/components/_table.scss +234 -0
- data/_sass/foundation-sites/scss/components/_tabs.scss +165 -0
- data/_sass/foundation-sites/scss/components/_thumbnail.scss +54 -0
- data/_sass/foundation-sites/scss/components/_title-bar.scss +89 -0
- data/_sass/foundation-sites/scss/components/_tooltip.scss +104 -0
- data/_sass/foundation-sites/scss/components/_top-bar.scss +168 -0
- data/_sass/foundation-sites/scss/components/_visibility.scss +132 -0
- data/_sass/foundation-sites/scss/forms/_checkbox.scss +40 -0
- data/_sass/foundation-sites/scss/forms/_error.scss +84 -0
- data/_sass/foundation-sites/scss/forms/_fieldset.scss +54 -0
- data/_sass/foundation-sites/scss/forms/_forms.scss +34 -0
- data/_sass/foundation-sites/scss/forms/_help-text.scss +30 -0
- data/_sass/foundation-sites/scss/forms/_input-group.scss +128 -0
- data/_sass/foundation-sites/scss/forms/_label.scss +48 -0
- data/_sass/foundation-sites/scss/forms/_meter.scss +109 -0
- data/_sass/foundation-sites/scss/forms/_progress.scss +85 -0
- data/_sass/foundation-sites/scss/forms/_range.scss +144 -0
- data/_sass/foundation-sites/scss/forms/_select.scss +67 -0
- data/_sass/foundation-sites/scss/forms/_text.scss +163 -0
- data/_sass/foundation-sites/scss/foundation.scss +102 -0
- data/_sass/foundation-sites/scss/grid/_classes.scss +151 -0
- data/_sass/foundation-sites/scss/grid/_column.scss +126 -0
- data/_sass/foundation-sites/scss/grid/_flex-grid.scss +274 -0
- data/_sass/foundation-sites/scss/grid/_grid.scss +60 -0
- data/_sass/foundation-sites/scss/grid/_gutter.scss +34 -0
- data/_sass/foundation-sites/scss/grid/_layout.scss +51 -0
- data/_sass/foundation-sites/scss/grid/_position.scss +73 -0
- data/_sass/foundation-sites/scss/grid/_row.scss +95 -0
- data/_sass/foundation-sites/scss/grid/_size.scss +24 -0
- data/_sass/foundation-sites/scss/settings/_settings.scss +567 -0
- data/_sass/foundation-sites/scss/typography/_alignment.scss +22 -0
- data/_sass/foundation-sites/scss/typography/_base.scss +443 -0
- data/_sass/foundation-sites/scss/typography/_helpers.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_print.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_typography.scss +28 -0
- data/_sass/foundation-sites/scss/util/_breakpoint.scss +275 -0
- data/_sass/foundation-sites/scss/util/_color.scss +60 -0
- data/_sass/foundation-sites/scss/util/_flex.scss +68 -0
- data/_sass/foundation-sites/scss/util/_mixins.scss +235 -0
- data/_sass/foundation-sites/scss/util/_selector.scss +40 -0
- data/_sass/foundation-sites/scss/util/_unit.scss +90 -0
- data/_sass/foundation-sites/scss/util/_util.scss +11 -0
- data/_sass/foundation-sites/scss/util/_value.scss +107 -0
- data/_sass/foundation-sites/vendor/fastclick/LICENSE +22 -0
- data/_sass/foundation-sites/vendor/fastclick/README.md +140 -0
- data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +192 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +9 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +28 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +29 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +48 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +165 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +266 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +68 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +2 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +564 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +40 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +117 -0
- data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/README.md +65 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +9842 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +7877 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/vendor/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/support.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css.js +515 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/support.js +23 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +19 -0
- data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +58 -0
- data/_sass/foundation-sites/vendor/jquery/src/event.js +710 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +199 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/vendor/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/vendor/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/vendor/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/support.js +63 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +22 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +7158 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +92 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +6786 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +87 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +4979 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +39 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +18 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +27 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +205 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +55 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +53 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +29 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +62 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +22 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +42 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +66 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +34 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/grunt.js +69 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +35 -0
- data/_sass/foundation-sites/vendor/modernizr/modernizr.js +1406 -0
- data/_sass/foundation-sites/vendor/modernizr/readme.md +28 -0
- data/_sass/objects/media.scss +7 -2
- data/_sass/objects/section.scss +5 -5
- data/assets/css/main.scss +7 -1
- data/assets/fonts/BebasNeue-Thin.ttf +0 -0
- data/assets/fonts/BebasNeue-Thin.woff +0 -0
- data/assets/fonts/BebasNeueBold.ttf +0 -0
- data/assets/fonts/BebasNeueBold.woff +0 -0
- data/assets/fonts/BebasNeueBook.ttf +0 -0
- data/assets/fonts/BebasNeueBook.woff +0 -0
- data/assets/fonts/BebasNeueLight.ttf +0 -0
- data/assets/fonts/BebasNeueLight.woff +0 -0
- data/assets/fonts/BebasNeueRegular.ttf +0 -0
- data/assets/fonts/BebasNeueRegular.woff +0 -0
- data/assets/fonts/demo.html +311 -0
- data/assets/fonts/stylesheet.css +40 -0
- data/assets/img/people/unknown-pirate.svg +3 -0
- data/assets/js/0.main.98ff15822eba72edef32.js +51 -0
- data/assets/js/0.main.98ff15822eba72edef32.js.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.css +3 -0
- data/assets/js/main.98ff15822eba72edef32.css.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.js +1 -0
- data/assets/js/main.98ff15822eba72edef32.js.map +1 -0
- data/jekyll-theme-pirati.gemspec +26 -0
- metadata +549 -20
- data/_sass/components/BasicPage.scss +0 -469
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +0 -3906
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/js/apps.js +0 -8
- data/assets/js/apps/scroll-top/ScrollTop.vue +0 -83
- data/assets/js/apps/scroll-top/index.js +0 -9
- data/assets/js/apps/site-search/SiteSearch.vue +0 -85
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +0 -29
- data/assets/js/apps/site-search/index.js +0 -14
- data/assets/js/index.js +0 -52
@@ -0,0 +1,60 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group functions
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Checks the lightness of `$color`, and if it passes the `$threshold` of lightness, it returns the `$yes` color. Otherwise, it returns the `$no` color. Use this function to dynamically output a foreground color based on a given background color.
|
10
|
+
///
|
11
|
+
/// @param {Color} $color - Color to check the lightness of.
|
12
|
+
/// @param {Color} $yes [$black] - Color to return if `$color` is light.
|
13
|
+
/// @param {Color} $no [$white] - Color to return if `$color` is dark.
|
14
|
+
/// @param {Percentage} $threshold [60%] - Threshold of lightness to check against.
|
15
|
+
///
|
16
|
+
/// @returns {Color} The $yes color or $no color.
|
17
|
+
@function foreground($color, $yes: $black, $no: $white, $threshold: 60%) {
|
18
|
+
@if $color == transparent {
|
19
|
+
$color: $body-background;
|
20
|
+
}
|
21
|
+
@if (lightness($color) > $threshold) {
|
22
|
+
@return $yes;
|
23
|
+
}
|
24
|
+
@else {
|
25
|
+
@return $no;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
/// Scales a color to be lighter if it's light, or darker if it's dark. Use this function to tint a color appropriate to its lightness.
|
30
|
+
///
|
31
|
+
/// @param {Color} $color - Color to scale.
|
32
|
+
/// @param {Percentage} $scale [5%] - Amount to scale up or down.
|
33
|
+
/// @param {Percentage} $threshold [40%] - Threshold of lightness to check against.
|
34
|
+
///
|
35
|
+
/// @returns {Color} A scaled color.
|
36
|
+
@function smart-scale($color, $scale: 5%, $threshold: 40%) {
|
37
|
+
@if lightness($color) > $threshold {
|
38
|
+
$scale: -$scale;
|
39
|
+
}
|
40
|
+
@return scale-color($color, $lightness: $scale);
|
41
|
+
}
|
42
|
+
|
43
|
+
/// Transfers the colors in the `$foundation-palette` variable into the legacy color variables, such as `$primary-color` and `$secondary-color`. Call this mixin below the Global section of your settings file to properly migrate your codebase.
|
44
|
+
@mixin add-foundation-colors() {
|
45
|
+
@if map-has-key($foundation-palette, primary) {
|
46
|
+
$primary-color: map-get($foundation-palette, primary) !global;
|
47
|
+
}
|
48
|
+
@if map-has-key($foundation-palette, secondary) {
|
49
|
+
$secondary-color: map-get($foundation-palette, secondary) !global;
|
50
|
+
}
|
51
|
+
@if map-has-key($foundation-palette, success) {
|
52
|
+
$success-color: map-get($foundation-palette, success) !global;
|
53
|
+
}
|
54
|
+
@if map-has-key($foundation-palette, warning) {
|
55
|
+
$warning-color: map-get($foundation-palette, warning) !global;
|
56
|
+
}
|
57
|
+
@if map-has-key($foundation-palette, alert) {
|
58
|
+
$alert-color: map-get($foundation-palette, alert) !global;
|
59
|
+
}
|
60
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
$-zf-flex-justify: (
|
2
|
+
'left': flex-start,
|
3
|
+
'right': flex-end,
|
4
|
+
'center': center,
|
5
|
+
'justify': space-between,
|
6
|
+
'spaced': space-around,
|
7
|
+
);
|
8
|
+
|
9
|
+
$-zf-flex-align: (
|
10
|
+
'top': flex-start,
|
11
|
+
'bottom': flex-end,
|
12
|
+
'middle': center,
|
13
|
+
'stretch': stretch,
|
14
|
+
);
|
15
|
+
|
16
|
+
/// Enables flexbox by adding `display: flex` to the element.
|
17
|
+
@mixin flex {
|
18
|
+
display: flex;
|
19
|
+
}
|
20
|
+
|
21
|
+
/// Horizontally or vertically aligns the items within a flex container.
|
22
|
+
///
|
23
|
+
/// @param {Keyword} $x [null] - Horizontal alignment to use. Can be `left`, `right`, `center`, `justify`, or `spaced`. Or, set it to `null` (the default) to not set horizontal alignment.
|
24
|
+
/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
|
25
|
+
@mixin flex-align($x: null, $y: null) {
|
26
|
+
@if $x {
|
27
|
+
@if map-has-key($-zf-flex-justify, $x) {
|
28
|
+
$x: map-get($-zf-flex-justify, $x);
|
29
|
+
}
|
30
|
+
@else {
|
31
|
+
@warn 'flex-grid-row-align(): #{$x} is not a valid value for horizontal alignment. Use left, right, center, justify, or spaced.'
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@if $y {
|
36
|
+
@if map-has-key($-zf-flex-align, $y) {
|
37
|
+
$y: map-get($-zf-flex-align, $y);
|
38
|
+
}
|
39
|
+
@else {
|
40
|
+
@warn 'flex-grid-row-align(): #{$y} is not a valid value for vertical alignment. Use top, bottom, middle, or stretch.'
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
justify-content: $x;
|
45
|
+
align-items: $y;
|
46
|
+
}
|
47
|
+
|
48
|
+
/// Vertically align a single column within a flex row. Apply this mixin to a flex column.
|
49
|
+
///
|
50
|
+
/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
|
51
|
+
@mixin flex-align-self($y: null) {
|
52
|
+
@if $y {
|
53
|
+
@if map-has-key($-zf-flex-align, $y) {
|
54
|
+
$y: map-get($-zf-flex-align, $y);
|
55
|
+
}
|
56
|
+
@else {
|
57
|
+
@warn 'flex-grid-column-align(): #{$y} is not a valid value for alignment. Use top, bottom, middle, or stretch.'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
align-self: $y;
|
62
|
+
}
|
63
|
+
|
64
|
+
/// Changes the source order of a flex child. Children with lower numbers appear first in the layout.
|
65
|
+
/// @param {Number} $order [0] - Order number to apply.
|
66
|
+
@mixin flex-order($order: 0) {
|
67
|
+
order: $order;
|
68
|
+
}
|
@@ -0,0 +1,235 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group functions
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Creates a CSS triangle, which can be used for dropdown arrows, dropdown pips, and more. Use this mixin inside a `&::before` or `&::after` selector, to attach the triangle to an existing element.
|
10
|
+
///
|
11
|
+
/// @param {Number} $triangle-size - Width of the triangle.
|
12
|
+
/// @param {Color} $triangle-color - Color of the triangle.
|
13
|
+
/// @param {Keyword} $triangle-direction - Direction the triangle points. Can be `up`, `right`, `down`, or `left`.
|
14
|
+
@mixin css-triangle(
|
15
|
+
$triangle-size,
|
16
|
+
$triangle-color,
|
17
|
+
$triangle-direction
|
18
|
+
) {
|
19
|
+
content: '';
|
20
|
+
display: block;
|
21
|
+
width: 0;
|
22
|
+
height: 0;
|
23
|
+
border: inset $triangle-size;
|
24
|
+
|
25
|
+
@if ($triangle-direction == down) {
|
26
|
+
border-color: $triangle-color transparent transparent;
|
27
|
+
border-top-style: solid;
|
28
|
+
border-bottom-width: 0;
|
29
|
+
}
|
30
|
+
@if ($triangle-direction == up) {
|
31
|
+
border-color: transparent transparent $triangle-color;
|
32
|
+
border-bottom-style: solid;
|
33
|
+
border-top-width: 0;
|
34
|
+
}
|
35
|
+
@if ($triangle-direction == right) {
|
36
|
+
border-color: transparent transparent transparent $triangle-color;
|
37
|
+
border-left-style: solid;
|
38
|
+
border-right-width: 0;
|
39
|
+
}
|
40
|
+
@if ($triangle-direction == left) {
|
41
|
+
border-color: transparent $triangle-color transparent transparent;
|
42
|
+
border-right-style: solid;
|
43
|
+
border-left-width: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
/// Creates a menu icon with a set width, height, number of bars, and colors. The mixin uses the height of the icon and the weight of the bars to determine spacing. <div class="docs-example-burger"></div>
|
48
|
+
///
|
49
|
+
/// @param {Color} $color [$black] - Color to use for the icon.
|
50
|
+
/// @param {Color} $color-hover [$dark-gray] - Color to use when the icon is hovered over.
|
51
|
+
/// @param {Number} $width [20px] - Width of the icon.
|
52
|
+
/// @param {Number} $height [16px] - Height of the icon.
|
53
|
+
/// @param {Number} $weight [2px] - Height of individual bars in the icon.
|
54
|
+
/// @param {Number} $bars [3] - Number of bars in the icon.
|
55
|
+
@mixin hamburger(
|
56
|
+
$color: $black,
|
57
|
+
$color-hover: $dark-gray,
|
58
|
+
$width: 20px,
|
59
|
+
$height: 16px,
|
60
|
+
$weight: 2px,
|
61
|
+
$bars: 3
|
62
|
+
) {
|
63
|
+
// box-shadow CSS output
|
64
|
+
$shadow: ();
|
65
|
+
$hover-shadow: ();
|
66
|
+
|
67
|
+
// Spacing between bars is calculated based on the total height of the icon and the weight of each bar
|
68
|
+
$spacing: floor(($height - ($weight * $bars)) / ($bars - 1));
|
69
|
+
|
70
|
+
// Icon container
|
71
|
+
position: relative;
|
72
|
+
display: inline-block;
|
73
|
+
vertical-align: middle;
|
74
|
+
cursor: pointer;
|
75
|
+
width: $width;
|
76
|
+
height: $height;
|
77
|
+
|
78
|
+
// Icon bars
|
79
|
+
&::after {
|
80
|
+
content: '';
|
81
|
+
position: absolute;
|
82
|
+
display: block;
|
83
|
+
width: 100%;
|
84
|
+
height: $weight;
|
85
|
+
background: $color;
|
86
|
+
top: 0;
|
87
|
+
left: 0;
|
88
|
+
|
89
|
+
@for $i from 2 through $bars {
|
90
|
+
$offset: ($weight + $spacing) * ($i - 1);
|
91
|
+
$shadow: append($shadow, 0 $offset 0 $color, comma);
|
92
|
+
}
|
93
|
+
|
94
|
+
box-shadow: $shadow;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Hover state
|
98
|
+
@if $color-hover {
|
99
|
+
// Generate CSS
|
100
|
+
@for $i from 2 through $bars {
|
101
|
+
$offset: ($weight + $spacing) * ($i - 1);
|
102
|
+
$hover-shadow: append($hover-shadow, 0 $offset 0 $color-hover, comma);
|
103
|
+
}
|
104
|
+
|
105
|
+
&:hover::after {
|
106
|
+
background: $color-hover;
|
107
|
+
box-shadow: $hover-shadow;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
/// Adds a downward-facing triangle as a background image to an element. The image is formatted as an SVG, making it easy to change the color. Because Internet Explorer doesn't support encoded SVGs as background images, a PNG fallback is also included.
|
113
|
+
/// There are two PNG fallbacks: a black triangle and a white triangle. The one used depends on the lightness of the input color.
|
114
|
+
///
|
115
|
+
/// @param {Color} $color [$black] - Color to use for the triangle.
|
116
|
+
@mixin background-triangle($color: $black) {
|
117
|
+
$rgb: 'rgb%28#{red($color)}, #{green($color)}, #{blue($color)}%29';
|
118
|
+
|
119
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: #{$rgb}'></polygon></svg>");
|
120
|
+
|
121
|
+
@media screen and (min-width:0\0) {
|
122
|
+
@if lightness($color) < 60% {
|
123
|
+
// White triangle
|
124
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg==');
|
125
|
+
}
|
126
|
+
@else {
|
127
|
+
// Black triangle
|
128
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMBJREFUeNrEllsOhCAMRVszC9IlzU7KCmVHTJsoMWYMUtpyv9BgbuXQB5ZSdgBYYY4ycgBivk8KYFsQMfMiTTBP4o3nUzCKzOabLJbLy2/g31evGkAginR4/ZegKH5qX3bJCscA3t0x3kgO5tQFyhhFf50xRqFLbyMUNJQzgyjGS/wgCpvKqkRBpuWrE4V9d+1E4dPUXqIg107SQOE/2DRQxMwTDygIInVDET9T3lCoj/6j/VCmGjZOl2lKpZ8AAwDQP7zIimDGFQAAAABJRU5ErkJggg==');
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
/// Applies the micro clearfix hack popularized by Nicolas Gallagher. Include this mixin on a container if its children are all floated, to give the container a proper height.
|
134
|
+
/// The clearfix is augmented with specific styles to prevent borders in flexbox environments
|
135
|
+
/// @link http://nicolasgallagher.com/micro-clearfix-hack/ Micro Clearfix Hack
|
136
|
+
/// @link http://danisadesigner.com/blog/flexbox-clear-fix-pseudo-elements/ Flexbox fix
|
137
|
+
@mixin clearfix {
|
138
|
+
&::before,
|
139
|
+
&::after {
|
140
|
+
content: ' ';
|
141
|
+
display: table;
|
142
|
+
@if $global-flexbox {
|
143
|
+
flex-basis: 0;
|
144
|
+
order: 1;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&::after {
|
149
|
+
clear: both;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
/// Adds CSS for a "quantity query" selector that automatically sizes elements based on how many there are inside a container.
|
154
|
+
/// @link http://alistapart.com/article/quantity-queries-for-css Quantity Queries for CSS
|
155
|
+
///
|
156
|
+
/// @param {Number} $max - Maximum number of items to detect. The higher this number is, the more CSS that's required to cover each number of items.
|
157
|
+
/// @param {Keyword} $elem [li] - Tag to use for sibling selectors.
|
158
|
+
@mixin auto-width($max, $elem: li) {
|
159
|
+
@for $i from 2 through $max {
|
160
|
+
&:nth-last-child(#{$i}):first-child,
|
161
|
+
&:nth-last-child(#{$i}):first-child ~ #{$elem} {
|
162
|
+
width: percentage(1 / $i);
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
/// Removes the focus ring around an element when a mouse input is detected.
|
168
|
+
@mixin disable-mouse-outline {
|
169
|
+
[data-whatinput='mouse'] & {
|
170
|
+
outline: 0;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
/// Makes an element visually hidden, but still accessible to keyboards and assistive devices.
|
175
|
+
/// @link http://snook.ca/archives/html_and_css/hiding-content-for-accessibility Hiding Content for Accessibility
|
176
|
+
@mixin element-invisible {
|
177
|
+
position: absolute !important;
|
178
|
+
width: 1px;
|
179
|
+
height: 1px;
|
180
|
+
overflow: hidden;
|
181
|
+
clip: rect(0, 0, 0, 0);
|
182
|
+
}
|
183
|
+
|
184
|
+
/// Reverses the CSS output created by the `element-invisible()` mixin.
|
185
|
+
@mixin element-invisible-off {
|
186
|
+
position: static !important;
|
187
|
+
height: auto;
|
188
|
+
width: auto;
|
189
|
+
overflow: visible;
|
190
|
+
clip: auto;
|
191
|
+
}
|
192
|
+
|
193
|
+
/// Vertically centers the element inside of its first non-static parent,
|
194
|
+
/// @link http://www.sitepoint.com/centering-with-sass/ Centering With Sass
|
195
|
+
@mixin vertical-center {
|
196
|
+
position: absolute;
|
197
|
+
top: 50%;
|
198
|
+
transform: translateY(-50%);
|
199
|
+
}
|
200
|
+
|
201
|
+
/// Horizontally centers the element inside of its first non-static parent,
|
202
|
+
/// @link http://www.sitepoint.com/centering-with-sass/ Centering With Sass
|
203
|
+
@mixin horizontal-center {
|
204
|
+
position: absolute;
|
205
|
+
left: 50%;
|
206
|
+
transform: translateX(-50%);
|
207
|
+
}
|
208
|
+
|
209
|
+
/// Absolutely centers the element inside of its first non-static parent,
|
210
|
+
/// @link http://www.sitepoint.com/centering-with-sass/ Centering With Sass
|
211
|
+
@mixin absolute-center {
|
212
|
+
position: absolute;
|
213
|
+
top: 50%;
|
214
|
+
left: 50%;
|
215
|
+
transform: translate(-50%, -50%);
|
216
|
+
}
|
217
|
+
|
218
|
+
/// Iterates through breakpoints defined in `$breakpoint-classes` and prints the CSS inside the mixin at each breakpoint's media query. Use this with the grid, or any other component that has responsive classes.
|
219
|
+
///
|
220
|
+
/// @param {Boolean} $small [true] - If `false`, the mixin will skip the `small` breakpoint. Use this with components that don't prefix classes with `small-`, only `medium-` and up.
|
221
|
+
@mixin -zf-each-breakpoint($small: true) {
|
222
|
+
$map: $breakpoint-classes;
|
223
|
+
|
224
|
+
@if not $small {
|
225
|
+
$map: map-remove($map, $-zf-zero-breakpoint);
|
226
|
+
}
|
227
|
+
|
228
|
+
@each $size in $map {
|
229
|
+
$-zf-size: $size !global;
|
230
|
+
|
231
|
+
@include breakpoint($size) {
|
232
|
+
@content;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group functions
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Generates a selector with every text input type. You can also filter the list to only output a subset of those selectors.
|
10
|
+
///
|
11
|
+
/// @param {List|Keyword} $types [()] - A list of text input types to use. Leave blank to use all of them.
|
12
|
+
@function text-inputs($types: ()) {
|
13
|
+
$return: ();
|
14
|
+
|
15
|
+
$all-types:
|
16
|
+
text
|
17
|
+
password
|
18
|
+
date
|
19
|
+
datetime
|
20
|
+
datetime-local
|
21
|
+
month
|
22
|
+
week
|
23
|
+
email
|
24
|
+
number
|
25
|
+
search
|
26
|
+
tel
|
27
|
+
time
|
28
|
+
url
|
29
|
+
color;
|
30
|
+
|
31
|
+
@if not has-value($types) {
|
32
|
+
$types: $all-types;
|
33
|
+
}
|
34
|
+
|
35
|
+
@each $type in $types {
|
36
|
+
$return: append($return, unquote('[type=\'#{$type}\']'), comma);
|
37
|
+
}
|
38
|
+
|
39
|
+
@return $return;
|
40
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group functions
|
7
|
+
////
|
8
|
+
|
9
|
+
$global-font-size: 100% !default;
|
10
|
+
|
11
|
+
// scss-lint:disable ZeroUnit
|
12
|
+
|
13
|
+
/// Removes the unit (e.g. px, em, rem) from a value, returning the number only.
|
14
|
+
///
|
15
|
+
/// @param {Number} $num - Number to strip unit from.
|
16
|
+
///
|
17
|
+
/// @returns {Number} The same number, sans unit.
|
18
|
+
@function strip-unit($num) {
|
19
|
+
@return $num / ($num * 0 + 1);
|
20
|
+
}
|
21
|
+
|
22
|
+
/// Converts one or more pixel values into matching rem values.
|
23
|
+
///
|
24
|
+
/// @param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.
|
25
|
+
/// @param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.
|
26
|
+
///
|
27
|
+
/// @returns {List} A list of converted values.
|
28
|
+
@function rem-calc($values, $base: null) {
|
29
|
+
$rem-values: ();
|
30
|
+
$count: length($values);
|
31
|
+
|
32
|
+
// If no base is defined, defer to the global font size
|
33
|
+
@if $base == null {
|
34
|
+
$base: $global-font-size;
|
35
|
+
}
|
36
|
+
|
37
|
+
// If the base font size is a %, then multiply it by 16px
|
38
|
+
// This is because 100% font size = 16px in most all browsers
|
39
|
+
@if unit($base) == '%' {
|
40
|
+
$base: ($base / 100%) * 16px;
|
41
|
+
}
|
42
|
+
|
43
|
+
@if $count == 1 {
|
44
|
+
@return -zf-to-rem($values, $base);
|
45
|
+
}
|
46
|
+
|
47
|
+
@for $i from 1 through $count {
|
48
|
+
$rem-values: append($rem-values, -zf-to-rem(nth($values, $i), $base));
|
49
|
+
}
|
50
|
+
|
51
|
+
@return $rem-values;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Converts a unitless, pixel, or rem value to em, for use in breakpoints.
|
55
|
+
@function -zf-bp-to-em($value) {
|
56
|
+
// Pixel and unitless values are converted to rems
|
57
|
+
@if unit($value) == 'px' or unitless($value) {
|
58
|
+
$value: rem-calc($value, $base: 16px);
|
59
|
+
}
|
60
|
+
|
61
|
+
// Then the value is converted to ems
|
62
|
+
@return strip-unit($value) * 1em;
|
63
|
+
}
|
64
|
+
|
65
|
+
/// Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
|
66
|
+
/// @access private
|
67
|
+
///
|
68
|
+
/// @param {Number} $value - Pixel value to convert.
|
69
|
+
/// @param {Number} $base [null] - Base for pixel conversion.
|
70
|
+
///
|
71
|
+
/// @returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
|
72
|
+
@function -zf-to-rem($value, $base: null) {
|
73
|
+
// Check if the value is a number
|
74
|
+
@if type-of($value) != 'number' {
|
75
|
+
@warn inspect($value) + ' was passed to rem-calc(), which is not a number.';
|
76
|
+
@return $value;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Calculate rem if units for $value is not rem
|
80
|
+
@if unit($value) != 'rem' {
|
81
|
+
$value: strip-unit($value) / strip-unit($base) * 1rem;
|
82
|
+
}
|
83
|
+
|
84
|
+
// Turn 0rem into 0
|
85
|
+
@if $value == 0rem {
|
86
|
+
$value: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
@return $value;
|
90
|
+
}
|