├── .github └── FUNDING.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── gatsby-browser.js ├── gatsby-config.js ├── gatsby-node.js ├── gatsby-ssr.js ├── package.json └── src ├── assets ├── css │ └── font-awesome.min.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── images │ ├── .gitignore │ ├── avatar.jpg │ ├── bg.jpg │ ├── fulls │ │ ├── 01.jpg │ │ ├── 02.jpg │ │ ├── 03.jpg │ │ ├── 04.jpg │ │ ├── 05.jpg │ │ └── 06.jpg │ ├── thumbs │ │ ├── 01.jpg │ │ ├── 02.jpg │ │ ├── 03.jpg │ │ ├── 04.jpg │ │ ├── 05.jpg │ │ └── 06.jpg │ └── website-icon.png └── scss │ ├── ie8.scss │ ├── images │ └── overlay.png │ ├── libs │ ├── _functions.scss │ ├── _mixins.scss │ ├── _skel.scss │ └── _vars.scss │ └── main.scss ├── components ├── Footer.js ├── Gallery │ ├── components │ │ ├── Gallery.js │ │ └── GalleryItem.js │ ├── constants │ │ └── defaultImages.js │ └── index.js ├── Header.js └── layout.js └── pages ├── 404.js └── index.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | ko_fi: codebushi 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Project dependencies 2 | .cache 3 | node_modules 4 | yarn-error.log 5 | package-lock.json 6 | yarn.lock 7 | 8 | # Build directory 9 | /public 10 | .DS_Store 11 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "semi": false, 4 | "singleQuote": true 5 | } 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution 3.0 2 | 3 | https://html5up.net/license 4 | 5 | All of the site templates I create for HTML5 UP are licensed under the Creative Commons Attribution 3.0 License, which means you can: 6 | 7 | Use them for personal stuff 8 | Use them for commercial stuff 9 | Change them however you like 10 | ... all for free, yo. In exchange, just give HTML5 UP credit for the design and tell your friends about it :) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gatsby-starter-strata 2 | 3 | **This is a starter for Gatsby.js V2.** 4 | 5 | **The older V1 version of this starter can be found on the v1 branch** 6 | 7 | Gatsby starter based on the Strata site template, designed by [HTML5 UP](https://html5up.net/strata). Check out https://codebushi.com/gatsby-starters-and-themes/ for more Gatsby starters and templates. 8 | 9 | ## Preview 10 | 11 | http://gatsby-strata.surge.sh/ 12 | 13 | ## Installation 14 | 15 | Install this starter (assuming Gatsby is installed) by running from your CLI: 16 | `gatsby new gatsby-starter-strata https://github.com/codebushi/gatsby-starter-strata` 17 | 18 | Run `gatsby develop` in the terminal to start. 19 | -------------------------------------------------------------------------------- /gatsby-browser.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's Browser APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/browser-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it 8 | -------------------------------------------------------------------------------- /gatsby-config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | siteMetadata: { 3 | title: 'Gatsby Starter - Strata by HTML5 UP', 4 | author: 'Hunter Chang', 5 | description: 'A Gatsby.js Starter based on Strata by HTML5 UP', 6 | }, 7 | plugins: [ 8 | 'gatsby-plugin-react-helmet', 9 | { 10 | resolve: `gatsby-plugin-manifest`, 11 | options: { 12 | name: 'gatsby-starter-default', 13 | short_name: 'starter', 14 | start_url: '/', 15 | background_color: '#663399', 16 | theme_color: '#663399', 17 | display: 'minimal-ui', 18 | icon: 'src/assets/images/website-icon.png', // This path is relative to the root of the site. 19 | }, 20 | }, 21 | 'gatsby-plugin-sass', 22 | 'gatsby-plugin-offline', 23 | ], 24 | } 25 | -------------------------------------------------------------------------------- /gatsby-node.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's Node APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/node-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it 8 | -------------------------------------------------------------------------------- /gatsby-ssr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's SSR (Server Side Rendering) APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/ssr-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it 8 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gatsby-starter-default", 3 | "description": "Gatsby default starter", 4 | "version": "1.0.0", 5 | "author": "Hunter Chang", 6 | "dependencies": { 7 | "gatsby": "^2.20.12", 8 | "gatsby-plugin-manifest": "^2.3.3", 9 | "gatsby-plugin-offline": "^3.1.2", 10 | "gatsby-plugin-react-helmet": "^3.2.1", 11 | "gatsby-plugin-sass": "^2.2.1", 12 | "node-sass": "^4.13.1", 13 | "react": "^16.13.1", 14 | "react-dom": "^16.13.1", 15 | "react-helmet": "^5.2.1", 16 | "react-images": "^1.0.0" 17 | }, 18 | "keywords": [ 19 | "gatsby" 20 | ], 21 | "license": "MIT", 22 | "scripts": { 23 | "build": "gatsby build", 24 | "develop": "gatsby develop", 25 | "format": "prettier --write \"**/*.js\"", 26 | "test": "echo \"Error: no test specified\" && exit 1" 27 | }, 28 | "devDependencies": { 29 | "prettier": "^2.0.2" 30 | }, 31 | "repository": { 32 | "type": "git", 33 | "url": "https://github.com/gatsbyjs/gatsby-starter-default" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/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} -------------------------------------------------------------------------------- /src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/assets/images/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/.gitignore -------------------------------------------------------------------------------- /src/assets/images/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/avatar.jpg -------------------------------------------------------------------------------- /src/assets/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/bg.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/01.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/02.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/03.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/04.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/05.jpg -------------------------------------------------------------------------------- /src/assets/images/fulls/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/fulls/06.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/01.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/02.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/03.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/04.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/05.jpg -------------------------------------------------------------------------------- /src/assets/images/thumbs/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/thumbs/06.jpg -------------------------------------------------------------------------------- /src/assets/images/website-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/images/website-icon.png -------------------------------------------------------------------------------- /src/assets/scss/ie8.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/skel'; 5 | 6 | /* 7 | Strata by HTML5 UP 8 | html5up.net | @ajlkn 9 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 10 | */ 11 | 12 | /* Button */ 13 | 14 | input[type="submit"], 15 | input[type="reset"], 16 | input[type="button"], 17 | .button { 18 | position: relative; 19 | -ms-behavior: url('assets/js/ie/PIE.htc'); 20 | } 21 | 22 | /* Form */ 23 | 24 | input[type="text"], 25 | input[type="password"], 26 | input[type="email"], 27 | select, 28 | textarea { 29 | position: relative; 30 | -ms-behavior: url('assets/js/ie/PIE.htc'); 31 | } 32 | 33 | input[type="text"], 34 | input[type="password"], 35 | input[type="email"], 36 | select { 37 | height: _size(element-height); 38 | line-height: _size(element-height); 39 | } 40 | 41 | input[type="checkbox"], 42 | input[type="radio"] { 43 | & + label { 44 | &:before { 45 | display: none; 46 | } 47 | } 48 | } 49 | 50 | /* Image */ 51 | 52 | .image { 53 | position: relative; 54 | -ms-behavior: url('assets/js/ie/PIE.htc'); 55 | 56 | &:before, &:after { 57 | display: none !important; 58 | } 59 | 60 | img { 61 | position: relative; 62 | -ms-behavior: url('assets/js/ie/PIE.htc'); 63 | } 64 | } 65 | 66 | /* Header */ 67 | 68 | #header { 69 | background-image: url('../../images/bg.jpg'); 70 | background-repeat: no-repeat; 71 | background-size: cover; 72 | -ms-behavior: url('assets/js/ie/backgroundsize.min.htc'); 73 | 74 | h1 { 75 | color: _palette(accent2, fg-bold); 76 | } 77 | } 78 | 79 | /* Footer */ 80 | 81 | #footer { 82 | .icons { 83 | a { 84 | color: _palette(accent2, fg-bold); 85 | } 86 | } 87 | } -------------------------------------------------------------------------------- /src/assets/scss/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codebushi/gatsby-starter-strata/678c477192999e0d4be4f8720b43e17005f23af8/src/assets/scss/images/overlay.png -------------------------------------------------------------------------------- /src/assets/scss/libs/_functions.scss: -------------------------------------------------------------------------------- 1 | /// Gets a duration value. 2 | /// @param {string} $keys Key(s). 3 | /// @return {string} Value. 4 | @function _duration($keys...) { 5 | @return val($duration, $keys...); 6 | } 7 | 8 | /// Gets a font value. 9 | /// @param {string} $keys Key(s). 10 | /// @return {string} Value. 11 | @function _font($keys...) { 12 | @return val($font, $keys...); 13 | } 14 | 15 | /// Gets a misc value. 16 | /// @param {string} $keys Key(s). 17 | /// @return {string} Value. 18 | @function _misc($keys...) { 19 | @return val($misc, $keys...); 20 | } 21 | 22 | /// Gets a palette value. 23 | /// @param {string} $keys Key(s). 24 | /// @return {string} Value. 25 | @function _palette($keys...) { 26 | @return val($palette, $keys...); 27 | } 28 | 29 | /// Gets a size value. 30 | /// @param {string} $keys Key(s). 31 | /// @return {string} Value. 32 | @function _size($keys...) { 33 | @return val($size, $keys...); 34 | } -------------------------------------------------------------------------------- /src/assets/scss/libs/_mixins.scss: -------------------------------------------------------------------------------- 1 | /// Makes an element's :before pseudoelement a FontAwesome icon. 2 | /// @param {string} $content Optional content value to use. 3 | /// @param {string} $where Optional pseudoelement to target (before or after). 4 | @mixin icon($content: false, $where: before) { 5 | 6 | text-decoration: none; 7 | 8 | &:#{$where} { 9 | 10 | @if $content { 11 | content: $content; 12 | } 13 | 14 | -moz-osx-font-smoothing: grayscale; 15 | -webkit-font-smoothing: antialiased; 16 | font-family: FontAwesome; 17 | font-style: normal; 18 | font-weight: normal; 19 | text-transform: none !important; 20 | 21 | } 22 | 23 | } 24 | 25 | /// Applies padding to an element, taking the current element-margin value into account. 26 | /// @param {mixed} $tb Top/bottom padding. 27 | /// @param {mixed} $lr Left/right padding. 28 | /// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) 29 | /// @param {bool} $important If true, adds !important. 30 | @mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { 31 | 32 | @if $important { 33 | $important: '!important'; 34 | } 35 | 36 | $x: 0.1em; 37 | 38 | @if unit(_size(element-margin)) == 'rem' { 39 | $x: 0.1rem; 40 | } 41 | 42 | padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; 43 | 44 | } 45 | 46 | /// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp). 47 | /// @param {string} $svg SVG data URL. 48 | /// @return {string} Encoded SVG data URL. 49 | @function svg-url($svg) { 50 | 51 | $svg: str-replace($svg, '"', '\''); 52 | $svg: str-replace($svg, '%', '%25'); 53 | $svg: str-replace($svg, '<', '%3C'); 54 | $svg: str-replace($svg, '>', '%3E'); 55 | $svg: str-replace($svg, '&', '%26'); 56 | $svg: str-replace($svg, '#', '%23'); 57 | $svg: str-replace($svg, '{', '%7B'); 58 | $svg: str-replace($svg, '}', '%7D'); 59 | $svg: str-replace($svg, ';', '%3B'); 60 | 61 | @return url("data:image/svg+xml;charset=utf8,#{$svg}"); 62 | 63 | } 64 | 65 | /// Initializes base flexgrid classes. 66 | /// @param {string} $vertical-align Vertical alignment of cells. 67 | /// @param {string} $horizontal-align Horizontal alignment of cells. 68 | @mixin flexgrid-base($vertical-align: null, $horizontal-align: null) { 69 | 70 | // Grid. 71 | @include vendor('display', 'flex'); 72 | @include vendor('flex-wrap', 'wrap'); 73 | 74 | // Vertical alignment. 75 | @if ($vertical-align == top) { 76 | @include vendor('align-items', 'flex-start'); 77 | } 78 | @else if ($vertical-align == bottom) { 79 | @include vendor('align-items', 'flex-end'); 80 | } 81 | @else if ($vertical-align == center) { 82 | @include vendor('align-items', 'center'); 83 | } 84 | @else { 85 | @include vendor('align-items', 'stretch'); 86 | } 87 | 88 | // Horizontal alignment. 89 | @if ($horizontal-align != null) { 90 | text-align: $horizontal-align; 91 | } 92 | 93 | // Cells. 94 | > * { 95 | @include vendor('flex-shrink', '1'); 96 | @include vendor('flex-grow', '0'); 97 | } 98 | 99 | } 100 | 101 | /// Sets up flexgrid columns. 102 | /// @param {integer} $columns Columns. 103 | @mixin flexgrid-columns($columns) { 104 | 105 | > * { 106 | $cell-width: 100% / $columns; 107 | width: #{$cell-width}; 108 | } 109 | 110 | } 111 | 112 | /// Sets up flexgrid gutters. 113 | /// @param {integer} $columns Columns. 114 | /// @param {number} $gutters Gutters. 115 | @mixin flexgrid-gutters($columns, $gutters) { 116 | 117 | // Apply padding. 118 | > * { 119 | $cell-width: 100% / $columns; 120 | 121 | padding: ($gutters * 0.5); 122 | width: $cell-width; 123 | } 124 | 125 | } 126 | 127 | /// Sets up flexgrid gutters (flush). 128 | /// @param {integer} $columns Columns. 129 | /// @param {number} $gutters Gutters. 130 | @mixin flexgrid-gutters-flush($columns, $gutters) { 131 | 132 | // Apply padding. 133 | > * { 134 | $cell-width: 100% / $columns; 135 | $cell-width-pad: $gutters / $columns; 136 | 137 | padding: ($gutters * 0.5); 138 | width: calc(#{$cell-width} + #{$cell-width-pad}); 139 | } 140 | 141 | // Clear top/bottom gutters. 142 | > :nth-child(-n + #{$columns}) { 143 | padding-top: 0; 144 | } 145 | 146 | > :nth-last-child(-n + #{$columns}) { 147 | padding-bottom: 0; 148 | } 149 | 150 | // Clear left/right gutters. 151 | > :nth-child(#{$columns}n + 1) { 152 | padding-left: 0; 153 | } 154 | 155 | > :nth-child(#{$columns}n) { 156 | padding-right: 0; 157 | } 158 | 159 | // Adjust widths of leftmost and rightmost cells. 160 | > :nth-child(#{$columns}n + 1), 161 | > :nth-child(#{$columns}n) { 162 | $cell-width: 100% / $columns; 163 | $cell-width-pad: ($gutters / $columns) - ($gutters / 2); 164 | 165 | width: calc(#{$cell-width} + #{$cell-width-pad}); 166 | } 167 | 168 | } 169 | 170 | /// Reset flexgrid gutters (flush only). 171 | /// Used to override a previous set of flexgrid gutter classes. 172 | /// @param {integer} $columns Columns. 173 | /// @param {number} $gutters Gutters. 174 | /// @param {integer} $prev-columns Previous columns. 175 | @mixin flexgrid-gutters-flush-reset($columns, $gutters, $prev-columns) { 176 | 177 | // Apply padding. 178 | > * { 179 | $cell-width: 100% / $prev-columns; 180 | $cell-width-pad: $gutters / $prev-columns; 181 | 182 | padding: ($gutters * 0.5); 183 | width: calc(#{$cell-width} + #{$cell-width-pad}); 184 | } 185 | 186 | // Clear top/bottom gutters. 187 | > :nth-child(-n + #{$prev-columns}) { 188 | padding-top: ($gutters * 0.5); 189 | } 190 | 191 | > :nth-last-child(-n + #{$prev-columns}) { 192 | padding-bottom: ($gutters * 0.5); 193 | } 194 | 195 | // Clear left/right gutters. 196 | > :nth-child(#{$prev-columns}n + 1) { 197 | padding-left: ($gutters * 0.5); 198 | } 199 | 200 | > :nth-child(#{$prev-columns}n) { 201 | padding-right: ($gutters * 0.5); 202 | } 203 | 204 | // Adjust widths of leftmost and rightmost cells. 205 | > :nth-child(#{$prev-columns}n + 1), 206 | > :nth-child(#{$prev-columns}n) { 207 | $cell-width: 100% / $columns; 208 | $cell-width-pad: $gutters / $columns; 209 | 210 | padding: ($gutters * 0.5); 211 | width: calc(#{$cell-width} + #{$cell-width-pad}); 212 | } 213 | 214 | } 215 | 216 | /// Adds debug styles to current flexgrid element. 217 | @mixin flexgrid-debug() { 218 | 219 | box-shadow: 0 0 0 1px red; 220 | 221 | > * { 222 | box-shadow: inset 0 0 0 1px blue; 223 | position: relative; 224 | 225 | > * { 226 | position: relative; 227 | box-shadow: inset 0 0 0 1px green; 228 | } 229 | } 230 | 231 | } 232 | 233 | /// Initializes the current element as a flexgrid. 234 | /// @param {integer} $columns Columns (optional). 235 | /// @param {number} $gutters Gutters (optional). 236 | /// @param {bool} $flush If true, clears padding around the very edge of the grid. 237 | @mixin flexgrid($settings: ()) { 238 | 239 | // Settings. 240 | 241 | // Debug. 242 | $debug: false; 243 | 244 | @if (map-has-key($settings, 'debug')) { 245 | $debug: map-get($settings, 'debug'); 246 | } 247 | 248 | // Vertical align. 249 | $vertical-align: null; 250 | 251 | @if (map-has-key($settings, 'vertical-align')) { 252 | $vertical-align: map-get($settings, 'vertical-align'); 253 | } 254 | 255 | // Horizontal align. 256 | $horizontal-align: null; 257 | 258 | @if (map-has-key($settings, 'horizontal-align')) { 259 | $horizontal-align: map-get($settings, 'horizontal-align'); 260 | } 261 | 262 | // Columns. 263 | $columns: null; 264 | 265 | @if (map-has-key($settings, 'columns')) { 266 | $columns: map-get($settings, 'columns'); 267 | } 268 | 269 | // Gutters. 270 | $gutters: 0; 271 | 272 | @if (map-has-key($settings, 'gutters')) { 273 | $gutters: map-get($settings, 'gutters'); 274 | } 275 | 276 | // Flush. 277 | $flush: true; 278 | 279 | @if (map-has-key($settings, 'flush')) { 280 | $flush: map-get($settings, 'flush'); 281 | } 282 | 283 | // Initialize base grid. 284 | @include flexgrid-base($vertical-align, $horizontal-align); 285 | 286 | // Debug? 287 | @if ($debug) { 288 | @include flexgrid-debug; 289 | } 290 | 291 | // Columns specified? 292 | @if ($columns != null) { 293 | 294 | // Initialize columns. 295 | @include flexgrid-columns($columns); 296 | 297 | // Gutters specified? 298 | @if ($gutters > 0) { 299 | 300 | // Flush gutters? 301 | @if ($flush) { 302 | 303 | // Initialize gutters (flush). 304 | @include flexgrid-gutters-flush($columns, $gutters); 305 | 306 | } 307 | 308 | // Otherwise ... 309 | @else { 310 | 311 | // Initialize gutters. 312 | @include flexgrid-gutters($columns, $gutters); 313 | 314 | } 315 | 316 | } 317 | 318 | } 319 | 320 | } 321 | 322 | /// Resizes a previously-initialized grid. 323 | /// @param {integer} $columns Columns. 324 | /// @param {number} $gutters Gutters (optional). 325 | /// @param {list} $reset A list of previously-initialized grid columns (only if $flush is true). 326 | /// @param {bool} $flush If true, clears padding around the very edge of the grid. 327 | @mixin flexgrid-resize($settings: ()) { 328 | 329 | // Settings. 330 | 331 | // Columns. 332 | $columns: 1; 333 | 334 | @if (map-has-key($settings, 'columns')) { 335 | $columns: map-get($settings, 'columns'); 336 | } 337 | 338 | // Gutters. 339 | $gutters: 0; 340 | 341 | @if (map-has-key($settings, 'gutters')) { 342 | $gutters: map-get($settings, 'gutters'); 343 | } 344 | 345 | // Previous columns. 346 | $prev-columns: false; 347 | 348 | @if (map-has-key($settings, 'prev-columns')) { 349 | $prev-columns: map-get($settings, 'prev-columns'); 350 | } 351 | 352 | // Flush. 353 | $flush: true; 354 | 355 | @if (map-has-key($settings, 'flush')) { 356 | $flush: map-get($settings, 'flush'); 357 | } 358 | 359 | // Resize columns. 360 | @include flexgrid-columns($columns); 361 | 362 | // Gutters specified? 363 | @if ($gutters > 0) { 364 | 365 | // Flush gutters? 366 | @if ($flush) { 367 | 368 | // Previous columns specified? 369 | @if ($prev-columns) { 370 | 371 | // Convert to list if it isn't one already. 372 | @if (type-of($prev-columns) != list) { 373 | $prev-columns: ($prev-columns); 374 | } 375 | 376 | // Step through list of previous columns and reset them. 377 | @each $x in $prev-columns { 378 | @include flexgrid-gutters-flush-reset($columns, $gutters, $x); 379 | } 380 | 381 | } 382 | 383 | // Resize gutters (flush). 384 | @include flexgrid-gutters-flush($columns, $gutters); 385 | 386 | } 387 | 388 | // Otherwise ... 389 | @else { 390 | 391 | // Resize gutters. 392 | @include flexgrid-gutters($columns, $gutters); 393 | 394 | } 395 | 396 | } 397 | 398 | } -------------------------------------------------------------------------------- /src/assets/scss/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 | } -------------------------------------------------------------------------------- /src/assets/scss/libs/_vars.scss: -------------------------------------------------------------------------------- 1 | // Misc. 2 | $misc: ( 3 | z-index-base: 10000 4 | ); 5 | 6 | // Duration. 7 | $duration: ( 8 | transition: 0.2s 9 | ); 10 | 11 | // Size. 12 | $size: ( 13 | border-radius: 0.35em, 14 | element-height: 2.75em, 15 | element-margin: 2em 16 | ); 17 | 18 | // Font. 19 | $font: ( 20 | family: ('Source Sans Pro', Helvetica, sans-serif), 21 | family-fixed: ('Courier New', monospace), 22 | weight: 400, 23 | weight-bold: 400 24 | ); 25 | 26 | // Palette. 27 | $palette: ( 28 | bg: #fff, 29 | fg: #a2a2a2, 30 | fg-bold: #787878, 31 | fg-light: #b2b2b2, 32 | border: #efefef, 33 | border-bg: #f7f7f7, 34 | border2: #dfdfdf, 35 | border2-bg: #e7e7e7, 36 | 37 | accent1: ( 38 | bg: #49bf9d, 39 | fg: mix(#49bf9d, #ffffff, 25%), 40 | fg-bold: #ffffff, 41 | fg-light: mix(#49bf9d, #ffffff, 40%), 42 | border: rgba(255,255,255,0.25), 43 | border-bg: rgba(255,255,255,0.075), 44 | border2: rgba(255,255,255,0.5), 45 | border2-bg: rgba(255,255,255,0.2) 46 | ), 47 | 48 | accent2: ( 49 | bg: #1f1815, 50 | fg: rgba(255,255,255,0.5), 51 | fg-bold: #ffffff, 52 | fg-light: rgba(255,255,255,0.4), 53 | border: rgba(255,255,255,0.25), 54 | border-bg: rgba(255,255,255,0.075), 55 | border2: rgba(255,255,255,0.5), 56 | border2-bg: rgba(255,255,255,0.2) 57 | ) 58 | ); -------------------------------------------------------------------------------- /src/assets/scss/main.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import '../css/font-awesome.min.css'; 5 | @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic"); 6 | 7 | /* 8 | Strata by HTML5 UP 9 | html5up.net | @ajlkn 10 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 11 | */ 12 | 13 | @import "libs/skel"; 14 | 15 | @include skel-breakpoints(( 16 | xlarge: '(max-width: 1800px)', 17 | large: '(max-width: 1280px)', 18 | medium: '(max-width: 980px)', 19 | small: '(max-width: 736px)', 20 | xsmall: '(max-width: 480px)' 21 | )); 22 | 23 | @include skel-layout(( 24 | reset: 'full', 25 | boxModel: 'border', 26 | grid: ( gutters: 2.5em ), 27 | conditionals: true, 28 | containers: true, 29 | breakpoints: ( 30 | large: ( 31 | grid: ( 32 | gutters: 2em 33 | ), 34 | ), 35 | small: ( 36 | grid: ( 37 | gutters: 1.5em 38 | ), 39 | ) 40 | ) 41 | )); 42 | 43 | $size-header-width: 35%; 44 | $size-header-pad: 4em; 45 | 46 | /* Basic */ 47 | 48 | body { 49 | background: _palette(bg); 50 | 51 | &.is-loading { 52 | *, *:before, *:after { 53 | @include vendor('animation', 'none !important'); 54 | @include vendor('transition', 'none !important'); 55 | } 56 | } 57 | } 58 | 59 | body, input, select, textarea { 60 | color: _palette(fg); 61 | font-family: _font(family); 62 | font-size: 16pt; 63 | font-weight: _font(weight); 64 | line-height: 1.75em; 65 | } 66 | 67 | a { 68 | @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out')); 69 | border-bottom: dotted 1px; 70 | color: _palette(accent1, bg); 71 | text-decoration: none; 72 | 73 | &:hover { 74 | border-bottom-color: transparent; 75 | color: _palette(accent1, bg) !important; 76 | text-decoration: none; 77 | } 78 | } 79 | 80 | strong, b { 81 | color: _palette(fg-bold); 82 | font-weight: _font(weight-bold); 83 | } 84 | 85 | em, i { 86 | font-style: italic; 87 | } 88 | 89 | p { 90 | margin: 0 0 _size(element-margin) 0; 91 | } 92 | 93 | h1, h2, h3, h4, h5, h6 { 94 | color: _palette(fg-bold); 95 | font-weight: _font(weight-bold); 96 | line-height: 1em; 97 | margin: 0 0 (_size(element-margin) * 0.5) 0; 98 | 99 | a { 100 | color: inherit; 101 | text-decoration: none; 102 | } 103 | } 104 | 105 | h1 { 106 | font-size: 2em; 107 | line-height: 1.5em; 108 | } 109 | 110 | h2 { 111 | font-size: 1.5em; 112 | line-height: 1.5em; 113 | } 114 | 115 | h3 { 116 | font-size: 1.25em; 117 | line-height: 1.5em; 118 | } 119 | 120 | h4 { 121 | font-size: 1.1em; 122 | line-height: 1.5em; 123 | } 124 | 125 | h5 { 126 | font-size: 0.9em; 127 | line-height: 1.5em; 128 | } 129 | 130 | h6 { 131 | font-size: 0.7em; 132 | line-height: 1.5em; 133 | } 134 | 135 | sub { 136 | font-size: 0.8em; 137 | position: relative; 138 | top: 0.5em; 139 | } 140 | 141 | sup { 142 | font-size: 0.8em; 143 | position: relative; 144 | top: -0.5em; 145 | } 146 | 147 | hr { 148 | border: 0; 149 | border-bottom: solid 2px _palette(border); 150 | 151 | // This is the *only* instance where we need to rely on margin collapse. 152 | margin: _size(element-margin) 0; 153 | 154 | &.major { 155 | margin: (_size(element-margin) * 1.5) 0; 156 | } 157 | } 158 | 159 | blockquote { 160 | border-left: solid 6px _palette(border); 161 | font-style: italic; 162 | margin: 0 0 _size(element-margin) 0; 163 | padding: 0.5em 0 0.5em 1.5em; 164 | } 165 | 166 | code { 167 | background: _palette(border-bg); 168 | border-radius: _size(border-radius); 169 | border: solid 2px _palette(border); 170 | font-family: _font(family-fixed); 171 | font-size: 0.9em; 172 | margin: 0 0.25em; 173 | padding: 0.25em 0.65em; 174 | } 175 | 176 | pre { 177 | -webkit-overflow-scrolling: touch; 178 | font-family: _font(family-fixed); 179 | font-size: 0.9em; 180 | margin: 0 0 _size(element-margin) 0; 181 | 182 | code { 183 | display: block; 184 | line-height: 1.75em; 185 | padding: 1em 1.5em; 186 | overflow-x: auto; 187 | } 188 | } 189 | 190 | .align-left { 191 | text-align: left; 192 | } 193 | 194 | .align-center { 195 | text-align: center; 196 | } 197 | 198 | .align-right { 199 | text-align: right; 200 | } 201 | 202 | /* Section/Article */ 203 | 204 | section, article { 205 | &.special { 206 | text-align: center; 207 | } 208 | } 209 | 210 | header { 211 | p { 212 | color: _palette(fg-light); 213 | position: relative; 214 | margin: 0 0 (_size(element-margin) * 0.75) 0; 215 | } 216 | 217 | h2 + p { 218 | font-size: 1.25em; 219 | margin-top: (_size(element-margin) * -0.5); 220 | line-height: 1.5em; 221 | } 222 | 223 | h3 + p { 224 | font-size: 1.1em; 225 | margin-top: (_size(element-margin) * -0.4); 226 | line-height: 1.5em; 227 | } 228 | 229 | h4 + p, 230 | h5 + p, 231 | h6 + p { 232 | font-size: 0.9em; 233 | margin-top: (_size(element-margin) * -0.3); 234 | line-height: 1.5em; 235 | } 236 | 237 | &.major { 238 | h2 { 239 | font-size: 2em; 240 | } 241 | } 242 | } 243 | 244 | /* Form */ 245 | 246 | form { 247 | margin: 0 0 _size(element-margin) 0; 248 | } 249 | 250 | label { 251 | color: _palette(fg-bold); 252 | display: block; 253 | font-size: 0.9em; 254 | font-weight: _font(weight-bold); 255 | margin: 0 0 (_size(element-margin) * 0.5) 0; 256 | } 257 | 258 | input[type="text"], 259 | input[type="password"], 260 | input[type="email"], 261 | select, 262 | textarea { 263 | @include vendor('appearance', 'none'); 264 | background: _palette(border-bg); 265 | border-radius: _size(border-radius); 266 | border: solid 2px transparent; 267 | color: inherit; 268 | display: block; 269 | outline: 0; 270 | padding: 0 0.75em; 271 | text-decoration: none; 272 | width: 100%; 273 | 274 | &:invalid { 275 | box-shadow: none; 276 | } 277 | 278 | &:focus { 279 | border-color: _palette(accent1, bg); 280 | } 281 | } 282 | 283 | .select-wrapper { 284 | @include icon; 285 | display: block; 286 | position: relative; 287 | 288 | &:before { 289 | color: _palette(border2); 290 | content: '\f078'; 291 | display: block; 292 | height: _size(element-height); 293 | line-height: _size(element-height); 294 | pointer-events: none; 295 | position: absolute; 296 | right: 0; 297 | text-align: center; 298 | top: 0; 299 | width: _size(element-height); 300 | } 301 | 302 | select::-ms-expand { 303 | display: none; 304 | } 305 | } 306 | 307 | input[type="text"], 308 | input[type="password"], 309 | input[type="email"], 310 | select { 311 | height: _size(element-height); 312 | } 313 | 314 | textarea { 315 | padding: 0.75em; 316 | } 317 | 318 | input[type="checkbox"], 319 | input[type="radio"] { 320 | @include vendor('appearance', 'none'); 321 | display: block; 322 | float: left; 323 | margin-right: -2em; 324 | opacity: 0; 325 | width: 1em; 326 | z-index: -1; 327 | 328 | & + label { 329 | @include icon; 330 | color: _palette(fg); 331 | cursor: pointer; 332 | display: inline-block; 333 | font-size: 1em; 334 | font-weight: _font(weight); 335 | padding-left: (_size(element-height) * 0.6) + 0.75em; 336 | padding-right: 0.75em; 337 | position: relative; 338 | 339 | &:before { 340 | background: _palette(border-bg); 341 | border-radius: _size(border-radius); 342 | border: solid 2px transparent; 343 | content: ''; 344 | display: inline-block; 345 | height: (_size(element-height) * 0.6); 346 | left: 0; 347 | line-height: (_size(element-height) * 0.575); 348 | position: absolute; 349 | text-align: center; 350 | top: 0; 351 | width: (_size(element-height) * 0.6); 352 | } 353 | } 354 | 355 | &:checked + label { 356 | &:before { 357 | background: _palette(fg-bold); 358 | border-color: _palette(fg-bold); 359 | color: _palette(bg); 360 | content: '\f00c'; 361 | } 362 | } 363 | 364 | &:focus + label { 365 | &:before { 366 | border-color: _palette(accent1, bg); 367 | } 368 | } 369 | } 370 | 371 | input[type="checkbox"] { 372 | & + label { 373 | &:before { 374 | border-radius: _size(border-radius); 375 | } 376 | } 377 | } 378 | 379 | input[type="radio"] { 380 | & + label { 381 | &:before { 382 | border-radius: 100%; 383 | } 384 | } 385 | } 386 | 387 | ::-webkit-input-placeholder { 388 | color: _palette(fg-light) !important; 389 | opacity: 1.0; 390 | } 391 | 392 | :-moz-placeholder { 393 | color: _palette(fg-light) !important; 394 | opacity: 1.0; 395 | } 396 | 397 | ::-moz-placeholder { 398 | color: _palette(fg-light) !important; 399 | opacity: 1.0; 400 | } 401 | 402 | :-ms-input-placeholder { 403 | color: _palette(fg-light) !important; 404 | opacity: 1.0; 405 | } 406 | 407 | .formerize-placeholder { 408 | color: _palette(fg-light) !important; 409 | opacity: 1.0; 410 | } 411 | 412 | /* Box */ 413 | 414 | .box { 415 | border-radius: _size(border-radius); 416 | border: solid 2px _palette(border); 417 | margin-bottom: _size(element-margin); 418 | padding: 1.5em; 419 | 420 | > :last-child, 421 | > :last-child > :last-child, 422 | > :last-child > :last-child > :last-child { 423 | margin-bottom: 0; 424 | } 425 | 426 | &.alt { 427 | border: 0; 428 | border-radius: 0; 429 | padding: 0; 430 | } 431 | } 432 | 433 | /* Icon */ 434 | 435 | .icon { 436 | @include icon; 437 | border-bottom: none; 438 | position: relative; 439 | 440 | > .label { 441 | display: none; 442 | } 443 | } 444 | 445 | /* Image */ 446 | 447 | .image { 448 | border-radius: _size(border-radius); 449 | border: 0; 450 | display: inline-block; 451 | position: relative; 452 | 453 | &:before { 454 | @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); 455 | background: url('images/overlay.png'); 456 | border-radius: _size(border-radius); 457 | content: ''; 458 | display: block; 459 | height: 100%; 460 | left: 0; 461 | opacity: 0.5; 462 | position: absolute; 463 | top: 0; 464 | width: 100%; 465 | } 466 | 467 | &.thumb { 468 | text-align: center; 469 | 470 | &:after { 471 | @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); 472 | border-radius: _size(border-radius); 473 | border: solid 3px rgba(255,255,255,0.5); 474 | color: #fff; 475 | content: 'View'; 476 | display: inline-block; 477 | font-size: 0.8em; 478 | font-weight: _font(weight-bold); 479 | left: 50%; 480 | line-height: 2.25em; 481 | margin: -1.25em 0 0 -3em; 482 | opacity: 0; 483 | padding: 0 1.5em; 484 | position: absolute; 485 | text-align: center; 486 | text-decoration: none; 487 | top: 50%; 488 | white-space: nowrap; 489 | } 490 | 491 | &:hover { 492 | &:after { 493 | opacity: 1.0; 494 | } 495 | 496 | &:before { 497 | background: url('images/overlay.png'), url('images/overlay.png'); 498 | opacity: 1.0; 499 | } 500 | } 501 | } 502 | 503 | img { 504 | border-radius: _size(border-radius); 505 | display: block; 506 | } 507 | 508 | &.left { 509 | float: left; 510 | margin: 0 1.5em 1em 0; 511 | top: 0.25em; 512 | } 513 | 514 | &.right { 515 | float: right; 516 | margin: 0 0 1em 1.5em; 517 | top: 0.25em; 518 | } 519 | 520 | &.left, 521 | &.right { 522 | max-width: 40%; 523 | 524 | img { 525 | width: 100%; 526 | } 527 | } 528 | 529 | &.fit { 530 | display: block; 531 | margin: 0 0 _size(element-margin) 0; 532 | width: 100%; 533 | 534 | img { 535 | width: 100%; 536 | } 537 | } 538 | 539 | &.avatar { 540 | border-radius: 100%; 541 | 542 | &:before { 543 | display: none; 544 | } 545 | 546 | img { 547 | border-radius: 100%; 548 | width: 100%; 549 | } 550 | } 551 | } 552 | 553 | /* List */ 554 | 555 | ol { 556 | list-style: decimal; 557 | margin: 0 0 _size(element-margin) 0; 558 | padding-left: 1.25em; 559 | 560 | li { 561 | padding-left: 0.25em; 562 | } 563 | } 564 | 565 | ul { 566 | list-style: disc; 567 | margin: 0 0 _size(element-margin) 0; 568 | padding-left: 1em; 569 | 570 | li { 571 | padding-left: 0.5em; 572 | } 573 | 574 | &.alt { 575 | list-style: none; 576 | padding-left: 0; 577 | 578 | li { 579 | border-top: solid 2px _palette(border); 580 | padding: 0.5em 0; 581 | 582 | &:first-child { 583 | border-top: 0; 584 | padding-top: 0; 585 | } 586 | } 587 | } 588 | 589 | &.icons { 590 | cursor: default; 591 | list-style: none; 592 | padding-left: 0; 593 | 594 | li { 595 | display: inline-block; 596 | padding: 0 1em 0 0; 597 | 598 | &:last-child { 599 | padding-right: 0; 600 | } 601 | 602 | .icon { 603 | &:before { 604 | font-size: 1.5em; 605 | } 606 | } 607 | } 608 | } 609 | 610 | &.actions { 611 | cursor: default; 612 | list-style: none; 613 | padding-left: 0; 614 | 615 | li { 616 | display: inline-block; 617 | padding: 0 (_size(element-margin) * 0.5) 0 0; 618 | vertical-align: middle; 619 | 620 | &:last-child { 621 | padding-right: 0; 622 | } 623 | } 624 | 625 | &.small { 626 | li { 627 | padding: 0 (_size(element-margin) * 0.25) 0 0; 628 | } 629 | } 630 | 631 | &.vertical { 632 | li { 633 | display: block; 634 | padding: (_size(element-margin) * 0.5) 0 0 0; 635 | 636 | &:first-child { 637 | padding-top: 0; 638 | } 639 | 640 | > * { 641 | margin-bottom: 0; 642 | } 643 | } 644 | 645 | &.small { 646 | li { 647 | padding: (_size(element-margin) * 0.25) 0 0 0; 648 | 649 | &:first-child { 650 | padding-top: 0; 651 | } 652 | } 653 | } 654 | } 655 | 656 | &.fit { 657 | display: table; 658 | margin-left: (_size(element-margin) * -0.5); 659 | padding: 0; 660 | table-layout: fixed; 661 | width: calc(100% + #{(_size(element-margin) * 0.5)}); 662 | 663 | li { 664 | display: table-cell; 665 | padding: 0 0 0 (_size(element-margin) * 0.5); 666 | 667 | > * { 668 | margin-bottom: 0; 669 | } 670 | } 671 | 672 | &.small { 673 | margin-left: (_size(element-margin) * -0.25); 674 | width: calc(100% + #{(_size(element-margin) * 0.25)}); 675 | 676 | li { 677 | padding: 0 0 0 (_size(element-margin) * 0.25); 678 | } 679 | } 680 | } 681 | } 682 | 683 | &.labeled-icons { 684 | list-style: none; 685 | padding: 0; 686 | 687 | li { 688 | line-height: 1.75em; 689 | margin: 1.5em 0 0 0; 690 | padding-left: 2.25em; 691 | position: relative; 692 | 693 | &:first-child { 694 | margin-top: 0; 695 | } 696 | 697 | a { 698 | color: inherit; 699 | } 700 | 701 | h3 { 702 | color: _palette(fg-light); 703 | left: 0; 704 | position: absolute; 705 | text-align: center; 706 | top: 0; 707 | width: 1em; 708 | } 709 | } 710 | } 711 | } 712 | 713 | dl { 714 | margin: 0 0 _size(element-margin) 0; 715 | } 716 | 717 | /* Table */ 718 | 719 | .table-wrapper { 720 | -webkit-overflow-scrolling: touch; 721 | overflow-x: auto; 722 | } 723 | 724 | table { 725 | margin: 0 0 _size(element-margin) 0; 726 | width: 100%; 727 | 728 | tbody { 729 | tr { 730 | border: solid 1px _palette(border); 731 | border-left: 0; 732 | border-right: 0; 733 | 734 | &:nth-child(2n + 1) { 735 | background-color: _palette(border-bg); 736 | } 737 | } 738 | } 739 | 740 | td { 741 | padding: 0.75em 0.75em; 742 | } 743 | 744 | th { 745 | color: _palette(fg-bold); 746 | font-size: 0.9em; 747 | font-weight: _font(weight-bold); 748 | padding: 0 0.75em 0.75em 0.75em; 749 | text-align: left; 750 | } 751 | 752 | thead { 753 | border-bottom: solid 2px _palette(border); 754 | } 755 | 756 | tfoot { 757 | border-top: solid 2px _palette(border); 758 | } 759 | 760 | &.alt { 761 | border-collapse: separate; 762 | 763 | tbody { 764 | tr { 765 | td { 766 | border: solid 2px _palette(border); 767 | border-left-width: 0; 768 | border-top-width: 0; 769 | 770 | &:first-child { 771 | border-left-width: 2px; 772 | } 773 | } 774 | 775 | &:first-child { 776 | td { 777 | border-top-width: 2px; 778 | } 779 | } 780 | } 781 | } 782 | 783 | thead { 784 | border-bottom: 0; 785 | } 786 | 787 | tfoot { 788 | border-top: 0; 789 | } 790 | } 791 | } 792 | 793 | /* Button */ 794 | 795 | input[type="submit"], 796 | input[type="reset"], 797 | input[type="button"], 798 | .button { 799 | @include vendor('appearance', 'none'); 800 | @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out')); 801 | background-color: transparent; 802 | border-radius: _size(border-radius); 803 | border: solid 3px _palette(border); 804 | color: _palette(fg-bold) !important; 805 | cursor: pointer; 806 | display: inline-block; 807 | font-weight: _font(weight-bold); 808 | height: 3.15em; 809 | height: calc(2.75em + 6px); 810 | line-height: 2.75em; 811 | min-width: 10em; 812 | padding: 0 1.5em; 813 | text-align: center; 814 | text-decoration: none; 815 | white-space: nowrap; 816 | 817 | &:hover { 818 | border-color: _palette(accent1, bg); 819 | color: _palette(accent1, bg) !important; 820 | } 821 | 822 | &:active { 823 | background-color: transparentize(_palette(accent1, bg), 0.9); 824 | border-color: _palette(accent1, bg); 825 | color: _palette(accent1, bg) !important; 826 | } 827 | 828 | &.icon { 829 | padding-left: 1.35em; 830 | 831 | &:before { 832 | margin-right: 0.5em; 833 | } 834 | } 835 | 836 | &.fit { 837 | display: block; 838 | margin: 0 0 (_size(element-margin) * 0.5) 0; 839 | min-width: 0; 840 | width: 100%; 841 | } 842 | 843 | &.small { 844 | font-size: 0.8em; 845 | } 846 | 847 | &.big { 848 | font-size: 1.35em; 849 | } 850 | 851 | &.special { 852 | background-color: _palette(accent1, bg); 853 | border-color: _palette(accent1, bg); 854 | color: _palette(accent1, fg-bold) !important; 855 | 856 | &:hover { 857 | background-color: lighten(_palette(accent1, bg), 5); 858 | border-color: lighten(_palette(accent1, bg), 5); 859 | } 860 | 861 | &:active { 862 | background-color: darken(_palette(accent1, bg), 5); 863 | border-color: darken(_palette(accent1, bg), 5); 864 | } 865 | } 866 | 867 | &.disabled, 868 | &:disabled { 869 | background-color: _palette(border2-bg) !important; 870 | border-color: _palette(border2-bg) !important; 871 | color: _palette(fg-light) !important; 872 | cursor: default; 873 | } 874 | } 875 | 876 | /* Work Item */ 877 | 878 | .work-item { 879 | margin: 0 0 _size(element-margin) 0; 880 | 881 | .image { 882 | margin: 0 0 (_size(element-margin) * 0.75) 0; 883 | } 884 | 885 | h3 { 886 | font-size: 1em; 887 | margin: 0 0 (_size(element-margin) * 0.25) 0; 888 | } 889 | 890 | p { 891 | font-size: 0.8em; 892 | line-height: 1.5em; 893 | margin: 0; 894 | } 895 | } 896 | 897 | /* Header */ 898 | 899 | #header { 900 | @include vendor('display', 'flex'); 901 | @include vendor('flex-direction', 'column'); 902 | @include vendor('align-items', 'flex-end'); 903 | @include vendor('justify-content', 'space-between'); 904 | background-color: _palette(accent2, bg); 905 | background-attachment: scroll, fixed; 906 | background-image: url('images/overlay.png'), url('../images/bg.jpg'); 907 | background-position: top left, top left; 908 | background-repeat: repeat, no-repeat; 909 | background-size: auto, auto; 910 | color: _palette(accent2, fg); 911 | height: 100%; 912 | left: 0; 913 | padding: ($size-header-pad * 2) $size-header-pad; 914 | position: fixed; 915 | text-align: right; 916 | top: 0; 917 | width: $size-header-width; 918 | 919 | > * { 920 | @include vendor('flex-shrink', '0'); 921 | width: 100%; 922 | } 923 | 924 | > .inner { 925 | @include vendor('flex-grow', '1'); 926 | margin: 0 0 ($size-header-pad * 0.5) 0; 927 | } 928 | 929 | strong, b { 930 | color: _palette(accent2, fg-bold); 931 | } 932 | 933 | h2, h3, h4, h5, h6 { 934 | color: _palette(accent2, fg-bold); 935 | } 936 | 937 | h1 { 938 | color: _palette(accent2, fg); 939 | font-size: 1.35em; 940 | line-height: 1.75em; 941 | margin: 0; 942 | } 943 | 944 | .image.avatar { 945 | margin: 0 0 (_size(element-margin) * 0.5) 0; 946 | width: 6.25em; 947 | } 948 | } 949 | 950 | /* Footer */ 951 | 952 | #footer { 953 | .icons { 954 | margin: (_size(element-margin) * 0.5) 0 0 0; 955 | 956 | a { 957 | color: _palette(accent2, fg-light); 958 | } 959 | } 960 | 961 | .copyright { 962 | color: _palette(accent2, fg-light); 963 | font-size: 0.8em; 964 | list-style: none; 965 | margin: (_size(element-margin) * 0.5) 0 0 0; 966 | padding: 0; 967 | 968 | li { 969 | border-left: solid 1px _palette(accent2, border); 970 | display: inline-block; 971 | line-height: 1em; 972 | margin-left: 0.75em; 973 | padding-left: 0.75em; 974 | 975 | &:first-child { 976 | border-left: 0; 977 | margin-left: 0; 978 | padding-left: 0; 979 | } 980 | 981 | a { 982 | color: inherit; 983 | } 984 | } 985 | } 986 | } 987 | 988 | /* Main */ 989 | 990 | #main { 991 | margin-left: $size-header-width; 992 | max-width: 50em + $size-header-pad; 993 | padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad; 994 | width: calc(100% - #{$size-header-width}); 995 | 996 | > section { 997 | border-top: solid 2px _palette(border); 998 | margin: $size-header-pad 0 0 0; 999 | padding: $size-header-pad 0 0 0; 1000 | 1001 | &:first-child { 1002 | border-top: 0; 1003 | margin-top: 0; 1004 | padding-top: 0; 1005 | } 1006 | } 1007 | } 1008 | 1009 | /* Poptrox */ 1010 | 1011 | @include keyframes('spin') { 1012 | 0% { @include vendor('transform', 'rotate(0deg)'); } 1013 | 100% { @include vendor('transform', 'rotate(360deg)'); } 1014 | }; 1015 | 1016 | .poptrox-popup { 1017 | @include vendor('box-sizing', 'content-box'); 1018 | -webkit-tap-highlight-color: rgba(255,255,255,0); 1019 | background: #fff; 1020 | border-radius: _size(border-radius); 1021 | box-shadow: 0 0.1em 0.15em 0 rgba(0,0,0,0.15); 1022 | overflow: hidden; 1023 | padding-bottom: 3em; 1024 | 1025 | .loader { 1026 | @include icon; 1027 | @include vendor('animation', 'spin 1s linear infinite'); 1028 | font-size: 1.5em; 1029 | height: 1em; 1030 | left: 50%; 1031 | line-height: 1em; 1032 | margin: -0.5em 0 0 -0.5em; 1033 | position: absolute; 1034 | top: 50%; 1035 | width: 1em; 1036 | 1037 | &:before { 1038 | content: '\f1ce'; 1039 | } 1040 | } 1041 | 1042 | .caption { 1043 | background: #fff; 1044 | bottom: 0; 1045 | cursor: default; 1046 | font-size: 0.9em; 1047 | height: 3em; 1048 | left: 0; 1049 | line-height: 2.8em; 1050 | position: absolute; 1051 | text-align: center; 1052 | width: 100%; 1053 | z-index: 1; 1054 | } 1055 | 1056 | .nav-next, 1057 | .nav-previous { 1058 | @include icon; 1059 | @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); 1060 | -webkit-tap-highlight-color: rgba(255,255,255,0); 1061 | background: rgba(0,0,0,0.01); 1062 | cursor: pointer; 1063 | height: 100%; 1064 | opacity: 0; 1065 | position: absolute; 1066 | top: 0; 1067 | width: 50%; 1068 | 1069 | &:before { 1070 | color: #fff; 1071 | font-size: 2.5em; 1072 | height: 1em; 1073 | line-height: 1em; 1074 | margin-top: -0.75em; 1075 | position: absolute; 1076 | text-align: center; 1077 | top: 50%; 1078 | width: 1.5em; 1079 | } 1080 | } 1081 | 1082 | .nav-next { 1083 | right: 0; 1084 | 1085 | &:before { 1086 | content: '\f105'; 1087 | right: 0; 1088 | } 1089 | } 1090 | 1091 | .nav-previous { 1092 | left: 0; 1093 | 1094 | &:before { 1095 | content: '\f104'; 1096 | left: 0; 1097 | } 1098 | } 1099 | 1100 | .closer { 1101 | @include icon; 1102 | @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); 1103 | -webkit-tap-highlight-color: rgba(255,255,255,0); 1104 | color: #fff; 1105 | height: 4em; 1106 | line-height: 4em; 1107 | opacity: 0; 1108 | position: absolute; 1109 | right: 0; 1110 | text-align: center; 1111 | top: 0; 1112 | width: 4em; 1113 | z-index: 2; 1114 | 1115 | &:before { 1116 | @include vendor('box-sizing', 'content-box'); 1117 | border-radius: 100%; 1118 | border: solid 3px rgba(255,255,255,0.5); 1119 | content: '\f00d'; 1120 | display: block; 1121 | font-size: 1em; 1122 | height: 1.75em; 1123 | left: 50%; 1124 | line-height: 1.75em; 1125 | margin: -0.875em 0 0 -0.875em; 1126 | position: absolute; 1127 | top: 50%; 1128 | width: 1.75em; 1129 | } 1130 | } 1131 | 1132 | &:hover { 1133 | .nav-next, 1134 | .nav-previous { 1135 | opacity: 0.5; 1136 | 1137 | &:hover { 1138 | opacity: 1.0; 1139 | } 1140 | } 1141 | 1142 | .closer { 1143 | opacity: 0.5; 1144 | 1145 | &:hover { 1146 | opacity: 1.0; 1147 | } 1148 | } 1149 | } 1150 | } 1151 | 1152 | /* Touch */ 1153 | 1154 | body.is-touch { 1155 | 1156 | .image { 1157 | &.thumb { 1158 | &:before { 1159 | opacity: 0.5 !important; 1160 | } 1161 | 1162 | &:after { 1163 | display: none !important; 1164 | } 1165 | } 1166 | } 1167 | 1168 | #header { 1169 | background-attachment: scroll; 1170 | background-size: auto, cover; 1171 | } 1172 | 1173 | .poptrox-popup { 1174 | .nav-next, 1175 | .nav-previous, 1176 | .closer { 1177 | opacity: 1.0 !important; 1178 | } 1179 | } 1180 | 1181 | } 1182 | 1183 | /* XLarge */ 1184 | 1185 | @include breakpoint(xlarge) { 1186 | 1187 | /* Basic */ 1188 | 1189 | body, input, select, textarea { 1190 | font-size: 12pt; 1191 | } 1192 | 1193 | } 1194 | 1195 | /* Large */ 1196 | 1197 | @include breakpoint(large) { 1198 | 1199 | $size-header-width: 30%; 1200 | $size-header-pad: 3em; 1201 | 1202 | /* Header */ 1203 | 1204 | #header { 1205 | padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad; 1206 | width: $size-header-width; 1207 | 1208 | h1 { 1209 | font-size: 1.25em; 1210 | 1211 | br { 1212 | display: none; 1213 | } 1214 | } 1215 | } 1216 | 1217 | /* Footer */ 1218 | 1219 | #footer { 1220 | .copyright { 1221 | li { 1222 | border-left-width: 0; 1223 | display: block; 1224 | line-height: 2.25em; 1225 | margin-left: 0; 1226 | padding-left: 0; 1227 | } 1228 | } 1229 | } 1230 | 1231 | /* Main */ 1232 | 1233 | #main { 1234 | margin-left: $size-header-width; 1235 | max-width: none; 1236 | padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad; 1237 | width: calc(100% - #{$size-header-width}); 1238 | } 1239 | 1240 | } 1241 | 1242 | /* Medium */ 1243 | 1244 | @include breakpoint(medium) { 1245 | 1246 | $size-header-pad: 4em; 1247 | 1248 | /* Basic */ 1249 | 1250 | h1, h2, h3, h4, h5, h6 { 1251 | br { 1252 | display: none; 1253 | } 1254 | } 1255 | 1256 | /* List */ 1257 | 1258 | ul { 1259 | &.icons { 1260 | li { 1261 | .icon { 1262 | font-size: 1.25em; 1263 | } 1264 | } 1265 | } 1266 | } 1267 | 1268 | /* Header */ 1269 | 1270 | #header { 1271 | background-attachment: scroll; 1272 | background-position: top left, center center; 1273 | background-size: auto, cover; 1274 | left: auto; 1275 | padding: ($size-header-pad * 1.5) $size-header-pad; 1276 | position: relative; 1277 | text-align: center; 1278 | top: auto; 1279 | width: 100%; 1280 | display: block; 1281 | 1282 | h1 { 1283 | font-size: 1.75em; 1284 | 1285 | br { 1286 | display: inline; 1287 | } 1288 | } 1289 | } 1290 | 1291 | /* Footer */ 1292 | 1293 | #footer { 1294 | bottom: auto; 1295 | left: auto; 1296 | padding: $size-header-pad $size-header-pad ($size-header-pad * 1.5) $size-header-pad; 1297 | position: relative; 1298 | text-align: center; 1299 | width: 100%; 1300 | 1301 | .icons { 1302 | margin: 0 0 (_size(element-margin) * 0.5) 0; 1303 | } 1304 | 1305 | .copyright { 1306 | margin: 0 0 (_size(element-margin) * 0.5) 0; 1307 | 1308 | li { 1309 | border-left-width: 1px; 1310 | display: inline-block; 1311 | line-height: 1em; 1312 | margin-left: 0.75em; 1313 | padding-left: 0.75em; 1314 | } 1315 | } 1316 | } 1317 | 1318 | /* Main */ 1319 | 1320 | #main { 1321 | margin: 0; 1322 | padding: ($size-header-pad * 1.5) $size-header-pad; 1323 | width: 100%; 1324 | } 1325 | 1326 | } 1327 | 1328 | /* Small */ 1329 | 1330 | @include breakpoint(small) { 1331 | 1332 | $size-header-pad: 1.5em; 1333 | 1334 | /* Basic */ 1335 | 1336 | h1 { 1337 | font-size: 1.5em; 1338 | } 1339 | 1340 | h2 { 1341 | font-size: 1.2em; 1342 | } 1343 | 1344 | h3 { 1345 | font-size: 1em; 1346 | } 1347 | 1348 | /* Section/Article */ 1349 | 1350 | section, article { 1351 | &.special { 1352 | text-align: center; 1353 | } 1354 | } 1355 | 1356 | header { 1357 | &.major { 1358 | h2 { 1359 | font-size: 1.35em; 1360 | } 1361 | } 1362 | } 1363 | 1364 | /* List */ 1365 | 1366 | ul { 1367 | &.labeled-icons { 1368 | li { 1369 | padding-left: 2em; 1370 | 1371 | h3 { 1372 | line-height: 1.75em; 1373 | } 1374 | } 1375 | } 1376 | } 1377 | 1378 | /* Header */ 1379 | 1380 | #header { 1381 | padding: ($size-header-pad * 1.5) $size-header-pad; 1382 | 1383 | h1 { 1384 | font-size: 1.35em; 1385 | } 1386 | } 1387 | 1388 | /* Footer */ 1389 | 1390 | #footer { 1391 | padding: ($size-header-pad * 1.5) $size-header-pad; 1392 | } 1393 | 1394 | /* Main */ 1395 | 1396 | #main { 1397 | padding: ($size-header-pad * 1.5) $size-header-pad (($size-header-pad * 1.5) - _size(element-margin)) $size-header-pad; 1398 | 1399 | > section { 1400 | margin: ($size-header-pad * 1.5) 0 0 0; 1401 | padding: ($size-header-pad * 1.5) 0 0 0; 1402 | } 1403 | } 1404 | 1405 | /* Poptrox */ 1406 | 1407 | .poptrox-popup { 1408 | border-radius: 0; 1409 | 1410 | .nav-next, 1411 | .nav-previous { 1412 | &:before { 1413 | margin-top: -1em; 1414 | } 1415 | } 1416 | } 1417 | 1418 | } 1419 | 1420 | /* XSmall */ 1421 | 1422 | @include breakpoint(xsmall) { 1423 | 1424 | $size-header-pad: 1.5em; 1425 | 1426 | /* List */ 1427 | 1428 | ul { 1429 | &.actions { 1430 | margin: 0 0 _size(element-margin) 0; 1431 | 1432 | li { 1433 | display: block; 1434 | padding: (_size(element-margin) * 0.5) 0 0 0; 1435 | text-align: center; 1436 | width: 100%; 1437 | 1438 | &:first-child { 1439 | padding-top: 0; 1440 | } 1441 | 1442 | > * { 1443 | margin: 0 !important; 1444 | width: 100%; 1445 | 1446 | &.icon { 1447 | &:before { 1448 | margin-left: -2em; 1449 | } 1450 | } 1451 | } 1452 | } 1453 | 1454 | &.small { 1455 | li { 1456 | padding: (_size(element-margin) * 0.25) 0 0 0; 1457 | 1458 | &:first-child { 1459 | padding-top: 0; 1460 | } 1461 | } 1462 | } 1463 | } 1464 | } 1465 | 1466 | /* Header */ 1467 | 1468 | #header { 1469 | padding: ($size-header-pad * 3) $size-header-pad; 1470 | 1471 | h1 { 1472 | br { 1473 | display: none; 1474 | } 1475 | } 1476 | } 1477 | 1478 | /* Footer */ 1479 | 1480 | #footer { 1481 | .copyright { 1482 | li { 1483 | border-left-width: 0; 1484 | display: block; 1485 | line-height: 2.25em; 1486 | margin-left: 0; 1487 | padding-left: 0; 1488 | } 1489 | } 1490 | } 1491 | 1492 | } 1493 | 1494 | @media screen and (max-width: 480px) { 1495 | .\36 u, 1496 | .\36 u24, 1497 | .\38 u, 1498 | .\38 u24, 1499 | .\34 u, 1500 | .\34 u24 { 1501 | width: 100%; 1502 | } 1503 | } -------------------------------------------------------------------------------- /src/components/Footer.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Footer = () => ( 4 | 36 | ) 37 | 38 | export default Footer 39 | -------------------------------------------------------------------------------- /src/components/Gallery/components/Gallery.js: -------------------------------------------------------------------------------- 1 | import React, { useState, useCallback } from 'react' 2 | import PropTypes from 'prop-types' 3 | import Carousel, { Modal, ModalGateway } from 'react-images' 4 | import GalleryItem from './GalleryItem' 5 | import { DEFAULT_IMAGES } from '../constants/defaultImages' 6 | 7 | const Gallery = ({ images = DEFAULT_IMAGES }) => { 8 | const [lightboxIsOpen, setLightboxIsOpen] = useState(false) 9 | const [selectedIndex, setSelectedIndex] = useState(0) 10 | 11 | const toggleLightbox = useCallback(selectedIndex => { 12 | setLightboxIsOpen(!lightboxIsOpen) 13 | setSelectedIndex(selectedIndex) 14 | }, [lightboxIsOpen]) 15 | 16 | return ( 17 |
18 | {images && (
19 | {images.map((obj, i) => { 20 | return (); 31 | })} 32 |
33 | )} 34 | 35 | {lightboxIsOpen && ( 36 | 37 | 38 | 39 | )} 40 | 41 |
42 | ) 43 | } 44 | 45 | Gallery.displayName = 'Gallery' 46 | Gallery.propTypes = { 47 | images: PropTypes.array, 48 | } 49 | 50 | export default Gallery 51 | -------------------------------------------------------------------------------- /src/components/Gallery/components/GalleryItem.js: -------------------------------------------------------------------------------- 1 | import React, { useCallback } from 'react' 2 | import PropTypes from 'prop-types' 3 | 4 | const GalleryItem = ({id, source, thumbnail, caption, description, position, toggleLightbox}) => { 5 | 6 | const onClick = useCallback((e) => { 7 | e.preventDefault() 8 | toggleLightbox(position) 9 | }, [position, toggleLightbox]); 10 | 11 | return (
12 | 17 | 18 | 19 | 20 |

{caption}

21 |

{description}

22 |
) 23 | }; 24 | 25 | GalleryItem.displayName = 'GalleryItem' 26 | GalleryItem.propTypes = { 27 | id: PropTypes.string.isRequired, 28 | source: PropTypes.string.isRequired, 29 | thumbnail: PropTypes.string.isRequired, 30 | caption: PropTypes.string.isRequired, 31 | description: PropTypes.string.isRequired, 32 | position: PropTypes.string.isRequired, 33 | toggleLightbox: PropTypes.func.isRequired 34 | } 35 | 36 | export default GalleryItem -------------------------------------------------------------------------------- /src/components/Gallery/constants/defaultImages.js: -------------------------------------------------------------------------------- 1 | import full01 from '../../../assets/images/fulls/01.jpg' 2 | import full02 from '../../../assets/images/fulls/02.jpg' 3 | import full03 from '../../../assets/images/fulls/03.jpg' 4 | import full04 from '../../../assets/images/fulls/04.jpg' 5 | import full05 from '../../../assets/images/fulls/05.jpg' 6 | import full06 from '../../../assets/images/fulls/06.jpg' 7 | import thumb02 from '../../../assets/images/thumbs/02.jpg' 8 | import thumb01 from '../../../assets/images/thumbs/01.jpg' 9 | import thumb03 from '../../../assets/images/thumbs/03.jpg' 10 | import thumb04 from '../../../assets/images/thumbs/04.jpg' 11 | import thumb05 from '../../../assets/images/thumbs/05.jpg' 12 | import thumb06 from '../../../assets/images/thumbs/06.jpg' 13 | 14 | 15 | export const DEFAULT_IMAGES = [ 16 | { 17 | id: '1', 18 | source: full01, 19 | thumbnail: thumb01, 20 | caption: 'Photo 1', 21 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 22 | }, 23 | { 24 | id: '2', 25 | source: full02, 26 | thumbnail: thumb02, 27 | caption: 'Photo 2', 28 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 29 | }, 30 | { 31 | id: '3', 32 | source: full03, 33 | thumbnail: thumb03, 34 | caption: 'Photo 3', 35 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 36 | }, 37 | { 38 | id: '4', 39 | source: full04, 40 | thumbnail: thumb04, 41 | caption: 'Photo 4', 42 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 43 | }, 44 | { 45 | id: '5', 46 | source: full05, 47 | thumbnail: thumb05, 48 | caption: 'Photo 5', 49 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 50 | }, 51 | { 52 | id: '6', 53 | source: full06, 54 | thumbnail: thumb06, 55 | caption: 'Photo 6', 56 | description: 'Lorem ipsum dolor sit amet nisl sed nullam feugiat.', 57 | } 58 | ] -------------------------------------------------------------------------------- /src/components/Gallery/index.js: -------------------------------------------------------------------------------- 1 | export {default} from './components/Gallery'; -------------------------------------------------------------------------------- /src/components/Header.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | import Footer from './Footer' 4 | import avatar from '../assets/images/avatar.jpg' 5 | 6 | const Header = () => ( 7 | 22 | ) 23 | 24 | export default Header 25 | -------------------------------------------------------------------------------- /src/components/layout.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import '../assets/scss/main.scss' 3 | 4 | import Header from './Header' 5 | 6 | const Template = ({ children }) => ( 7 |
8 |
9 | {children} 10 |
11 | ) 12 | 13 | export default Template 14 | -------------------------------------------------------------------------------- /src/pages/404.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Helmet from 'react-helmet' 3 | import Layout from '../components/layout' 4 | 5 | const NotFoundPage = () => ( 6 | 7 |
8 |

NOT FOUND

9 |

You just hit a route that doesn't exist... the sadness.

10 |
11 |
12 | ) 13 | 14 | export default NotFoundPage 15 | -------------------------------------------------------------------------------- /src/pages/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Helmet from 'react-helmet' 3 | 4 | import Gallery from '../components/Gallery' 5 | import Layout from '../components/layout' 6 | 7 | const HomeIndex = () => { 8 | const siteTitle = 'Gatsby Starter - Strata' 9 | const siteDescription = 'Site description' 10 | 11 | return ( 12 | 13 | 14 | {siteTitle} 15 | 16 | 17 | 18 |
19 |
20 |
21 |

22 | Ipsum lorem dolor aliquam ante commodo 23 |
24 | magna sed accumsan arcu neque. 25 |

26 |
27 |

28 | Accumsan orci faucibus id eu lorem semper. Eu ac iaculis ac nunc 29 | nisi lorem vulputate lorem neque cubilia ac in adipiscing in curae 30 | lobortis tortor primis integer massa adipiscing id nisi accumsan 31 | pellentesque commodo blandit enim arcu non at amet id arcu magna. 32 | Accumsan orci faucibus id eu lorem semper nunc nisi lorem vulputate 33 | lorem neque cubilia. 34 |

35 | 42 |
43 | 44 |
45 |

Recent Work

46 | 47 | 48 | 49 | 56 |
57 | 58 |
59 |

Get In Touch

60 |

61 | Accumsan pellentesque commodo blandit enim arcu non at amet id arcu 62 | magna. Accumsan orci faucibus id eu lorem semper nunc nisi lorem 63 | vulputate lorem neque lorem ipsum dolor. 64 |

65 |
66 |
67 |
68 |
69 |
70 | 76 |
77 |
78 | 84 |
85 |
86 | 92 |
93 |
94 |
    95 |
  • 96 | 97 |
  • 98 |
99 |
100 |
101 |
102 |
    103 |
  • 104 |

    105 | Address 106 |

    107 | 1234 Somewhere Rd. 108 |
    109 | Nashville, TN 00000 110 |
    111 | United States 112 |
  • 113 |
  • 114 |

    115 | Phone 116 |

    117 | 000-000-0000 118 |
  • 119 |
  • 120 |

    121 | Email 122 |

    123 | hello@untitled.tld 124 |
  • 125 |
126 |
127 |
128 |
129 |
130 |
131 | ) 132 | } 133 | 134 | export default HomeIndex 135 | --------------------------------------------------------------------------------