├── .gitignore ├── LICENSE ├── README.md ├── dist ├── css │ ├── site.min.css │ └── site.min.css.map ├── fonts │ ├── entypo.eot │ ├── entypo.svg │ ├── entypo.ttf │ └── entypo.woff ├── img │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── 4.jpg └── js │ ├── site.js │ └── site.js.map ├── grid.html ├── gulpfile.js ├── index.html ├── package.json └── src ├── fonts ├── entypo.eot ├── entypo.svg ├── entypo.ttf └── entypo.woff ├── img ├── 1.jpg ├── 2.jpg ├── 3.jpg └── 4.jpg ├── js ├── modules │ └── theme.js └── site.js └── scss ├── _fonts.scss ├── _global.scss ├── _reset.scss ├── _type.scss ├── _variables.scss ├── base.scss ├── components ├── _buttons.scss ├── _forms.scss ├── _menus.scss └── _tooltips.scss ├── mixins ├── _grid.scss └── _helpers.scss └── partials ├── _footer.scss └── _grid.scss /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore OS or Editor folders 2 | .DS_Store 3 | ._* 4 | Thumbs.db 5 | .cache 6 | .project 7 | .settings 8 | .tmproj 9 | *.esproj 10 | *.sublime-project 11 | *.sublime-workspace 12 | 13 | # Ignore npm/grunt modules 14 | node_modules 15 | npm-debug.log 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [Base 2.1.0](http://base.gs/) 2 | ====== 3 | 4 | **Base is a semantic, lightweight and extensible framework to power the next generation of responsive websites.** 5 | 6 | It's created and maintained by the team at [@agencysc](https://twitter.com/agencysc). Head over to [base.gs](http://base.gs) to try it out and follow [@BaseGS](https://twitter.com/basegs) for framework updates. 7 | 8 | **Note:** this is Base v2 (SASS), for Base v1 (LESS) check [v1 Branch](https://github.com/agency/base/tree/v1) 9 | ## Get Started 10 | 11 | Getting started building websites with Base is easy. You can: 12 | 13 | * [Download the latest code](https://github.com/agency/Base/archive/master.zip) 14 | * Clone the repo `git clone https://github.com/agency/base.git` 15 | 16 | ### What's Inside 17 | 18 | When you download Base you'll see a boilerplate `index.html` file and a folder structure like this: 19 | 20 |
 21 |    js
 22 |     │   ├── modules
 23 |     │   │   └── theme.js
 24 |     │   ├── plugins
 25 |     │   └── site.js
 26 |     └── scss
 27 |         ├── _fonts.scss
 28 |         ├── _global.scss
 29 |         ├── _reset.scss
 30 |         ├── _type.scss
 31 |         ├── _variables.scss
 32 |         ├── base.scss
 33 |         ├── components
 34 |         │   ├── _buttons.scss
 35 |         │   ├── _forms.scss
 36 |         │   ├── _menus.scss
 37 |         │   └── _tooltips.scss
 38 |         ├── mixins
 39 |         │   ├── _grid.scss
 40 |         │   └── _helpers.scss
 41 |         └── partials
 42 |             ├── _footer.scss
 43 |             └── _grid.scss
 44 | 
 45 | 
46 | 47 | ### Installation 48 | 49 | ``` 50 | git clone https://github.com/agency/base 51 | cd base 52 | npm install 53 | gulp dev 54 | ``` 55 | 56 | Update your development workflow, view, and make changes to gulp tasks in `gulpfile.js` 57 | 58 | ## Using Base 59 | 60 | Base is easiest to learn by playing with the code. The default `index.html` file contains a quick reference for the reset and grid mixins and `grid.html` contains grid examples. For more detail view the instructions below. 61 | 62 | ### Grid 63 | 64 | Base grid system allows you to build responsive layouts without having to overwrite column styles for every breakpoint. Based on your grid settings Base will automatically generate column styles and grid widths for all of your breakpoints, responding to different grid configurations (ie. 12 columns on desktop and 1 on mobile). 65 | 66 | Grid settings can be found and updated in `_variables.scss`. You can add as many breakpoints as you like! 67 | 68 | ```scss 69 | // Breakpoints 70 | // ------------------- 71 | 72 | $breakpoints: ( 73 | 'mobile': (max-width: 736px), 74 | 'tablet': (max-width: 1024px), 75 | 'desktop': (min-width: 1200px), 76 | ); 77 | 78 | // Include gutter on outside 79 | $gutterOnOutside: true; 80 | 81 | // Breakpoints Grid Settings 82 | // ------------------- 83 | 84 | $grid-settings: ( 85 | base: ( 86 | container-columns: 12, 87 | gutter: 1%, 88 | max-width: 1100px, 89 | ), 90 | desktop: ( 91 | container-columns: 12, 92 | gutter: 1%, 93 | max-width: 1200px, 94 | ), 95 | tablet: ( 96 | container-columns: 12, 97 | gutter: 5%, 98 | ), 99 | mobile: ( 100 | container-columns: 1, 101 | gutter: 5%, 102 | ) 103 | ); 104 | 105 | ``` 106 | 107 | There are two grid systems that you can use - one with outer gutters and one without. Update `$gutterOnOutside: true;` in `_variables.scss` value to change grid setttings. 108 | 109 | Use `@include container();` to create centered container with an optional `max width` set in the breakpoint. 110 | 111 | `Base` and other breakpoints (mobile, tablet, etc) styles are automatically generated based on your grid settings. 112 | 113 | ```scss 114 | .container { 115 | @include container(); 116 | } 117 | 118 | ``` 119 | 120 | ```css 121 | /* Compiled CSS */ 122 | container { /* Base */ 123 | max-width: 1200px; 124 | margin-left: auto; 125 | margin-right: auto; 126 | } 127 | .container:after { 128 | content: ""; 129 | display: table; 130 | clear: both; 131 | } 132 | @media (max-width: 1024px) { /* Tablet */ 133 | .container { 134 | max-width: 100%; 135 | } 136 | } 137 | @media (max-width: 736px) { /* Mobile */ 138 | .container { 139 | max-width: 100%; 140 | } 141 | } 142 | ``` 143 | 144 | Use `@include columns($columns)` to specify the number of columns your element should take. 145 | 146 | `Base` and other breakpoints (mobile, tablet, etc) styles are automatically generated based on your grid settings. 147 | 148 | 149 | ```scss 150 | .element { 151 | @include columns(5); 152 | } 153 | ``` 154 | 155 | ```css 156 | /* Compiled CSS */ 157 | .element { /* Base */ 158 | display: block; 159 | float: left; 160 | width: 39.6666666667%; 161 | margin-left: 1%; 162 | margin-right: 1%; 163 | } 164 | @media (max-width: 1024px) { /* Tablet */ 165 | .element { 166 | display: block; 167 | float: left; 168 | width: 31.6666666667%; 169 | margin-left: 5%; 170 | margin-right: 5%; 171 | } 172 | } 173 | @media (max-width: 736px) { /* Mobile */ 174 | .element { 175 | display: block; 176 | float: left; 177 | width: 94%; /* Creates full width element because mobile $container-columns equals 1 */ 178 | margin-left: 3%; 179 | margin-right: 3%; 180 | } 181 | } 182 | ``` 183 | 184 | Use `@include columns($columns, $offset, $gutter)` to modify offset and default gutter values 185 | 186 | 187 | ```scss 188 | 189 | .second-element { 190 | @include columns(5, 3, 4%); 191 | } 192 | 193 | ``` 194 | 195 | Use `@include responsive-columns('breakpoint', $columns, $offset, $gutter);` to modify default breakpoint settings 196 | 197 | For example, to create two 50% columns on mobile view with `$container-columns: 1` use: 198 | 199 | ```scss 200 | .sibling-element { 201 | @include responsive-columns('mobile', 0.5); 202 | } 203 | ``` 204 | 205 | ```css 206 | /* Compiled CSS */ 207 | @media (max-width: 736px) { /* Mobile */ 208 | .sibling-element { 209 | display: block; 210 | float: left; 211 | width: 44%; 212 | margin-left: 3%; 213 | margin-right: 3%; 214 | } 215 | } 216 | ``` 217 | 218 | For more grid examples check `grid.html` 219 | 220 | ## Bugs & Feature Requests 221 | 222 | If you find bugs or have any feature requests please [open a new issue](https://github.com/agency/base/issues). It helps if you’re clear about how to reproduce the issue, and what might be causing it. 223 | 224 | ## Contributing 225 | 226 | Pull requests are very welcome. Please follow the same coding style already set within the Base files and keep commits as clean as possible with a detailed explanation of what your pull request is doing. 227 | 228 | Base is maintained through the `master` branch, bundled into releases as required. Experimental or major features will split out into separate branches. 229 | 230 | ## Authors & Key Contributors 231 | 232 | * [Tom Maitland](http://tommaitland.net) / [@tommaitland](https://twitter.com/tommaitland) 233 | * [Katia Shatoba](https://github.com/katiaeirin) / [@KatiaEirin](https://twitter.com/KatiaEirin) 234 | * [Scott Sanders](https://twitter.com/scottsanders) 235 | * [Murray Bunton](http://murraybunton.com/) / [@murraybunton](https://twitter.com/murraybunton) 236 | 237 | ## Copyright 238 | 239 | Copyright 2016 [Agency Strategic Creative](http://agency.sc/) under the [Apache 2.0 license](https://github.com/agency/base/blob/master/LICENSE). 240 | -------------------------------------------------------------------------------- /dist/css/site.min.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | Based on the Eric Meyer CSS Reset v2.0 (http://meyerweb.com/eric/tools/css/reset/) 4 | */ 5 | html, body, div, span, applet, object, iframe, 6 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 7 | a, abbr, acronym, address, big, cite, code, 8 | del, dfn, em, img, ins, kbd, q, s, samp, 9 | small, strike, strong, sub, sup, tt, var, 10 | b, u, i, center, 11 | dl, dt, dd, ol, ul, li, 12 | fieldset, form, label, legend, 13 | table, caption, tbody, tfoot, thead, tr, th, td, 14 | article, aside, canvas, details, embed, 15 | figure, figcaption, footer, header, hgroup, 16 | menu, nav, output, ruby, section, summary, 17 | time, mark, audio, video { 18 | margin: 0; 19 | padding: 0; 20 | border: 0; 21 | font-size: 100%; 22 | font: inherit; 23 | vertical-align: top; } 24 | 25 | article, aside, details, figcaption, figure, 26 | footer, header, hgroup, menu, nav, section { 27 | display: block; } 28 | 29 | body { 30 | line-height: 1; } 31 | 32 | ol, ul { 33 | list-style: none; } 34 | 35 | blockquote, q { 36 | quotes: none; } 37 | 38 | blockquote:before, blockquote:after, 39 | q:before, q:after { 40 | content: ''; 41 | content: none; } 42 | 43 | table { 44 | border-collapse: collapse; 45 | border-spacing: 0; } 46 | 47 | body { 48 | color: #000000; 49 | font-family: "Helvetica", sans-serif; 50 | -webkit-font-smoothing: antialiased; 51 | font-size: 100%; } 52 | 53 | h1 { 54 | font-family: "Trebuchet MS", sans-serif; 55 | font-size: 40px; 56 | font-size: 2.5rem; } 57 | 58 | h2 { 59 | font-family: "Trebuchet MS", sans-serif; 60 | font-size: 32px; 61 | font-size: 2rem; } 62 | 63 | h3 { 64 | font-family: "Trebuchet MS", sans-serif; 65 | font-size: 26px; 66 | font-size: 1.625rem; } 67 | 68 | h4 { 69 | font-family: "Trebuchet MS", sans-serif; 70 | font-size: 22px; 71 | font-size: 1.375rem; } 72 | 73 | h5 { 74 | font-family: "Trebuchet MS", sans-serif; 75 | font-size: 20px; 76 | font-size: 1.25rem; } 77 | 78 | h6 { 79 | font-family: "Trebuchet MS", sans-serif; 80 | font-size: 16px; 81 | font-size: 1rem; } 82 | 83 | p { 84 | font-family: "Helvetica", sans-serif; 85 | font-size: 16px; 86 | font-size: 1rem; 87 | margin: 1em 0; } 88 | 89 | a { 90 | color: #69b5e1; 91 | text-decoration: none; } 92 | a:hover { 93 | text-decoration: underline; } 94 | 95 | abbr, 96 | acronym { 97 | border-bottom: 1px dotted; 98 | cursor: help; } 99 | 100 | address { 101 | font-size: 1rem; 102 | font-style: italic; } 103 | 104 | blockquote { 105 | margin: 1em 0; 106 | padding: 0 0 0 2em; } 107 | 108 | cite { 109 | font-style: italic; } 110 | 111 | code { 112 | font-size: 0.96rem; 113 | font-family: monospace; 114 | background: #EEEEEE; 115 | border: 1px solid #e1e1e1; 116 | padding: 0.125em 0.25em; 117 | line-height: 150%; } 118 | 119 | em, 120 | i { 121 | font-style: italic; } 122 | 123 | strong, 124 | b { 125 | font-weight: bold; } 126 | 127 | hr { 128 | outline: none; 129 | border: none; 130 | margin: 1em 0; 131 | padding: 0; 132 | border-top: 1px solid #EEEEEE; } 133 | 134 | ol, 135 | ul { 136 | margin: 1em 0; 137 | padding: 0 0 0 2em; } 138 | ol li, 139 | ul li { 140 | font-size: 1rem; 141 | list-style-position: outside; } 142 | 143 | ul li { 144 | list-style: disc; } 145 | 146 | ol li { 147 | list-style: decimal; } 148 | 149 | form { 150 | margin: 1em 0; } 151 | 152 | dl { 153 | margin: 1em 0; } 154 | dl dt { 155 | font-weight: bold; } 156 | dl dd { 157 | margin: 0 0 0.5em; } 158 | 159 | table { 160 | width: 100%; 161 | margin: 1em 0; } 162 | table th { 163 | padding: 0.5em; 164 | border: 1px solid #EEEEEE; 165 | background: #f7f7f7; 166 | text-align: left; 167 | font-weight: bold; } 168 | table td { 169 | padding: 0.5em; 170 | border: 1px solid #EEEEEE; } 171 | 172 | @font-face { 173 | font-family: 'entypo'; 174 | src: url("../fonts/entypo.eot?59575301"); 175 | src: url("../fonts/entypo.eot?59575301#iefix") format("embedded-opentype"), url("../fonts/entypo.woff?59575301") format("woff"), url("../fonts/entypo.ttf?59575301") format("truetype"), url("../fonts/entypo.svg?59575301#entypo") format("svg"); 176 | font-weight: normal; 177 | font-style: normal; } 178 | 179 | /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ 180 | /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ 181 | /* 182 | @media screen and (-webkit-min-device-pixel-ratio:0) { 183 | @font-face { 184 | font-family: 'entypo'; 185 | src: url('../font/entypo.svg?59575301#entypo') format('svg'); 186 | } 187 | } 188 | */ 189 | [class^="icon-"]:before, 190 | [class*=" icon-"]:before, 191 | .tweet:before, 192 | .read-more:after { 193 | font-family: "entypo"; 194 | font-style: normal; 195 | font-weight: normal; 196 | speak: none; 197 | display: inline-block; 198 | text-decoration: inherit; 199 | width: 1em; 200 | margin-right: .2em; 201 | text-align: center; 202 | /* For safety - reset parent styles, that can break glyph codes*/ 203 | font-variant: normal; 204 | text-transform: none; 205 | /* fix buttons height, for twitter bootstrap */ 206 | line-height: 1em; 207 | /* Animation center compensation - margins should be symmetric */ 208 | /* remove if not needed */ 209 | margin-left: .2em; 210 | /* you can be more comfortable with increased icons size */ 211 | /* font-size: 120%; */ 212 | /* Uncomment for 3D effect */ 213 | /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } 214 | 215 | span.icon-facebook:before { 216 | padding-right: 0.2em; } 217 | 218 | span.icon-twitter:before { 219 | padding-right: 0.3em; } 220 | 221 | .icon-note:before { 222 | content: '\e800'; } 223 | 224 | /* '' */ 225 | .icon-cancel-circled:before { 226 | content: '\e801'; } 227 | 228 | /* '' */ 229 | .icon-cancel-squared:before { 230 | content: '\e802'; } 231 | 232 | /* '' */ 233 | .icon-note-beamed:before { 234 | content: '\e803'; } 235 | 236 | /* '' */ 237 | .icon-upload-cloud:before { 238 | content: '\e804'; } 239 | 240 | /* '' */ 241 | .icon-music:before { 242 | content: '\e805'; } 243 | 244 | /* '' */ 245 | .icon-plus:before { 246 | content: '\e806'; } 247 | 248 | /* '' */ 249 | .icon-bookmark:before { 250 | content: '\e807'; } 251 | 252 | /* '' */ 253 | .icon-chat:before { 254 | content: '\e808'; } 255 | 256 | /* '' */ 257 | .icon-bell:before { 258 | content: '\e809'; } 259 | 260 | /* '' */ 261 | .icon-light-down:before { 262 | content: '\e80a'; } 263 | 264 | /* '' */ 265 | .icon-basket:before { 266 | content: '\e80b'; } 267 | 268 | /* '' */ 269 | .icon-down:before { 270 | content: '\e80c'; } 271 | 272 | /* '' */ 273 | .icon-left-dir:before { 274 | content: '\e80d'; } 275 | 276 | /* '' */ 277 | .icon-left-circled:before { 278 | content: '\e80e'; } 279 | 280 | /* '' */ 281 | .icon-search:before { 282 | content: '\e80f'; } 283 | 284 | /* '' */ 285 | .icon-mail:before { 286 | content: '\e810'; } 287 | 288 | /* '' */ 289 | .icon-heart:before { 290 | content: '\e811'; } 291 | 292 | /* '' */ 293 | .icon-flashlight:before { 294 | content: '\e812'; } 295 | 296 | /* '' */ 297 | .icon-heart-empty:before { 298 | content: '\e813'; } 299 | 300 | /* '' */ 301 | .icon-star:before { 302 | content: '\e814'; } 303 | 304 | /* '' */ 305 | .icon-star-empty:before { 306 | content: '\e815'; } 307 | 308 | /* '' */ 309 | .icon-user:before { 310 | content: '\e816'; } 311 | 312 | /* '' */ 313 | .icon-users:before { 314 | content: '\e817'; } 315 | 316 | /* '' */ 317 | .icon-user-add:before { 318 | content: '\e818'; } 319 | 320 | /* '' */ 321 | .icon-video:before { 322 | content: '\e819'; } 323 | 324 | /* '' */ 325 | .icon-camera:before { 326 | content: '\e81a'; } 327 | 328 | /* '' */ 329 | .icon-picture:before { 330 | content: '\e81b'; } 331 | 332 | /* '' */ 333 | .icon-layout:before { 334 | content: '\e81c'; } 335 | 336 | /* '' */ 337 | .icon-check:before { 338 | content: '\e81d'; } 339 | 340 | /* '' */ 341 | .icon-tag:before { 342 | content: '\e81e'; } 343 | 344 | /* '' */ 345 | .icon-cancel:before { 346 | content: '\e81f'; } 347 | 348 | /* '' */ 349 | .icon-eye:before { 350 | content: '\e820'; } 351 | 352 | /* '' */ 353 | .icon-lock-open:before { 354 | content: '\e821'; } 355 | 356 | /* '' */ 357 | .icon-menu:before { 358 | content: '\e822'; } 359 | 360 | /* '' */ 361 | .icon-lock:before { 362 | content: '\e823'; } 363 | 364 | /* '' */ 365 | .icon-attach:before { 366 | content: '\e824'; } 367 | 368 | /* '' */ 369 | .icon-link:before { 370 | content: '\e825'; } 371 | 372 | /* '' */ 373 | .icon-home:before { 374 | content: '\e826'; } 375 | 376 | /* '' */ 377 | .icon-back:before { 378 | content: '\e827'; } 379 | 380 | /* '' */ 381 | .icon-info-circled:before { 382 | content: '\e828'; } 383 | 384 | /* '' */ 385 | .icon-info:before { 386 | content: '\e829'; } 387 | 388 | /* '' */ 389 | .icon-help-circled:before { 390 | content: '\e82a'; } 391 | 392 | /* '' */ 393 | .icon-help:before { 394 | content: '\e82b'; } 395 | 396 | /* '' */ 397 | .icon-minus-circled:before { 398 | content: '\e82c'; } 399 | 400 | /* '' */ 401 | .icon-minus:before { 402 | content: '\e82d'; } 403 | 404 | /* '' */ 405 | .icon-plus-squared:before { 406 | content: '\e82e'; } 407 | 408 | /* '' */ 409 | .icon-plus-circled:before { 410 | content: '\e82f'; } 411 | 412 | /* '' */ 413 | .icon-minus-squared:before { 414 | content: '\e830'; } 415 | 416 | /* '' */ 417 | .icon-bookmarks:before { 418 | content: '\e831'; } 419 | 420 | /* '' */ 421 | .icon-flag:before { 422 | content: '\e832'; } 423 | 424 | /* '' */ 425 | .icon-thumbs-up:before { 426 | content: '\e833'; } 427 | 428 | /* '' */ 429 | .icon-upload:before { 430 | content: '\e834'; } 431 | 432 | /* '' */ 433 | .icon-thumbs-down:before { 434 | content: '\e835'; } 435 | 436 | /* '' */ 437 | .icon-download:before { 438 | content: '\e836'; } 439 | 440 | /* '' */ 441 | .icon-reply:before { 442 | content: '\e837'; } 443 | 444 | /* '' */ 445 | .icon-reply-all:before { 446 | content: '\e838'; } 447 | 448 | /* '' */ 449 | .icon-forward:before { 450 | content: '\e839'; } 451 | 452 | /* '' */ 453 | .icon-quote:before { 454 | content: '\e83a'; } 455 | 456 | /* '' */ 457 | .icon-code:before { 458 | content: '\e83b'; } 459 | 460 | /* '' */ 461 | .icon-export:before { 462 | content: '\e83c'; } 463 | 464 | /* '' */ 465 | .icon-pencil:before { 466 | content: '\e83d'; } 467 | 468 | /* '' */ 469 | .icon-feather:before { 470 | content: '\e83e'; } 471 | 472 | /* '' */ 473 | .icon-print:before { 474 | content: '\e83f'; } 475 | 476 | /* '' */ 477 | .icon-retweet:before { 478 | content: '\e840'; } 479 | 480 | /* '' */ 481 | .icon-keyboard:before { 482 | content: '\e841'; } 483 | 484 | /* '' */ 485 | .icon-comment:before { 486 | content: '\e842'; } 487 | 488 | /* '' */ 489 | .icon-book:before { 490 | content: '\e843'; } 491 | 492 | /* '' */ 493 | .icon-book-open:before { 494 | content: '\e844'; } 495 | 496 | /* '' */ 497 | .icon-newspaper:before { 498 | content: '\e845'; } 499 | 500 | /* '' */ 501 | .icon-doc-text-inv:before { 502 | content: '\e846'; } 503 | 504 | /* '' */ 505 | .icon-doc-text:before { 506 | content: '\e847'; } 507 | 508 | /* '' */ 509 | .icon-doc-landscape:before { 510 | content: '\e848'; } 511 | 512 | /* '' */ 513 | .icon-doc:before { 514 | content: '\e849'; } 515 | 516 | /* '' */ 517 | .icon-trash:before { 518 | content: '\e84a'; } 519 | 520 | /* '' */ 521 | .icon-cup:before { 522 | content: '\e84b'; } 523 | 524 | /* '' */ 525 | .icon-compass:before { 526 | content: '\e84c'; } 527 | 528 | /* '' */ 529 | .icon-direction:before { 530 | content: '\e84d'; } 531 | 532 | /* '' */ 533 | .icon-map:before { 534 | content: '\e84e'; } 535 | 536 | /* '' */ 537 | .icon-location:before { 538 | content: '\e84f'; } 539 | 540 | /* '' */ 541 | .icon-address:before { 542 | content: '\e850'; } 543 | 544 | /* '' */ 545 | .icon-vcard:before { 546 | content: '\e851'; } 547 | 548 | /* '' */ 549 | .icon-alert:before { 550 | content: '\e852'; } 551 | 552 | /* '' */ 553 | .icon-attention:before { 554 | content: '\e853'; } 555 | 556 | /* '' */ 557 | .icon-folder:before { 558 | content: '\e854'; } 559 | 560 | /* '' */ 561 | .icon-archive:before { 562 | content: '\e855'; } 563 | 564 | /* '' */ 565 | .icon-box:before { 566 | content: '\e856'; } 567 | 568 | /* '' */ 569 | .icon-rss:before { 570 | content: '\e857'; } 571 | 572 | /* '' */ 573 | .icon-phone:before { 574 | content: '\e858'; } 575 | 576 | /* '' */ 577 | .icon-cog:before { 578 | content: '\e859'; } 579 | 580 | /* '' */ 581 | .icon-tools:before { 582 | content: '\e85a'; } 583 | 584 | /* '' */ 585 | .icon-share:before { 586 | content: '\e85b'; } 587 | 588 | /* '' */ 589 | .icon-shareable:before { 590 | content: '\e85c'; } 591 | 592 | /* '' */ 593 | .icon-bag:before { 594 | content: '\e85d'; } 595 | 596 | /* '' */ 597 | .icon-calendar:before { 598 | content: '\e85e'; } 599 | 600 | /* '' */ 601 | .icon-login:before { 602 | content: '\e85f'; } 603 | 604 | /* '' */ 605 | .icon-logout:before { 606 | content: '\e860'; } 607 | 608 | /* '' */ 609 | .icon-mic:before { 610 | content: '\e861'; } 611 | 612 | /* '' */ 613 | .icon-mute:before { 614 | content: '\e862'; } 615 | 616 | /* '' */ 617 | .icon-docs:before { 618 | content: '\e863'; } 619 | 620 | /* '' */ 621 | .icon-sound:before { 622 | content: '\e864'; } 623 | 624 | /* '' */ 625 | .icon-volume:before { 626 | content: '\e865'; } 627 | 628 | /* '' */ 629 | .icon-clock:before { 630 | content: '\e866'; } 631 | 632 | /* '' */ 633 | .icon-hourglass:before { 634 | content: '\e867'; } 635 | 636 | /* '' */ 637 | .icon-down-open-mini:before { 638 | content: '\e868'; } 639 | 640 | /* '' */ 641 | .icon-up-open:before { 642 | content: '\e869'; } 643 | 644 | /* '' */ 645 | .icon-right-open:before { 646 | content: '\e86a'; } 647 | 648 | /* '' */ 649 | .icon-left-open:before { 650 | content: '\e86b'; } 651 | 652 | /* '' */ 653 | .icon-down-open:before { 654 | content: '\e86c'; } 655 | 656 | /* '' */ 657 | .icon-right-circled:before { 658 | content: '\e86d'; } 659 | 660 | /* '' */ 661 | .icon-down-circled:before { 662 | content: '\e86e'; } 663 | 664 | /* '' */ 665 | .icon-up-circled:before { 666 | content: '\e86f'; } 667 | 668 | /* '' */ 669 | .icon-arrow-combo:before { 670 | content: '\e870'; } 671 | 672 | /* '' */ 673 | .icon-window:before { 674 | content: '\e871'; } 675 | 676 | /* '' */ 677 | .icon-publish:before { 678 | content: '\e872'; } 679 | 680 | /* '' */ 681 | .icon-popup:before { 682 | content: '\e873'; } 683 | 684 | /* '' */ 685 | .icon-resize-small:before { 686 | content: '\e874'; } 687 | 688 | /* '' */ 689 | .icon-resize-full:before { 690 | content: '\e875'; } 691 | 692 | /* '' */ 693 | .icon-block:before { 694 | content: '\e876'; } 695 | 696 | /* '' */ 697 | .icon-adjust:before { 698 | content: '\e877'; } 699 | 700 | /* '' */ 701 | .icon-light-up:before { 702 | content: '\e878'; } 703 | 704 | /* '' */ 705 | .icon-lamp:before { 706 | content: '\e879'; } 707 | 708 | /* '' */ 709 | .icon-left-open-mini:before { 710 | content: '\e87a'; } 711 | 712 | /* '' */ 713 | .icon-right-open-mini:before { 714 | content: '\e87b'; } 715 | 716 | /* '' */ 717 | .icon-up-open-mini:before { 718 | content: '\e87c'; } 719 | 720 | /* '' */ 721 | .icon-down-open-big:before { 722 | content: '\e87d'; } 723 | 724 | /* '' */ 725 | .icon-left-open-big:before { 726 | content: '\e87e'; } 727 | 728 | /* '' */ 729 | .icon-right-open-big:before { 730 | content: '\e87f'; } 731 | 732 | /* '' */ 733 | .icon-arrows-ccw:before { 734 | content: '\e880'; } 735 | 736 | /* '' */ 737 | .icon-cw:before { 738 | content: '\e881'; } 739 | 740 | /* '' */ 741 | .icon-ccw:before { 742 | content: '\e882'; } 743 | 744 | /* '' */ 745 | .icon-up-open-big:before { 746 | content: '\e883'; } 747 | 748 | /* '' */ 749 | .icon-level-down:before { 750 | content: '\e884'; } 751 | 752 | /* '' */ 753 | .icon-up-thin:before { 754 | content: '\e885'; } 755 | 756 | /* '' */ 757 | .icon-left-thin:before { 758 | content: '\e886'; } 759 | 760 | /* '' */ 761 | .icon-progress-1:before { 762 | content: '\e887'; } 763 | 764 | /* '' */ 765 | .icon-progress-2:before { 766 | content: '\e888'; } 767 | 768 | /* '' */ 769 | .icon-right-thin:before { 770 | content: '\e889'; } 771 | 772 | /* '' */ 773 | .icon-progress-3:before { 774 | content: '\e88a'; } 775 | 776 | /* '' */ 777 | .icon-target:before { 778 | content: '\e88b'; } 779 | 780 | /* '' */ 781 | .icon-palette:before { 782 | content: '\e88c'; } 783 | 784 | /* '' */ 785 | .icon-list:before { 786 | content: '\e88d'; } 787 | 788 | /* '' */ 789 | .icon-list-add:before { 790 | content: '\e88e'; } 791 | 792 | /* '' */ 793 | .icon-signal:before { 794 | content: '\e88f'; } 795 | 796 | /* '' */ 797 | .icon-level-up:before { 798 | content: '\e890'; } 799 | 800 | /* '' */ 801 | .icon-left:before { 802 | content: '\e891'; } 803 | 804 | /* '' */ 805 | .icon-shuffle:before { 806 | content: '\e892'; } 807 | 808 | /* '' */ 809 | .icon-trophy:before { 810 | content: '\e893'; } 811 | 812 | /* '' */ 813 | .icon-loop:before { 814 | content: '\e894'; } 815 | 816 | /* '' */ 817 | .icon-right:before { 818 | content: '\e895'; } 819 | 820 | /* '' */ 821 | .icon-battery:before { 822 | content: '\e896'; } 823 | 824 | /* '' */ 825 | .icon-back-in-time:before { 826 | content: '\e897'; } 827 | 828 | /* '' */ 829 | .icon-switch:before { 830 | content: '\e898'; } 831 | 832 | /* '' */ 833 | .icon-up:before { 834 | content: '\e899'; } 835 | 836 | /* '' */ 837 | .icon-down-dir:before { 838 | content: '\e89a'; } 839 | 840 | /* '' */ 841 | .icon-play:before { 842 | content: '\e89b'; } 843 | 844 | /* '' */ 845 | .icon-monitor:before { 846 | content: '\e89c'; } 847 | 848 | /* '' */ 849 | .icon-mobile:before { 850 | content: '\e89d'; } 851 | 852 | /* '' */ 853 | .icon-stop:before { 854 | content: '\e89e'; } 855 | 856 | /* '' */ 857 | .icon-right-dir:before { 858 | content: '\e89f'; } 859 | 860 | /* '' */ 861 | .icon-pause:before { 862 | content: '\e8a0'; } 863 | 864 | /* '' */ 865 | .icon-network:before { 866 | content: '\e8a1'; } 867 | 868 | /* '' */ 869 | .icon-cd:before { 870 | content: '\e8a2'; } 871 | 872 | /* '' */ 873 | .icon-record:before { 874 | content: '\e8a3'; } 875 | 876 | /* '' */ 877 | .icon-up-dir:before { 878 | content: '\e8a4'; } 879 | 880 | /* '' */ 881 | .icon-down-bold:before { 882 | content: '\e8a5'; } 883 | 884 | /* '' */ 885 | .icon-to-end:before { 886 | content: '\e8a6'; } 887 | 888 | /* '' */ 889 | .icon-inbox:before { 890 | content: '\e8a7'; } 891 | 892 | /* '' */ 893 | .icon-install:before { 894 | content: '\e8a8'; } 895 | 896 | /* '' */ 897 | .icon-to-start:before { 898 | content: '\e8a9'; } 899 | 900 | /* '' */ 901 | .icon-left-bold:before { 902 | content: '\e8aa'; } 903 | 904 | /* '' */ 905 | .icon-right-bold:before { 906 | content: '\e8ab'; } 907 | 908 | /* '' */ 909 | .icon-fast-forward:before { 910 | content: '\e8ac'; } 911 | 912 | /* '' */ 913 | .icon-globe:before { 914 | content: '\e8ad'; } 915 | 916 | /* '' */ 917 | .icon-cloud:before { 918 | content: '\e8ae'; } 919 | 920 | /* '' */ 921 | .icon-fast-backward:before { 922 | content: '\e8af'; } 923 | 924 | /* '' */ 925 | .icon-down-thin:before { 926 | content: '\e8b0'; } 927 | 928 | /* '' */ 929 | .icon-progress-0:before { 930 | content: '\e8b1'; } 931 | 932 | /* '' */ 933 | .icon-up-bold:before { 934 | content: '\e8b2'; } 935 | 936 | /* '' */ 937 | .icon-cloud-thunder:before { 938 | content: '\e8b3'; } 939 | 940 | /* '' */ 941 | .icon-chart-area:before { 942 | content: '\e8b4'; } 943 | 944 | /* '' */ 945 | .icon-chart-bar:before { 946 | content: '\e8b5'; } 947 | 948 | /* '' */ 949 | .icon-flow-tree:before { 950 | content: '\e8b6'; } 951 | 952 | /* '' */ 953 | .icon-flow-line:before { 954 | content: '\e8b7'; } 955 | 956 | /* '' */ 957 | .icon-vimeo:before { 958 | content: '\e8b8'; } 959 | 960 | /* '' */ 961 | .icon-flickr-circled:before { 962 | content: '\e8b9'; } 963 | 964 | /* '' */ 965 | .icon-lastfm:before { 966 | content: '\e8ba'; } 967 | 968 | /* '' */ 969 | .icon-lastfm-circled:before { 970 | content: '\e8bb'; } 971 | 972 | /* '' */ 973 | .icon-vkontakte:before { 974 | content: '\e8bc'; } 975 | 976 | /* '' */ 977 | .icon-behance:before { 978 | content: '\e8bd'; } 979 | 980 | /* '' */ 981 | .icon-mixi:before { 982 | content: '\e8be'; } 983 | 984 | /* '' */ 985 | .icon-stumbleupon:before { 986 | content: '\e8bf'; } 987 | 988 | /* '' */ 989 | .icon-stumbleupon-circled:before { 990 | content: '\e8c0'; } 991 | 992 | /* '' */ 993 | .icon-flickr:before { 994 | content: '\e8c1'; } 995 | 996 | /* '' */ 997 | .icon-github-circled:before { 998 | content: '\e8c2'; } 999 | 1000 | /* '' */ 1001 | .icon-flow-cascade:before { 1002 | content: '\e8c3'; } 1003 | 1004 | /* '' */ 1005 | .icon-flow-branch:before { 1006 | content: '\e8c4'; } 1007 | 1008 | /* '' */ 1009 | .icon-chart-line:before { 1010 | content: '\e8c5'; } 1011 | 1012 | /* '' */ 1013 | .icon-chart-pie:before { 1014 | content: '\e8c6'; } 1015 | 1016 | /* '' */ 1017 | .icon-erase:before { 1018 | content: '\e8c7'; } 1019 | 1020 | /* '' */ 1021 | .icon-key:before { 1022 | content: '\e8c8'; } 1023 | 1024 | /* '' */ 1025 | .icon-github:before { 1026 | content: '\e8c9'; } 1027 | 1028 | /* '' */ 1029 | .icon-dribbble-circled:before { 1030 | content: '\e8ca'; } 1031 | 1032 | /* '' */ 1033 | .icon-picasa:before { 1034 | content: '\e8cb'; } 1035 | 1036 | /* '' */ 1037 | .icon-dribbble:before { 1038 | content: '\e8cc'; } 1039 | 1040 | /* '' */ 1041 | .icon-infinity:before { 1042 | content: '\e8cd'; } 1043 | 1044 | /* '' */ 1045 | .icon-magnet:before { 1046 | content: '\e8ce'; } 1047 | 1048 | /* '' */ 1049 | .icon-bucket:before { 1050 | content: '\e8cf'; } 1051 | 1052 | /* '' */ 1053 | .icon-linkedin-circled:before { 1054 | content: '\e8d0'; } 1055 | 1056 | /* '' */ 1057 | .icon-paypal:before { 1058 | content: '\e8d1'; } 1059 | 1060 | /* '' */ 1061 | .icon-sina-weibo:before { 1062 | content: '\e8d2'; } 1063 | 1064 | /* '' */ 1065 | .icon-linkedin:before { 1066 | content: '\e8d3'; } 1067 | 1068 | /* '' */ 1069 | .icon-cc-zero:before { 1070 | content: '\e8d4'; } 1071 | 1072 | /* '' */ 1073 | .icon-drive:before { 1074 | content: '\e8d5'; } 1075 | 1076 | /* '' */ 1077 | .icon-brush:before { 1078 | content: '\e8d6'; } 1079 | 1080 | /* '' */ 1081 | .icon-dot-3:before { 1082 | content: '\e8d7'; } 1083 | 1084 | /* '' */ 1085 | .icon-database:before { 1086 | content: '\e8d8'; } 1087 | 1088 | /* '' */ 1089 | .icon-cc-pd:before { 1090 | content: '\e8d9'; } 1091 | 1092 | /* '' */ 1093 | .icon-tumblr-circled:before { 1094 | content: '\e8da'; } 1095 | 1096 | /* '' */ 1097 | .icon-renren:before { 1098 | content: '\e8db'; } 1099 | 1100 | /* '' */ 1101 | .icon-skype-circled:before { 1102 | content: '\e8dc'; } 1103 | 1104 | /* '' */ 1105 | .icon-tumblr:before { 1106 | content: '\e8dd'; } 1107 | 1108 | /* '' */ 1109 | .icon-cc-nd:before { 1110 | content: '\e8de'; } 1111 | 1112 | /* '' */ 1113 | .icon-megaphone:before { 1114 | content: '\e8df'; } 1115 | 1116 | /* '' */ 1117 | .icon-dot-2:before { 1118 | content: '\e8e0'; } 1119 | 1120 | /* '' */ 1121 | .icon-dot:before { 1122 | content: '\e8e1'; } 1123 | 1124 | /* '' */ 1125 | .icon-clipboard:before { 1126 | content: '\e8e2'; } 1127 | 1128 | /* '' */ 1129 | .icon-cc-sa:before { 1130 | content: '\e8e3'; } 1131 | 1132 | /* '' */ 1133 | .icon-pinterest-circled:before { 1134 | content: '\e8e4'; } 1135 | 1136 | /* '' */ 1137 | .icon-cc-remix:before { 1138 | content: '\e8e5'; } 1139 | 1140 | /* '' */ 1141 | .icon-thermometer:before { 1142 | content: '\e8e6'; } 1143 | 1144 | /* '' */ 1145 | .icon-soundcloud:before { 1146 | content: '\e8e7'; } 1147 | 1148 | /* '' */ 1149 | .icon-cc-share:before { 1150 | content: '\e8e8'; } 1151 | 1152 | /* '' */ 1153 | .icon-google-circles:before { 1154 | content: '\e8e9'; } 1155 | 1156 | /* '' */ 1157 | .icon-skype:before { 1158 | content: '\e8ea'; } 1159 | 1160 | /* '' */ 1161 | .icon-flattr:before { 1162 | content: '\e8eb'; } 1163 | 1164 | /* '' */ 1165 | .icon-cc-nc-jp:before { 1166 | content: '\e8ec'; } 1167 | 1168 | /* '' */ 1169 | .icon-cc-nc-eu:before { 1170 | content: '\e8ed'; } 1171 | 1172 | /* '' */ 1173 | .icon-cc-nc:before { 1174 | content: '\e8ee'; } 1175 | 1176 | /* '' */ 1177 | .icon-cc-by:before { 1178 | content: '\e8ef'; } 1179 | 1180 | /* '' */ 1181 | .icon-cc:before { 1182 | content: '\e8f0'; } 1183 | 1184 | /* '' */ 1185 | .icon-traffic-cone:before { 1186 | content: '\e8f1'; } 1187 | 1188 | /* '' */ 1189 | .icon-gauge:before { 1190 | content: '\e8f2'; } 1191 | 1192 | /* '' */ 1193 | .icon-rocket:before { 1194 | content: '\e8f3'; } 1195 | 1196 | /* '' */ 1197 | .icon-flow-parallel:before { 1198 | content: '\e8f4'; } 1199 | 1200 | /* '' */ 1201 | .icon-vimeo-circled:before { 1202 | content: '\e8f5'; } 1203 | 1204 | /* '' */ 1205 | .icon-twitter:before { 1206 | content: '\e8f6'; } 1207 | 1208 | /* '' */ 1209 | .icon-twitter-circled:before { 1210 | content: '\e8f7'; } 1211 | 1212 | /* '' */ 1213 | .icon-facebook:before { 1214 | content: '\e8f8'; } 1215 | 1216 | /* '' */ 1217 | .icon-facebook-circled:before { 1218 | content: '\e8f9'; } 1219 | 1220 | /* '' */ 1221 | .icon-facebook-squared:before { 1222 | content: '\e8fa'; } 1223 | 1224 | /* '' */ 1225 | .icon-gplus:before { 1226 | content: '\e8fb'; } 1227 | 1228 | /* '' */ 1229 | .icon-gplus-circled:before { 1230 | content: '\e8fc'; } 1231 | 1232 | /* '' */ 1233 | .icon-pinterest:before { 1234 | content: '\e8fd'; } 1235 | 1236 | /* '' */ 1237 | .icon-evernote:before { 1238 | content: '\e8fe'; } 1239 | 1240 | /* '' */ 1241 | .icon-dropbox:before { 1242 | content: '\e8ff'; } 1243 | 1244 | /* '' */ 1245 | .icon-instagram:before { 1246 | content: '\e900'; } 1247 | 1248 | /* '' */ 1249 | .icon-qq:before { 1250 | content: '\e901'; } 1251 | 1252 | /* '' */ 1253 | .icon-spotify-circled:before { 1254 | content: '\e902'; } 1255 | 1256 | /* '' */ 1257 | .icon-spotify:before { 1258 | content: '\e903'; } 1259 | 1260 | /* '' */ 1261 | .icon-rdio-circled:before { 1262 | content: '\e904'; } 1263 | 1264 | /* '' */ 1265 | .icon-rdio:before { 1266 | content: '\e905'; } 1267 | 1268 | /* '' */ 1269 | .icon-smashing:before { 1270 | content: '\e906'; } 1271 | 1272 | /* '' */ 1273 | .icon-sweden:before { 1274 | content: '\e907'; } 1275 | 1276 | /* '' */ 1277 | .icon-db-shape:before { 1278 | content: '\e908'; } 1279 | 1280 | /* '' */ 1281 | .icon-logo-db:before { 1282 | content: '\e909'; } 1283 | 1284 | /* '' */ 1285 | .icon-tape:before { 1286 | content: '\e90a'; } 1287 | 1288 | /* '' */ 1289 | .icon-flash:before { 1290 | content: '\e90b'; } 1291 | 1292 | /* '' */ 1293 | .icon-graduation-cap:before { 1294 | content: '\e90c'; } 1295 | 1296 | /* '' */ 1297 | .icon-language:before { 1298 | content: '\e90d'; } 1299 | 1300 | /* '' */ 1301 | .icon-flight:before { 1302 | content: '\e90e'; } 1303 | 1304 | /* '' */ 1305 | .icon-moon:before { 1306 | content: '\e90f'; } 1307 | 1308 | /* '' */ 1309 | .icon-paper-plane:before { 1310 | content: '\e910'; } 1311 | 1312 | /* '' */ 1313 | .icon-ticket:before { 1314 | content: '\e911'; } 1315 | 1316 | /* '' */ 1317 | .icon-leaf:before { 1318 | content: '\e912'; } 1319 | 1320 | /* '' */ 1321 | .icon-lifebuoy:before { 1322 | content: '\e913'; } 1323 | 1324 | /* '' */ 1325 | .icon-droplet:before { 1326 | content: '\e914'; } 1327 | 1328 | /* '' */ 1329 | .icon-water:before { 1330 | content: '\e915'; } 1331 | 1332 | /* '' */ 1333 | .icon-air:before { 1334 | content: '\e916'; } 1335 | 1336 | /* '' */ 1337 | .icon-mouse:before { 1338 | content: '\e917'; } 1339 | 1340 | /* '' */ 1341 | .icon-briefcase:before { 1342 | content: '\e918'; } 1343 | 1344 | /* '' */ 1345 | .icon-credit-card:before { 1346 | content: '\e919'; } 1347 | 1348 | /* '' */ 1349 | .icon-floppy:before { 1350 | content: '\e91a'; } 1351 | 1352 | /* '' */ 1353 | .icon-suitcase:before { 1354 | content: '\e91b'; } 1355 | 1356 | /* '' */ 1357 | * { 1358 | box-sizing: border-box; } 1359 | 1360 | .container { 1361 | max-width: 1100px; 1362 | margin-left: auto; 1363 | margin-right: auto; } 1364 | .container:after { 1365 | content: ""; 1366 | display: table; 1367 | clear: both; } 1368 | @media (min-width: 1200px) { 1369 | .container { 1370 | max-width: 1200px; } } 1371 | @media (max-width: 1024px) { 1372 | .container { 1373 | max-width: 100%; } } 1374 | @media (max-width: 736px) { 1375 | .container { 1376 | max-width: 100%; } } 1377 | 1378 | .error { 1379 | color: #AA0000; } 1380 | 1381 | .success { 1382 | color: #00AA00; } 1383 | 1384 | button, 1385 | .button, 1386 | [class^="button"], 1387 | input[type="button"], 1388 | input[type="submit"], 1389 | input[type="reset"] { 1390 | display: inline-block; 1391 | padding: 0.625em 1.25em; 1392 | margin: 0 0 0.625em; 1393 | border: none; 1394 | -webkit-appearance: none; 1395 | -moz-appearance: none; 1396 | appearance: none; 1397 | outline: none; 1398 | line-height: 100%; 1399 | cursor: pointer; 1400 | text-decoration: none; 1401 | font-family: inherit; 1402 | font-size: 1rem; 1403 | background-color: #EEEEEE; 1404 | color: #000000; } 1405 | button:hover, 1406 | .button:hover, 1407 | [class^="button"]:hover, 1408 | input[type="button"]:hover, 1409 | input[type="submit"]:hover, 1410 | input[type="reset"]:hover { 1411 | background-color: #e6e6e6; 1412 | text-decoration: none; } 1413 | button:active, 1414 | .button:active, 1415 | [class^="button"]:active, 1416 | input[type="button"]:active, 1417 | input[type="submit"]:active, 1418 | input[type="reset"]:active { 1419 | background: #dfdfdf; } 1420 | button.disabled, 1421 | .button.disabled, 1422 | [class^="button"].disabled, 1423 | input[type="button"].disabled, 1424 | input[type="submit"].disabled, 1425 | input[type="reset"].disabled { 1426 | background-color: #f4f4f4; 1427 | color: #c8c8c8; 1428 | cursor: default; } 1429 | button.huge, 1430 | .button.huge, 1431 | [class^="button"].huge, 1432 | input[type="button"].huge, 1433 | input[type="submit"].huge, 1434 | input[type="reset"].huge { 1435 | font-size: 1.25rem; 1436 | font-weight: 600; 1437 | padding: 0.625em 2em; } 1438 | 1439 | button.primary, 1440 | .button-primary, 1441 | input.button-primary { 1442 | background-color: #69b5e1; 1443 | color: white; } 1444 | button.primary:hover, 1445 | .button-primary:hover, 1446 | input.button-primary:hover { 1447 | background-color: #5cafde; 1448 | text-decoration: none; } 1449 | button.primary:active, 1450 | .button-primary:active, 1451 | input.button-primary:active { 1452 | background: #50a8dc; } 1453 | button.primary.disabled, 1454 | .button-primary.disabled, 1455 | input.button-primary.disabled { 1456 | background-color: #74bae3; 1457 | color: #2a95d3; 1458 | cursor: default; } 1459 | 1460 | button.secondary, 1461 | .button-secondary, 1462 | input.button-secondary { 1463 | background-color: #9d6ab4; 1464 | color: white; } 1465 | button.secondary:hover, 1466 | .button-secondary:hover, 1467 | input.button-secondary:hover { 1468 | background-color: #9660af; 1469 | text-decoration: none; } 1470 | button.secondary:active, 1471 | .button-secondary:active, 1472 | input.button-secondary:active { 1473 | background: #9056aa; } 1474 | button.secondary.disabled, 1475 | .button-secondary.disabled, 1476 | input.button-secondary.disabled { 1477 | background-color: #a372b8; 1478 | color: #76468b; 1479 | cursor: default; } 1480 | 1481 | button.facebook, 1482 | .button-facebook, 1483 | input.button-facebook { 1484 | background-color: #3B5998; 1485 | color: white; 1486 | padding-left: 0.6em; } 1487 | button.facebook:hover, 1488 | .button-facebook:hover, 1489 | input.button-facebook:hover { 1490 | background-color: #37538d; 1491 | text-decoration: none; } 1492 | button.facebook:active, 1493 | .button-facebook:active, 1494 | input.button-facebook:active { 1495 | background: #324c82; } 1496 | button.facebook.disabled, 1497 | .button-facebook.disabled, 1498 | input.button-facebook.disabled { 1499 | background-color: #3f5ea1; 1500 | color: #263961; 1501 | cursor: default; } 1502 | button.facebook.disabled, 1503 | .button-facebook.disabled, 1504 | input.button-facebook.disabled { 1505 | background: #9099ae; 1506 | color: white; 1507 | cursor: default; } 1508 | 1509 | button.twitter, 1510 | .button-twitter, 1511 | input.button-twitter { 1512 | background-color: #00ACED; 1513 | color: white; } 1514 | button.twitter:hover, 1515 | .button-twitter:hover, 1516 | input.button-twitter:hover { 1517 | background-color: #00a1de; 1518 | text-decoration: none; } 1519 | button.twitter:active, 1520 | .button-twitter:active, 1521 | input.button-twitter:active { 1522 | background: #0096ce; } 1523 | button.twitter.disabled, 1524 | .button-twitter.disabled, 1525 | input.button-twitter.disabled { 1526 | background-color: #00b5fa; 1527 | color: #0074a1; 1528 | cursor: default; } 1529 | button.twitter.disabled, 1530 | .button-twitter.disabled, 1531 | input.button-twitter.disabled { 1532 | background-color: #aebcc7; 1533 | color: white; 1534 | cursor: default; } 1535 | 1536 | form { 1537 | display: block; } 1538 | 1539 | fieldset { 1540 | display: block; 1541 | margin: 1.25em 0; 1542 | padding: 0; } 1543 | 1544 | legend { 1545 | display: block; 1546 | width: 100%; 1547 | margin: 0 0 1em 0; 1548 | font-weight: bold; 1549 | border-bottom: 1px solid #EEEEEE; } 1550 | 1551 | label { 1552 | display: block; 1553 | margin: 0 0 0.25em; 1554 | font-weight: bold; } 1555 | 1556 | textarea, 1557 | input[type="text"], 1558 | input[type="password"], 1559 | input[type="datetime"], 1560 | input[type="datetime-local"], 1561 | input[type="date"], 1562 | input[type="month"], 1563 | input[type="time"], 1564 | input[type="week"], 1565 | input[type="number"], 1566 | input[type="email"], 1567 | input[type="url"], 1568 | input[type="search"], 1569 | input[type="tel"], 1570 | input[type="image"], 1571 | input[type="color"] { 1572 | display: block; 1573 | padding: 0.5em; 1574 | margin: 0 0 0.625em; 1575 | vertical-align: middle; 1576 | border: 1px solid #EEEEEE; 1577 | outline: none; 1578 | font-family: inherit; 1579 | font-size: 1rem; 1580 | border-radius: 0; 1581 | -webkit-appearance: none; 1582 | -moz-appearance: none; } 1583 | textarea:hover, 1584 | input[type="text"]:hover, 1585 | input[type="password"]:hover, 1586 | input[type="datetime"]:hover, 1587 | input[type="datetime-local"]:hover, 1588 | input[type="date"]:hover, 1589 | input[type="month"]:hover, 1590 | input[type="time"]:hover, 1591 | input[type="week"]:hover, 1592 | input[type="number"]:hover, 1593 | input[type="email"]:hover, 1594 | input[type="url"]:hover, 1595 | input[type="search"]:hover, 1596 | input[type="tel"]:hover, 1597 | input[type="image"]:hover, 1598 | input[type="color"]:hover { 1599 | border: 1px solid #e6e6e6; } 1600 | textarea:focus, 1601 | input[type="text"]:focus, 1602 | input[type="password"]:focus, 1603 | input[type="datetime"]:focus, 1604 | input[type="datetime-local"]:focus, 1605 | input[type="date"]:focus, 1606 | input[type="month"]:focus, 1607 | input[type="time"]:focus, 1608 | input[type="week"]:focus, 1609 | input[type="number"]:focus, 1610 | input[type="email"]:focus, 1611 | input[type="url"]:focus, 1612 | input[type="search"]:focus, 1613 | input[type="tel"]:focus, 1614 | input[type="image"]:focus, 1615 | input[type="color"]:focus { 1616 | border: 1px solid #e1e1e1; } 1617 | 1618 | input[type="submit"], 1619 | input[type="button"] { 1620 | display: block; 1621 | border-radius: 0; } 1622 | 1623 | input[type="file"] { 1624 | padding: 0.125em; 1625 | margin: 0 0 0.625em; 1626 | font-family: inherit; 1627 | font-size: 1rem; 1628 | -webkit-appearance: none; 1629 | border-radius: 0; 1630 | line-height: 100%; } 1631 | 1632 | textarea { 1633 | padding: 0.25em; } 1634 | 1635 | progress, 1636 | meter { 1637 | padding: 0.125em; 1638 | margin: 0 0 0.625em; 1639 | font-family: inherit; 1640 | font-size: 1rem; } 1641 | 1642 | ul[class*="menu-"] { 1643 | margin: 0; 1644 | padding: 0; } 1645 | ul[class*="menu-"] li { 1646 | position: relative; 1647 | list-style: none; } 1648 | ul[class*="menu-"] li a { 1649 | display: inline-block; } 1650 | 1651 | ul.menu-secondary li { 1652 | display: block; } 1653 | ul.menu-secondary li a { 1654 | display: block; } 1655 | 1656 | [data-tooltip] { 1657 | position: relative; 1658 | height: 100%; 1659 | cursor: pointer; 1660 | display: inline-block; } 1661 | [data-tooltip]:before, [data-tooltip]:after { 1662 | transition: all .2s ease-out; 1663 | position: absolute; 1664 | visibility: hidden; 1665 | opacity: 0; 1666 | pointer-events: none; } 1667 | [data-tooltip]:before { 1668 | width: 0; 1669 | height: 0; 1670 | border-left: 7px solid transparent; 1671 | border-right: 7px solid transparent; 1672 | border-top: 7px solid #000000; 1673 | content: ''; 1674 | top: 0; 1675 | left: 50%; 1676 | margin-left: -3.25px; 1677 | z-index: 10001; 1678 | bottom: -10px; } 1679 | [data-tooltip]:after { 1680 | box-sizing: border-box; 1681 | content: attr(data-tooltip); 1682 | padding: 0.5em 0.75em; 1683 | border-radius: 3px; 1684 | font-size: 0.95em; 1685 | z-index: 10000; 1686 | left: 50%; 1687 | bottom: 100%; 1688 | margin-left: -7.5em; 1689 | margin-top: 10px; 1690 | width: 15em; 1691 | line-height: 120%; 1692 | background: #000000; 1693 | color: #EEEEEE; } 1694 | [data-tooltip]:hover:before, [data-tooltip]:hover:after { 1695 | visibility: visible; 1696 | opacity: 1; } 1697 | 1698 | footer { 1699 | display: block; 1700 | float: left; 1701 | width: 98%; 1702 | margin-left: 1%; 1703 | margin-right: 1%; } 1704 | @media (min-width: 1200px) { 1705 | footer { 1706 | display: block; 1707 | float: left; 1708 | width: 98%; 1709 | margin-left: 1%; 1710 | margin-right: 1%; } } 1711 | @media (max-width: 1024px) { 1712 | footer { 1713 | display: block; 1714 | float: left; 1715 | width: 90%; 1716 | margin-left: 5%; 1717 | margin-right: 5%; } } 1718 | @media (max-width: 736px) { 1719 | footer { 1720 | display: block; 1721 | float: left; 1722 | width: 90%; 1723 | margin-left: 5%; 1724 | margin-right: 5%; } } 1725 | 1726 | article.grid-examples { 1727 | display: block; 1728 | float: left; 1729 | width: 98%; 1730 | margin-left: 1%; 1731 | margin-right: 1%; } 1732 | @media (min-width: 1200px) { 1733 | article.grid-examples { 1734 | display: block; 1735 | float: left; 1736 | width: 98%; 1737 | margin-left: 1%; 1738 | margin-right: 1%; } } 1739 | @media (max-width: 1024px) { 1740 | article.grid-examples { 1741 | display: block; 1742 | float: left; 1743 | width: 90%; 1744 | margin-left: 5%; 1745 | margin-right: 5%; } } 1746 | @media (max-width: 736px) { 1747 | article.grid-examples { 1748 | display: block; 1749 | float: left; 1750 | width: 90%; 1751 | margin-left: 5%; 1752 | margin-right: 5%; } } 1753 | article.grid-examples .container { 1754 | text-align: center; 1755 | background: #EEEEEE; } 1756 | article.grid-examples .container code { 1757 | display: block; 1758 | font-size: 0.94rem; 1759 | background: none; 1760 | border: none; } 1761 | article.grid-examples .container > code { 1762 | padding: 20px; } 1763 | article.grid-examples .box { 1764 | position: relative; 1765 | padding: 10px; 1766 | height: 120px; 1767 | margin-bottom: 2%; 1768 | background: #e1e1e1; 1769 | border: 1px solid #dfdfdf; } 1770 | @media (max-width: 736px) { 1771 | article.grid-examples .box { 1772 | height: auto; } } 1773 | article.grid-examples .box.-b1 { 1774 | display: block; 1775 | float: left; 1776 | width: 23%; 1777 | margin-left: 1%; 1778 | margin-right: 1%; } 1779 | @media (min-width: 1200px) { 1780 | article.grid-examples .box.-b1 { 1781 | display: block; 1782 | float: left; 1783 | width: 23%; 1784 | margin-left: 1%; 1785 | margin-right: 1%; } } 1786 | @media (max-width: 1024px) { 1787 | article.grid-examples .box.-b1 { 1788 | display: block; 1789 | float: left; 1790 | width: 15%; 1791 | margin-left: 5%; 1792 | margin-right: 5%; } } 1793 | @media (max-width: 736px) { 1794 | article.grid-examples .box.-b1 { 1795 | display: block; 1796 | float: left; 1797 | width: 90%; 1798 | margin-left: 5%; 1799 | margin-right: 5%; } } 1800 | article.grid-examples .box.-b2 { 1801 | display: block; 1802 | float: left; 1803 | width: 31.33333%; 1804 | margin-left: 1%; 1805 | margin-right: 1%; } 1806 | @media (min-width: 1200px) { 1807 | article.grid-examples .box.-b2 { 1808 | display: block; 1809 | float: left; 1810 | width: 31.33333%; 1811 | margin-left: 1%; 1812 | margin-right: 1%; } } 1813 | @media (max-width: 1024px) { 1814 | article.grid-examples .box.-b2 { 1815 | display: block; 1816 | float: left; 1817 | width: 23.33333%; 1818 | margin-left: 5%; 1819 | margin-right: 5%; } } 1820 | @media (max-width: 736px) { 1821 | article.grid-examples .box.-b2 { 1822 | display: block; 1823 | float: left; 1824 | width: 90%; 1825 | margin-left: 5%; 1826 | margin-right: 5%; } } 1827 | article.grid-examples .box.-b3 { 1828 | display: block; 1829 | float: left; 1830 | width: 39.66667%; 1831 | margin-left: 1%; 1832 | margin-right: 1%; } 1833 | @media (min-width: 1200px) { 1834 | article.grid-examples .box.-b3 { 1835 | display: block; 1836 | float: left; 1837 | width: 39.66667%; 1838 | margin-left: 1%; 1839 | margin-right: 1%; } } 1840 | @media (max-width: 1024px) { 1841 | article.grid-examples .box.-b3 { 1842 | display: block; 1843 | float: left; 1844 | width: 31.66667%; 1845 | margin-left: 5%; 1846 | margin-right: 5%; } } 1847 | @media (max-width: 736px) { 1848 | article.grid-examples .box.-b3 { 1849 | display: block; 1850 | float: left; 1851 | width: 90%; 1852 | margin-left: 5%; 1853 | margin-right: 5%; } } 1854 | article.grid-examples .box.-b4 { 1855 | display: block; 1856 | float: left; 1857 | width: 39.66667%; 1858 | margin-left: 17.66667%; 1859 | margin-right: 1%; } 1860 | @media (min-width: 1200px) { 1861 | article.grid-examples .box.-b4 { 1862 | display: block; 1863 | float: left; 1864 | width: 39.66667%; 1865 | margin-left: 17.66667%; 1866 | margin-right: 1%; } } 1867 | @media (max-width: 1024px) { 1868 | article.grid-examples .box.-b4 { 1869 | display: block; 1870 | float: left; 1871 | width: 31.66667%; 1872 | margin-left: 21.66667%; 1873 | margin-right: 5%; } } 1874 | @media (max-width: 736px) { 1875 | article.grid-examples .box.-b4 { 1876 | display: block; 1877 | float: left; 1878 | width: 90%; 1879 | margin-left: 5%; 1880 | margin-right: 5%; } } 1881 | article.grid-examples .box.-b5 { 1882 | display: block; 1883 | float: left; 1884 | width: 39.66667%; 1885 | margin-left: 1%; 1886 | margin-right: 1%; } 1887 | @media (min-width: 1200px) { 1888 | article.grid-examples .box.-b5 { 1889 | display: block; 1890 | float: left; 1891 | width: 39.66667%; 1892 | margin-left: 1%; 1893 | margin-right: 1%; } } 1894 | @media (max-width: 1024px) { 1895 | article.grid-examples .box.-b5 { 1896 | display: block; 1897 | float: left; 1898 | width: 31.66667%; 1899 | margin-left: 5%; 1900 | margin-right: 5%; } } 1901 | @media (max-width: 736px) { 1902 | article.grid-examples .box.-b5 { 1903 | display: block; 1904 | float: left; 1905 | width: 90%; 1906 | margin-left: 5%; 1907 | margin-right: 5%; } } 1908 | article.grid-examples .box.-b6 { 1909 | display: block; 1910 | float: left; 1911 | width: 73%; 1912 | margin-left: 1%; 1913 | margin-right: 1%; } 1914 | @media (min-width: 1200px) { 1915 | article.grid-examples .box.-b6 { 1916 | display: block; 1917 | float: left; 1918 | width: 73%; 1919 | margin-left: 1%; 1920 | margin-right: 1%; } } 1921 | @media (max-width: 1024px) { 1922 | article.grid-examples .box.-b6 { 1923 | display: block; 1924 | float: left; 1925 | width: 65%; 1926 | margin-left: 5%; 1927 | margin-right: 5%; } } 1928 | @media (max-width: 736px) { 1929 | article.grid-examples .box.-b6 { 1930 | display: block; 1931 | float: left; 1932 | width: 90%; 1933 | margin-left: 5%; 1934 | margin-right: 5%; } } 1935 | article.grid-examples .box.-b6 code { 1936 | padding-bottom: 10px; } 1937 | article.grid-examples .box.-b6 .-b6-1, article.grid-examples .box.-b6 .-b6-2 { 1938 | display: block; 1939 | float: left; 1940 | width: 48%; 1941 | margin-left: 1%; 1942 | margin-right: 1%; 1943 | height: 50px; 1944 | background: #d7d7d7; 1945 | border: 1px solid #d5d5d5; } 1946 | @media (min-width: 1200px) { 1947 | article.grid-examples .box.-b6 .-b6-1, article.grid-examples .box.-b6 .-b6-2 { 1948 | display: block; 1949 | float: left; 1950 | width: 48%; 1951 | margin-left: 1%; 1952 | margin-right: 1%; } } 1953 | @media (max-width: 1024px) { 1954 | article.grid-examples .box.-b6 .-b6-1, article.grid-examples .box.-b6 .-b6-2 { 1955 | display: block; 1956 | float: left; 1957 | width: 40%; 1958 | margin-left: 5%; 1959 | margin-right: 5%; } } 1960 | @media (max-width: 736px) { 1961 | article.grid-examples .box.-b6 .-b6-1, article.grid-examples .box.-b6 .-b6-2 { 1962 | display: block; 1963 | float: left; 1964 | width: 90%; 1965 | margin-left: 5%; 1966 | margin-right: 5%; } } 1967 | article.grid-examples .box.-b7 { 1968 | display: block; 1969 | float: left; 1970 | width: 23%; 1971 | margin-left: 1%; 1972 | margin-right: 1%; } 1973 | @media (min-width: 1200px) { 1974 | article.grid-examples .box.-b7 { 1975 | display: block; 1976 | float: left; 1977 | width: 23%; 1978 | margin-left: 1%; 1979 | margin-right: 1%; } } 1980 | @media (max-width: 1024px) { 1981 | article.grid-examples .box.-b7 { 1982 | display: block; 1983 | float: left; 1984 | width: 15%; 1985 | margin-left: 5%; 1986 | margin-right: 5%; } } 1987 | @media (max-width: 736px) { 1988 | article.grid-examples .box.-b7 { 1989 | display: block; 1990 | float: left; 1991 | width: 90%; 1992 | margin-left: 5%; 1993 | margin-right: 5%; } } 1994 | article.grid-examples .box.-b8 { 1995 | display: block; 1996 | float: left; 1997 | width: 55%; 1998 | margin-left: 10%; 1999 | margin-right: 10%; } 2000 | @media (min-width: 1200px) { 2001 | article.grid-examples .box.-b8 { 2002 | display: block; 2003 | float: left; 2004 | width: 55%; 2005 | margin-left: 10%; 2006 | margin-right: 10%; } } 2007 | @media (max-width: 1024px) { 2008 | article.grid-examples .box.-b8 { 2009 | display: block; 2010 | float: left; 2011 | width: 55%; 2012 | margin-left: 10%; 2013 | margin-right: 10%; } } 2014 | @media (max-width: 736px) { 2015 | article.grid-examples .box.-b8 { 2016 | display: block; 2017 | float: left; 2018 | width: 80%; 2019 | margin-left: 10%; 2020 | margin-right: 10%; } } 2021 | article.grid-examples .box.-b9 { 2022 | display: block; 2023 | float: left; 2024 | width: 23%; 2025 | margin-left: 1%; 2026 | margin-right: 1%; } 2027 | @media (min-width: 1200px) { 2028 | article.grid-examples .box.-b9 { 2029 | display: block; 2030 | float: left; 2031 | width: 23%; 2032 | margin-left: 1%; 2033 | margin-right: 1%; } } 2034 | @media (max-width: 1024px) { 2035 | article.grid-examples .box.-b9 { 2036 | display: block; 2037 | float: left; 2038 | width: 15%; 2039 | margin-left: 5%; 2040 | margin-right: 5%; } } 2041 | @media (max-width: 736px) { 2042 | article.grid-examples .box.-b9 { 2043 | display: block; 2044 | float: left; 2045 | width: 90%; 2046 | margin-left: 5%; 2047 | margin-right: 5%; } } 2048 | article.grid-examples .box.-b10, article.grid-examples .box.-b11 { 2049 | display: block; 2050 | float: left; 2051 | width: 48%; 2052 | margin-left: 1%; 2053 | margin-right: 1%; } 2054 | @media (min-width: 1200px) { 2055 | article.grid-examples .box.-b10, article.grid-examples .box.-b11 { 2056 | display: block; 2057 | float: left; 2058 | width: 48%; 2059 | margin-left: 1%; 2060 | margin-right: 1%; } } 2061 | @media (max-width: 1024px) { 2062 | article.grid-examples .box.-b10, article.grid-examples .box.-b11 { 2063 | display: block; 2064 | float: left; 2065 | width: 40%; 2066 | margin-left: 5%; 2067 | margin-right: 5%; } } 2068 | @media (max-width: 736px) { 2069 | article.grid-examples .box.-b10, article.grid-examples .box.-b11 { 2070 | display: block; 2071 | float: left; 2072 | width: 90%; 2073 | margin-left: 5%; 2074 | margin-right: 5%; } } 2075 | @media (max-width: 736px) { 2076 | article.grid-examples .box.-b10, article.grid-examples .box.-b11 { 2077 | display: block; 2078 | float: left; 2079 | width: 40%; 2080 | margin-left: 5%; 2081 | margin-right: 5%; } } 2082 | article.grid-examples .box.-b12 { 2083 | display: block; 2084 | float: left; 2085 | width: 41.66667%; 2086 | margin-left: 0%; 2087 | margin-right: 0; } 2088 | @media (min-width: 1200px) { 2089 | article.grid-examples .box.-b12 { 2090 | display: block; 2091 | float: left; 2092 | width: 41.66667%; 2093 | margin-left: 0%; 2094 | margin-right: 0; } } 2095 | @media (max-width: 1024px) { 2096 | article.grid-examples .box.-b12 { 2097 | display: block; 2098 | float: left; 2099 | width: 41.66667%; 2100 | margin-left: 0%; 2101 | margin-right: 0; } } 2102 | @media (max-width: 736px) { 2103 | article.grid-examples .box.-b12 { 2104 | display: block; 2105 | float: left; 2106 | width: 100%; 2107 | margin-left: 0%; 2108 | margin-right: 0; } } 2109 | @media (max-width: 736px) { 2110 | article.grid-examples .box.-b12 { 2111 | display: block; 2112 | float: left; 2113 | width: 40%; 2114 | margin-left: 0%; 2115 | margin-right: 0; } } 2116 | article.grid-examples .box.-b13 { 2117 | display: block; 2118 | float: left; 2119 | width: 58.33333%; 2120 | margin-left: 0%; 2121 | margin-right: 0; } 2122 | @media (min-width: 1200px) { 2123 | article.grid-examples .box.-b13 { 2124 | display: block; 2125 | float: left; 2126 | width: 58.33333%; 2127 | margin-left: 0%; 2128 | margin-right: 0; } } 2129 | @media (max-width: 1024px) { 2130 | article.grid-examples .box.-b13 { 2131 | display: block; 2132 | float: left; 2133 | width: 58.33333%; 2134 | margin-left: 0%; 2135 | margin-right: 0; } } 2136 | @media (max-width: 736px) { 2137 | article.grid-examples .box.-b13 { 2138 | display: block; 2139 | float: left; 2140 | width: 100%; 2141 | margin-left: 0%; 2142 | margin-right: 0; } } 2143 | @media (max-width: 736px) { 2144 | article.grid-examples .box.-b13 { 2145 | display: block; 2146 | float: left; 2147 | width: 60%; 2148 | margin-left: 0%; 2149 | margin-right: 0; } } 2150 | @media (max-width: 736px) { 2151 | article.grid-examples .box.-tall { 2152 | height: 200px; } } 2153 | @media (max-width: 736px) { 2154 | article.grid-examples .box.-tall code { 2155 | font-size: 0.8rem; } } 2156 | 2157 | /*# sourceMappingURL=site.min.css.map */ 2158 | -------------------------------------------------------------------------------- /dist/fonts/entypo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/fonts/entypo.eot -------------------------------------------------------------------------------- /dist/fonts/entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/fonts/entypo.ttf -------------------------------------------------------------------------------- /dist/fonts/entypo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/fonts/entypo.woff -------------------------------------------------------------------------------- /dist/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/img/1.jpg -------------------------------------------------------------------------------- /dist/img/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/img/2.jpg -------------------------------------------------------------------------------- /dist/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/img/3.jpg -------------------------------------------------------------------------------- /dist/img/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/dist/img/4.jpg -------------------------------------------------------------------------------- /dist/js/site.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["/Users/valais/Sites/base.dev/node_modules/browser-pack/_prelude.js","/Users/valais/Sites/base.dev/node_modules/base64-js/lib/b64.js","/Users/valais/Sites/base.dev/node_modules/buffer/index.js","/Users/valais/Sites/base.dev/node_modules/ieee754/index.js","/Users/valais/Sites/base.dev/node_modules/process/browser.js","/Users/valais/Sites/base.dev/src/js/fake_2d6aeede.js","/Users/valais/Sites/base.dev/src/js/modules/theme.js"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;ACAA;AACA,mBACA;;AACA,2BACA;AACA,AACA;;wCACA,cACA,aACA,AACA;;kCACA;mCACA;oCACA;mCACA;mCACA;2CACA;4CACA,AACA;;6BACA;oCACA;uBACA,iBACA,0BACA;uBACA,kBACA,2BACA;qBACA,mBACA;8BACA,gCACA;6BACA,kBACA;6BACA,0BACA;AACA,AACA;;qCACA;0CACA,AACA;;kCACA;4BACA;AACA,AACA;;AACA;AACA;AACA;AACA;AACA;wBACA;6FACA,AACA;;AACA;6CACA,AACA;;AACA;sDACA,AACA;;kBACA,AACA;;2BACA;uBACA;AACA,AACA;;oDACA;yIACA;qCACA;mCACA;uBACA;AACA,AACA;;kCACA;4EACA;uBACA;yCACA;8GACA;4BACA;uBACA;AACA,AACA;;iBACA;AACA,AACA;;sCACA;cACA;;cACA;mBACA;;cACA,AACA;;+BACA;iCACA;AACA,AACA;;wCACA;gHACA;AACA,AACA;;AACA;8EACA;sEACA;sCACA;AACA,AACA;;AACA;kBACA;iBACA;0CACA;uCACA;2CACA;wBACA;AACA;iBACA;2EACA;uCACA;2CACA;2CACA;wBACA;AACA,AACA,AACA;;;iBACA;AACA,AACA;;8BACA;gCACA;+DACA,AACA;;;AC9HA;AACA,AACA,AACA,AACA,AACA,AACA,AACA;;;;;;;AACA;AACA,4BACA;;AACA;AACA;AACA;AACA,wBACA;;AACA,AACA,AACA,AACA,AACA;;;;;AACA,2CACA;AACA;AACA;AACA;AACA;AACA;YACA;oCACA;mCACA;;;AACA;4BACA,6CACA;oBACA;iBACA;AACA;AACA;;AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA;;;;;;;;;;;;AACA,iDACA;8BACA,8CACA,AACA;;0BACA,AACA;;AACA;AACA;wDACA;+BACA;2CACA;gCACA;AACA;AACA,AACA;;AACA;YACA;qBACA,0BACA,2BACA,8CACA,4BACA,2CACA,AACA;6BACA,AACA;;YACA;oCACA;AACA;+CACA;eACA;AACA;gBACA;uBACA;0BACA;AACA,AACA;;YACA;8EACA;AACA;mBACA;wCACA;AACA;uCACA;gCACA,qCACA,AACA,yBACA;AACA;sCACA;gCACA;4EACA;uCACA;qBACA;AACA;AACA,AACA;;eACA;AACA;;AACA;AACA,AACA;;AACA,8CACA;iCACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;mBACA;AACA;mBACA,AACA;;AACA;;AACA,qCACA;qDACA;AACA;;AACA,mDACA;YACA;oBACA;4BACA;eACA;+BACA;AACA;eACA;eACA;mCACA;AACA;eACA;eACA;eACA;sBACA;AACA;eACA;qCACA;AACA;eACA;eACA;eACA;eACA;+BACA;AACA;AACA;4BACA,AACA;;eACA;AACA;;AACA,mDACA;8BACA,gDACA,AACA;;+BACA;4BACA;sCACA;sBACA;AACA,AACA;;YACA;6CACA;wBACA;4CACA;mCACA;AACA;AACA,AACA;;6BACA;kBACA;0CACA;0BACA;yBACA;sBACA;AACA;eACA;AACA;;AACA;AACA,AACA;;AACA,sDACA;mCACA;qCACA;qBACA;mBACA;eACA;0BACA;kCACA;qBACA;AACA;AACA,AACA;;AACA;4BACA;iCACA,AACA;;iCACA;4BACA;AACA;yCACA;uDACA;+BACA;4BACA;AACA;mCACA;eACA;AACA;;AACA,uDACA;kCACA,6DACA;eACA;AACA;;AACA,wDACA;kCACA,8DACA;eACA;AACA;;AACA,yDACA;gDACA;AACA;;AACA,yDACA;kCACA,+DACA;eACA;AACA;;AACA,0DACA;kCACA,gEACA;eACA;AACA;;AACA,2EACA;AACA;AACA;8BACA;iCACA;uBACA;qBACA;AACA;;AACA;qBACA;qBACA;mBACA;mBACA;AACA,AACA;;mCACA;sCACA;qBACA;mBACA;eACA;0BACA;kCACA;qBACA;AACA;AACA;8CACA,AACA;;YACA;gBACA;eACA;kDACA;AACA;eACA;eACA;mDACA;AACA;eACA;oDACA;AACA;eACA;qDACA;AACA;eACA;qDACA;AACA;eACA;eACA;eACA;eACA;sDACA;AACA;AACA;4BACA,AACA;;eACA;AACA;;AACA,kEACA;mBACA,AACA;;8CACA;iCACA;sBACA,mBACA,kBACA,AACA;;AACA;oBACA,cACA,AACA;;YACA;gBACA;eACA;yCACA;AACA;eACA;eACA;0CACA;AACA;eACA;2CACA;AACA;eACA;4CACA;AACA;eACA;4CACA;AACA;eACA;eACA;eACA;eACA;6CACA;AACA;AACA;4BACA,AACA;;eACA;AACA;;AACA,4CACA;;gBAEA;8DACA,AACA;AAHA;AAIA;;AACA;AACA,0EACA;qBACA,AACA;;4BACA;0CACA;0CACA,AACA;;AACA;2BACA;wDACA,AACA;;AACA;6BACA;0DACA,QACA;oDACA;iDACA,AACA;;AACA;uBACA,mBACA;iDACA,4CACA,AACA;;wBACA,AACA;;kDACA;mCACA;gDACA;;eACA;yDACA;AACA;AACA;;AACA,6CACA;+CACA;sCACA;eACA;uDACA;AACA;AACA;;AACA,2CACA;kBACA;kBACA;mCACA,AACA;;0CACA;8BACA;iEACA;kBACA;iBACA;yCACA;AACA;AACA,AACA;;oCACA;AACA;;AACA,4CACA;kBACA;mCACA,AACA;;qCACA;yCACA;gBACA;AACA;;AACA,6CACA;uCACA;AACA;;AACA,0CACA;sBACA,AACA;;yCACA;gDACA,AACA;;kBACA;0CACA;2BACA;AACA;eACA;AACA;;AACA,8CACA;qCACA;kBACA;kDACA;+DACA;AACA;eACA;AACA;;AACA,qDACA;uBACA;kCACA;8BACA,AACA;;oCACA;sDACA;eACA;+BACA;uDACA;6CACA;iCACA;AACA;iBACA;AACA;AACA;;AACA;AACA,+CACA;oBACA;8BACA;AACA;;AACA;AACA,kDACA;oBACA;kCACA;AACA;;AACA,+DACA;uBACA;0DACA;uCACA;AACA,AACA;;2BACA,QACA,AACA;;oBACA;AACA;;AACA,gEACA;uBACA;oDACA;0DACA;0CACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;YACA;0BACA;oBACA;2BACA,+BACA;eACA;+BACA;2BACA,yBACA;AACA;eACA;AACA;;AACA,kEACA;+CACA;AACA;;AACA,kEACA;gDACA;AACA;;AACA,gEACA;uBACA;oDACA;0DACA;0CACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;YACA;0BACA;2BACA,8BACA;2BACA,+BACA;qBACA;2BACA,4CACA;eACA;2BACA,8BACA;2BACA,+BACA;2BACA,yBACA;6CACA;AACA;eACA;AACA;;AACA,kEACA;+CACA;AACA;;AACA,kEACA;gDACA;AACA;;AACA,8DACA;uBACA;oDACA,MACA;uCACA;AACA,AACA;;2BACA,QACA,AACA;;iCACA;YACA,yCACA,AACA,mBACA;AACA;;AACA,+DACA;uBACA;oDACA;0DACA;0CACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;yDACA;wBACA;YACA,kCACA,AACA,cACA;AACA;;AACA,iEACA;8CACA;AACA;;AACA,iEACA;+CACA;AACA;;AACA,+DACA;uBACA;oDACA;0DACA;0CACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;yDACA;wBACA;YACA,sCACA,AACA,cACA;AACA;;AACA,iEACA;8CACA;AACA;;AACA,iEACA;+CACA;AACA;;AACA,+DACA;uBACA;oDACA;0CACA;AACA,AACA;;2DACA;AACA;;AACA,iEACA;8CACA;AACA;;AACA,iEACA;+CACA;AACA;;AACA,gEACA;uBACA;oDACA;0CACA;AACA,AACA;;2DACA;AACA;;AACA,kEACA;+CACA;AACA;;AACA,kEACA;gDACA;AACA;;AACA,uEACA;uBACA;wDACA;0DACA;uCACA;2BACA;AACA,AACA;;mCACA,AACA;;uBACA;AACA;;AACA,wEACA;uBACA;wDACA;oDACA;0DACA;0CACA;2BACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;mEACA;uBACA,kDACA,qCACA;AACA;AACA;;AACA,0EACA;gDACA;AACA;;AACA,0EACA;iDACA;AACA;;AACA,wEACA;uBACA;wDACA;oDACA;0DACA;0CACA;2BACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;mEACA;uBACA,gDACA;AACA;AACA;;AACA,0EACA;gDACA;AACA;;AACA,0EACA;iDACA;AACA;;AACA,sEACA;uBACA;wDACA;0DACA;uCACA;kCACA;AACA,AACA;;2BACA,QACA,AACA;;qBACA,kCACA,AACA,yDACA;AACA;;AACA,uEACA;uBACA;wDACA;oDACA;0DACA;0CACA;oCACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;qBACA,kDACA,AACA,2EACA;AACA;;AACA,yEACA;+CACA;AACA;;AACA,yEACA;gDACA;AACA;;AACA,uEACA;uBACA;wDACA;oDACA;0DACA;0CACA;wCACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;qBACA,kDACA,AACA,+EACA;AACA;;AACA,yEACA;+CACA;AACA;;AACA,yEACA;gDACA;AACA;;AACA,uEACA;uBACA;wDACA;oDACA;0DACA;0CACA;uDACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;4DACA;AACA;;AACA,yEACA;+CACA;AACA;;AACA,yEACA;gDACA;AACA;;AACA,wEACA;uBACA;wDACA;oDACA;0DACA;kCACA,QACA;wDACA;AACA,AACA;;sBACA;sBACA,KACA,AACA;;4DACA;AACA;;AACA,0EACA;gDACA;AACA;;AACA,0EACA;iDACA;AACA;;AACA;AACA,2DACA;4BACA;4BACA;6BACA,AACA;;uCACA;mCACA;AACA,AACA;;2DACA;6BACA,AACA;;AACA;2BACA;+BACA,AACA;;kDACA;+CACA,AACA;;0CACA;oBACA;AACA;AACA;;AACA,6CACA;kBACA;uBACA;sCACA;8BACA;+CACA;yBACA;AACA;AACA;AACA;4CACA;AACA;;AACA,AACA,AACA,AACA;;;;AACA,mDACA;+CACA;sCACA;oCACA;iBACA;0CACA;4DACA;4BACA;wBACA;AACA;eACA;0BACA;AACA;AACA;;AACA;AACA,AACA;;AACA,+BACA;iCACA;yCACA;AACA;;AACA,sBACA;;AACA,AACA,AACA;;;AACA,uCACA;wBACA,AACA;;AACA;uBACA;uBACA,AACA;;AACA;qBACA;qBACA,AACA;;uBACA;0BACA;gCACA;wBACA;sBACA;uBACA;2BACA;8BACA;8BACA;8BACA;8BACA;0BACA;6BACA;6BACA;6BACA;6BACA;6BACA;6BACA;8BACA;8BACA;4BACA;+BACA;+BACA;+BACA;+BACA;2BACA;8BACA;8BACA;8BACA;8BACA;8BACA;8BACA;+BACA;+BACA;sBACA;yBACA;+BACA,AACA;;eACA;AACA;;AACA;AACA;8CAEA;wBADA,CAEA;iCACA;+BACA;iBACA;+BACA;eACA;AACA;;AACA,8BACA;AACA;AACA;AACA;8BACA;gCACA;AACA;;AACA,gCACA;oDACA;6DACA;WACA;AACA;;AACA,mCACA;mDACA,6FACA,sCACA;AACA;;AACA,wBACA;4CACA;0BACA;AACA;;AACA,gCACA;wBACA;6CACA;iCACA;mBACA,oCACA,SACA;wBACA;4CACA;gFACA;0CACA;4CACA;;AACA;AACA;eACA;AACA;;AACA,iCACA;wBACA;6CACA;AACA;6CACA;AACA;eACA;AACA;;AACA,mCACA;mBACA;wBACA;6CACA;6BACA;oBACA;mBACA;yBACA;yBACA;AACA,AACA;;eACA;AACA;;AACA,kCACA;kCACA;AACA;;AACA,oDACA;YACA;yCACA;mDACA,QACA;gCACA;AACA;eACA;AACA;;AACA,mCACA;YACA;oCACA;sBACA;8CACA;AACA;AACA;;AACA,AACA,AACA,AACA,AACA;;;;;AACA,qCACA;0CACA;2BACA;6BACA;4CACA;AACA;;AACA,0CACA;0CACA;6BACA;6BACA;4CACA;AACA;;AACA,6CACA;0CACA;6BACA;6BACA;AACA;;AACA,qCACA;8CACA;AACA,AACA;;;ACvlCA;AACA,mEACA;eACA;uCACA;iCACA;4BACA;qBACA;oCACA;4BACA;gCACA,AACA;;aACA,AACA;;gCACA;eACA;iBACA;iFACA,AACA;;gCACA;eACA;iBACA;iFACA,AACA;;qBACA;kBACA;+BACA;0CACA;eACA;8BACA;kBACA;AACA;kDACA;AACA;;AACA,2EACA;kBACA;uCACA;iCACA;4BACA;qEACA;oCACA;4BACA;gEACA,AACA;;yBACA,AACA;;gDACA;iCACA;cACA;eACA;gDACA;iDACA;AACA;iBACA;AACA;8BACA;0BACA;iBACA;0CACA;AACA;8BACA;AACA;iBACA;AACA,AACA;;iCACA;gBACA;gBACA;qCACA;8CACA;oBACA;iBACA;6DACA;gBACA;AACA;AACA,AACA;;uFACA,AACA;;wBACA;gBACA;sFACA,AACA;;sCACA;AACA,AACA;;;ACtFA;AACA,AACA;;AACA,qCACA;;AACA,qCACA;gDACA,sBACA;wCACA,4CACA,AACA,AACA;;6BACA;;;AACA;AACA,AACA;;qBACA;sBACA;2DACA;4BACA;sFACA;iBACA;oCACA;+BACA;AACA;AACA;AACA;aACA,AACA;;uCACA;uBACA;+CACA;AACA;AACA,AACA;;qCACA;yBACA;AACA;AACA;;AACA;AACA;AACA;AACA,qBACA;;AACA,uBACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBACA;;AACA,wCACA;wBACA;AACA;;AACA;AACA;;;AACA,qCACA;wBACA;AACA,AACA;;;ACjEA;AACA,0BACA;;AACA,0CACA;cACA;AACA;;;ACNA;AACA;AACA;AACA;AACA;AACA,AACA;;AACA,oBACA,AACA;;+DACA,AACA;;;;oBAGA,AACA;;AACA;AACA;AACA,AACA;;gCACA,AACA;;oBACA;wBACA,AACA;AACA,AACA,AACA;AAfA,AACA;;yBAeA,AACA;SACA","file":"site.js","sourcesContent":["(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o 0) {\n\t\t\tthrow new Error('Invalid string. Length must be a multiple of 4')\n\t\t}\n\n\t\t// the number of equal signs (place holders)\n\t\t// if there are two placeholders, than the two characters before it\n\t\t// represent one byte\n\t\t// if there is only one, then the three characters before it represent 2 bytes\n\t\t// this is just a cheap hack to not do indexOf twice\n\t\tvar len = b64.length\n\t\tplaceHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0\n\n\t\t// base64 is 4/3 + up to two characters of the original data\n\t\tarr = new Arr(b64.length * 3 / 4 - placeHolders)\n\n\t\t// if there are placeholders, only get up to the last complete 4 chars\n\t\tl = placeHolders > 0 ? b64.length - 4 : b64.length\n\n\t\tvar L = 0\n\n\t\tfunction push (v) {\n\t\t\tarr[L++] = v\n\t\t}\n\n\t\tfor (i = 0, j = 0; i < l; i += 4, j += 3) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))\n\t\t\tpush((tmp & 0xFF0000) >> 16)\n\t\t\tpush((tmp & 0xFF00) >> 8)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\tif (placeHolders === 2) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)\n\t\t\tpush(tmp & 0xFF)\n\t\t} else if (placeHolders === 1) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)\n\t\t\tpush((tmp >> 8) & 0xFF)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\treturn arr\n\t}\n\n\tfunction uint8ToBase64 (uint8) {\n\t\tvar i,\n\t\t\textraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes\n\t\t\toutput = \"\",\n\t\t\ttemp, length\n\n\t\tfunction encode (num) {\n\t\t\treturn lookup.charAt(num)\n\t\t}\n\n\t\tfunction tripletToBase64 (num) {\n\t\t\treturn encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F)\n\t\t}\n\n\t\t// go through the array every three bytes, we'll deal with trailing stuff later\n\t\tfor (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {\n\t\t\ttemp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n\t\t\toutput += tripletToBase64(temp)\n\t\t}\n\n\t\t// pad the end with zeros, but make sure to not forget the extra bytes\n\t\tswitch (extraBytes) {\n\t\t\tcase 1:\n\t\t\t\ttemp = uint8[uint8.length - 1]\n\t\t\t\toutput += encode(temp >> 2)\n\t\t\t\toutput += encode((temp << 4) & 0x3F)\n\t\t\t\toutput += '=='\n\t\t\t\tbreak\n\t\t\tcase 2:\n\t\t\t\ttemp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1])\n\t\t\t\toutput += encode(temp >> 10)\n\t\t\t\toutput += encode((temp >> 4) & 0x3F)\n\t\t\t\toutput += encode((temp << 2) & 0x3F)\n\t\t\t\toutput += '='\n\t\t\t\tbreak\n\t\t}\n\n\t\treturn output\n\t}\n\n\texports.toByteArray = b64ToByteArray\n\texports.fromByteArray = uint8ToBase64\n}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))\n\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/../../node_modules/base64-js/lib/b64.js\",\"/../../node_modules/base64-js/lib\")","(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = Buffer\nexports.INSPECT_MAX_BYTES = 50\nBuffer.poolSize = 8192\n\n/**\n * If `Buffer._useTypedArrays`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (compatible down to IE6)\n */\nBuffer._useTypedArrays = (function () {\n // Detect if browser supports Typed Arrays. Supported browsers are IE 10+, Firefox 4+,\n // Chrome 7+, Safari 5.1+, Opera 11.6+, iOS 4.2+. If the browser does not support adding\n // properties to `Uint8Array` instances, then that's the same as no `Uint8Array` support\n // because we need to be able to add all the node Buffer API methods. This is an issue\n // in Firefox 4-29. Now fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=695438\n try {\n var buf = new ArrayBuffer(0)\n var arr = new Uint8Array(buf)\n arr.foo = function () { return 42 }\n return 42 === arr.foo() &&\n typeof arr.subarray === 'function' // Chrome 9-10 lack `subarray`\n } catch (e) {\n return false\n }\n})()\n\n/**\n * Class: Buffer\n * =============\n *\n * The Buffer constructor returns instances of `Uint8Array` that are augmented\n * with function properties for all the node `Buffer` API functions. We use\n * `Uint8Array` so that square bracket notation works as expected -- it returns\n * a single octet.\n *\n * By augmenting the instances, we can avoid modifying the `Uint8Array`\n * prototype.\n */\nfunction Buffer (subject, encoding, noZero) {\n if (!(this instanceof Buffer))\n return new Buffer(subject, encoding, noZero)\n\n var type = typeof subject\n\n // Workaround: node's base64 implementation allows for non-padded strings\n // while base64-js does not.\n if (encoding === 'base64' && type === 'string') {\n subject = stringtrim(subject)\n while (subject.length % 4 !== 0) {\n subject = subject + '='\n }\n }\n\n // Find the length\n var length\n if (type === 'number')\n length = coerce(subject)\n else if (type === 'string')\n length = Buffer.byteLength(subject, encoding)\n else if (type === 'object')\n length = coerce(subject.length) // assume that object is array-like\n else\n throw new Error('First argument needs to be a number, array or string.')\n\n var buf\n if (Buffer._useTypedArrays) {\n // Preferred: Return an augmented `Uint8Array` instance for best performance\n buf = Buffer._augment(new Uint8Array(length))\n } else {\n // Fallback: Return THIS instance of Buffer (created by `new`)\n buf = this\n buf.length = length\n buf._isBuffer = true\n }\n\n var i\n if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {\n // Speed optimization -- use set if we're copying from a typed array\n buf._set(subject)\n } else if (isArrayish(subject)) {\n // Treat array-ish objects as a byte array\n for (i = 0; i < length; i++) {\n if (Buffer.isBuffer(subject))\n buf[i] = subject.readUInt8(i)\n else\n buf[i] = subject[i]\n }\n } else if (type === 'string') {\n buf.write(subject, 0, encoding)\n } else if (type === 'number' && !Buffer._useTypedArrays && !noZero) {\n for (i = 0; i < length; i++) {\n buf[i] = 0\n }\n }\n\n return buf\n}\n\n// STATIC METHODS\n// ==============\n\nBuffer.isEncoding = function (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'raw':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.isBuffer = function (b) {\n return !!(b !== null && b !== undefined && b._isBuffer)\n}\n\nBuffer.byteLength = function (str, encoding) {\n var ret\n str = str + ''\n switch (encoding || 'utf8') {\n case 'hex':\n ret = str.length / 2\n break\n case 'utf8':\n case 'utf-8':\n ret = utf8ToBytes(str).length\n break\n case 'ascii':\n case 'binary':\n case 'raw':\n ret = str.length\n break\n case 'base64':\n ret = base64ToBytes(str).length\n break\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n ret = str.length * 2\n break\n default:\n throw new Error('Unknown encoding')\n }\n return ret\n}\n\nBuffer.concat = function (list, totalLength) {\n assert(isArray(list), 'Usage: Buffer.concat(list, [totalLength])\\n' +\n 'list should be an Array.')\n\n if (list.length === 0) {\n return new Buffer(0)\n } else if (list.length === 1) {\n return list[0]\n }\n\n var i\n if (typeof totalLength !== 'number') {\n totalLength = 0\n for (i = 0; i < list.length; i++) {\n totalLength += list[i].length\n }\n }\n\n var buf = new Buffer(totalLength)\n var pos = 0\n for (i = 0; i < list.length; i++) {\n var item = list[i]\n item.copy(buf, pos)\n pos += item.length\n }\n return buf\n}\n\n// BUFFER INSTANCE METHODS\n// =======================\n\nfunction _hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n assert(strLen % 2 === 0, 'Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; i++) {\n var byte = parseInt(string.substr(i * 2, 2), 16)\n assert(!isNaN(byte), 'Invalid hex string')\n buf[offset + i] = byte\n }\n Buffer._charsWritten = i * 2\n return i\n}\n\nfunction _utf8Write (buf, string, offset, length) {\n var charsWritten = Buffer._charsWritten =\n blitBuffer(utf8ToBytes(string), buf, offset, length)\n return charsWritten\n}\n\nfunction _asciiWrite (buf, string, offset, length) {\n var charsWritten = Buffer._charsWritten =\n blitBuffer(asciiToBytes(string), buf, offset, length)\n return charsWritten\n}\n\nfunction _binaryWrite (buf, string, offset, length) {\n return _asciiWrite(buf, string, offset, length)\n}\n\nfunction _base64Write (buf, string, offset, length) {\n var charsWritten = Buffer._charsWritten =\n blitBuffer(base64ToBytes(string), buf, offset, length)\n return charsWritten\n}\n\nfunction _utf16leWrite (buf, string, offset, length) {\n var charsWritten = Buffer._charsWritten =\n blitBuffer(utf16leToBytes(string), buf, offset, length)\n return charsWritten\n}\n\nBuffer.prototype.write = function (string, offset, length, encoding) {\n // Support both (string, offset, length, encoding)\n // and the legacy (string, encoding, offset, length)\n if (isFinite(offset)) {\n if (!isFinite(length)) {\n encoding = length\n length = undefined\n }\n } else { // legacy\n var swap = encoding\n encoding = offset\n offset = length\n length = swap\n }\n\n offset = Number(offset) || 0\n var remaining = this.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n encoding = String(encoding || 'utf8').toLowerCase()\n\n var ret\n switch (encoding) {\n case 'hex':\n ret = _hexWrite(this, string, offset, length)\n break\n case 'utf8':\n case 'utf-8':\n ret = _utf8Write(this, string, offset, length)\n break\n case 'ascii':\n ret = _asciiWrite(this, string, offset, length)\n break\n case 'binary':\n ret = _binaryWrite(this, string, offset, length)\n break\n case 'base64':\n ret = _base64Write(this, string, offset, length)\n break\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n ret = _utf16leWrite(this, string, offset, length)\n break\n default:\n throw new Error('Unknown encoding')\n }\n return ret\n}\n\nBuffer.prototype.toString = function (encoding, start, end) {\n var self = this\n\n encoding = String(encoding || 'utf8').toLowerCase()\n start = Number(start) || 0\n end = (end !== undefined)\n ? Number(end)\n : end = self.length\n\n // Fastpath empty strings\n if (end === start)\n return ''\n\n var ret\n switch (encoding) {\n case 'hex':\n ret = _hexSlice(self, start, end)\n break\n case 'utf8':\n case 'utf-8':\n ret = _utf8Slice(self, start, end)\n break\n case 'ascii':\n ret = _asciiSlice(self, start, end)\n break\n case 'binary':\n ret = _binarySlice(self, start, end)\n break\n case 'base64':\n ret = _base64Slice(self, start, end)\n break\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n ret = _utf16leSlice(self, start, end)\n break\n default:\n throw new Error('Unknown encoding')\n }\n return ret\n}\n\nBuffer.prototype.toJSON = function () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function (target, target_start, start, end) {\n var source = this\n\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (!target_start) target_start = 0\n\n // Copy 0 bytes; we're done\n if (end === start) return\n if (target.length === 0 || source.length === 0) return\n\n // Fatal error conditions\n assert(end >= start, 'sourceEnd < sourceStart')\n assert(target_start >= 0 && target_start < target.length,\n 'targetStart out of bounds')\n assert(start >= 0 && start < source.length, 'sourceStart out of bounds')\n assert(end >= 0 && end <= source.length, 'sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length)\n end = this.length\n if (target.length - target_start < end - start)\n end = target.length - target_start + start\n\n var len = end - start\n\n if (len < 100 || !Buffer._useTypedArrays) {\n for (var i = 0; i < len; i++)\n target[i + target_start] = this[i + start]\n } else {\n target._set(this.subarray(start, start + len), target_start)\n }\n}\n\nfunction _base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction _utf8Slice (buf, start, end) {\n var res = ''\n var tmp = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++) {\n if (buf[i] <= 0x7F) {\n res += decodeUtf8Char(tmp) + String.fromCharCode(buf[i])\n tmp = ''\n } else {\n tmp += '%' + buf[i].toString(16)\n }\n }\n\n return res + decodeUtf8Char(tmp)\n}\n\nfunction _asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++)\n ret += String.fromCharCode(buf[i])\n return ret\n}\n\nfunction _binarySlice (buf, start, end) {\n return _asciiSlice(buf, start, end)\n}\n\nfunction _hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; i++) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction _utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i+1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function (start, end) {\n var len = this.length\n start = clamp(start, len, 0)\n end = clamp(end, len, len)\n\n if (Buffer._useTypedArrays) {\n return Buffer._augment(this.subarray(start, end))\n } else {\n var sliceLen = end - start\n var newBuf = new Buffer(sliceLen, undefined, true)\n for (var i = 0; i < sliceLen; i++) {\n newBuf[i] = this[i + start]\n }\n return newBuf\n }\n}\n\n// `get` will be removed in Node 0.13+\nBuffer.prototype.get = function (offset) {\n console.log('.get() is deprecated. Access using array indexes instead.')\n return this.readUInt8(offset)\n}\n\n// `set` will be removed in Node 0.13+\nBuffer.prototype.set = function (v, offset) {\n console.log('.set() is deprecated. Access using array indexes instead.')\n return this.writeUInt8(v, offset)\n}\n\nBuffer.prototype.readUInt8 = function (offset, noAssert) {\n if (!noAssert) {\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset < this.length, 'Trying to read beyond buffer length')\n }\n\n if (offset >= this.length)\n return\n\n return this[offset]\n}\n\nfunction _readUInt16 (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 1 < buf.length, 'Trying to read beyond buffer length')\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n var val\n if (littleEndian) {\n val = buf[offset]\n if (offset + 1 < len)\n val |= buf[offset + 1] << 8\n } else {\n val = buf[offset] << 8\n if (offset + 1 < len)\n val |= buf[offset + 1]\n }\n return val\n}\n\nBuffer.prototype.readUInt16LE = function (offset, noAssert) {\n return _readUInt16(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readUInt16BE = function (offset, noAssert) {\n return _readUInt16(this, offset, false, noAssert)\n}\n\nfunction _readUInt32 (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n var val\n if (littleEndian) {\n if (offset + 2 < len)\n val = buf[offset + 2] << 16\n if (offset + 1 < len)\n val |= buf[offset + 1] << 8\n val |= buf[offset]\n if (offset + 3 < len)\n val = val + (buf[offset + 3] << 24 >>> 0)\n } else {\n if (offset + 1 < len)\n val = buf[offset + 1] << 16\n if (offset + 2 < len)\n val |= buf[offset + 2] << 8\n if (offset + 3 < len)\n val |= buf[offset + 3]\n val = val + (buf[offset] << 24 >>> 0)\n }\n return val\n}\n\nBuffer.prototype.readUInt32LE = function (offset, noAssert) {\n return _readUInt32(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readUInt32BE = function (offset, noAssert) {\n return _readUInt32(this, offset, false, noAssert)\n}\n\nBuffer.prototype.readInt8 = function (offset, noAssert) {\n if (!noAssert) {\n assert(offset !== undefined && offset !== null,\n 'missing offset')\n assert(offset < this.length, 'Trying to read beyond buffer length')\n }\n\n if (offset >= this.length)\n return\n\n var neg = this[offset] & 0x80\n if (neg)\n return (0xff - this[offset] + 1) * -1\n else\n return this[offset]\n}\n\nfunction _readInt16 (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 1 < buf.length, 'Trying to read beyond buffer length')\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n var val = _readUInt16(buf, offset, littleEndian, true)\n var neg = val & 0x8000\n if (neg)\n return (0xffff - val + 1) * -1\n else\n return val\n}\n\nBuffer.prototype.readInt16LE = function (offset, noAssert) {\n return _readInt16(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readInt16BE = function (offset, noAssert) {\n return _readInt16(this, offset, false, noAssert)\n}\n\nfunction _readInt32 (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n var val = _readUInt32(buf, offset, littleEndian, true)\n var neg = val & 0x80000000\n if (neg)\n return (0xffffffff - val + 1) * -1\n else\n return val\n}\n\nBuffer.prototype.readInt32LE = function (offset, noAssert) {\n return _readInt32(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readInt32BE = function (offset, noAssert) {\n return _readInt32(this, offset, false, noAssert)\n}\n\nfunction _readFloat (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')\n }\n\n return ieee754.read(buf, offset, littleEndian, 23, 4)\n}\n\nBuffer.prototype.readFloatLE = function (offset, noAssert) {\n return _readFloat(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readFloatBE = function (offset, noAssert) {\n return _readFloat(this, offset, false, noAssert)\n}\n\nfunction _readDouble (buf, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset + 7 < buf.length, 'Trying to read beyond buffer length')\n }\n\n return ieee754.read(buf, offset, littleEndian, 52, 8)\n}\n\nBuffer.prototype.readDoubleLE = function (offset, noAssert) {\n return _readDouble(this, offset, true, noAssert)\n}\n\nBuffer.prototype.readDoubleBE = function (offset, noAssert) {\n return _readDouble(this, offset, false, noAssert)\n}\n\nBuffer.prototype.writeUInt8 = function (value, offset, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset < this.length, 'trying to write beyond buffer length')\n verifuint(value, 0xff)\n }\n\n if (offset >= this.length) return\n\n this[offset] = value\n}\n\nfunction _writeUInt16 (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 1 < buf.length, 'trying to write beyond buffer length')\n verifuint(value, 0xffff)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n for (var i = 0, j = Math.min(len - offset, 2); i < j; i++) {\n buf[offset + i] =\n (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function (value, offset, noAssert) {\n _writeUInt16(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeUInt16BE = function (value, offset, noAssert) {\n _writeUInt16(this, value, offset, false, noAssert)\n}\n\nfunction _writeUInt32 (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 3 < buf.length, 'trying to write beyond buffer length')\n verifuint(value, 0xffffffff)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n for (var i = 0, j = Math.min(len - offset, 4); i < j; i++) {\n buf[offset + i] =\n (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function (value, offset, noAssert) {\n _writeUInt32(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeUInt32BE = function (value, offset, noAssert) {\n _writeUInt32(this, value, offset, false, noAssert)\n}\n\nBuffer.prototype.writeInt8 = function (value, offset, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset < this.length, 'Trying to write beyond buffer length')\n verifsint(value, 0x7f, -0x80)\n }\n\n if (offset >= this.length)\n return\n\n if (value >= 0)\n this.writeUInt8(value, offset, noAssert)\n else\n this.writeUInt8(0xff + value + 1, offset, noAssert)\n}\n\nfunction _writeInt16 (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 1 < buf.length, 'Trying to write beyond buffer length')\n verifsint(value, 0x7fff, -0x8000)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n if (value >= 0)\n _writeUInt16(buf, value, offset, littleEndian, noAssert)\n else\n _writeUInt16(buf, 0xffff + value + 1, offset, littleEndian, noAssert)\n}\n\nBuffer.prototype.writeInt16LE = function (value, offset, noAssert) {\n _writeInt16(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeInt16BE = function (value, offset, noAssert) {\n _writeInt16(this, value, offset, false, noAssert)\n}\n\nfunction _writeInt32 (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 3 < buf.length, 'Trying to write beyond buffer length')\n verifsint(value, 0x7fffffff, -0x80000000)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n if (value >= 0)\n _writeUInt32(buf, value, offset, littleEndian, noAssert)\n else\n _writeUInt32(buf, 0xffffffff + value + 1, offset, littleEndian, noAssert)\n}\n\nBuffer.prototype.writeInt32LE = function (value, offset, noAssert) {\n _writeInt32(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeInt32BE = function (value, offset, noAssert) {\n _writeInt32(this, value, offset, false, noAssert)\n}\n\nfunction _writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 3 < buf.length, 'Trying to write beyond buffer length')\n verifIEEE754(value, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n}\n\nBuffer.prototype.writeFloatLE = function (value, offset, noAssert) {\n _writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function (value, offset, noAssert) {\n _writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction _writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n assert(value !== undefined && value !== null, 'missing value')\n assert(typeof littleEndian === 'boolean', 'missing or invalid endian')\n assert(offset !== undefined && offset !== null, 'missing offset')\n assert(offset + 7 < buf.length,\n 'Trying to write beyond buffer length')\n verifIEEE754(value, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n\n var len = buf.length\n if (offset >= len)\n return\n\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n}\n\nBuffer.prototype.writeDoubleLE = function (value, offset, noAssert) {\n _writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function (value, offset, noAssert) {\n _writeDouble(this, value, offset, false, noAssert)\n}\n\n// fill(value, start=0, end=buffer.length)\nBuffer.prototype.fill = function (value, start, end) {\n if (!value) value = 0\n if (!start) start = 0\n if (!end) end = this.length\n\n if (typeof value === 'string') {\n value = value.charCodeAt(0)\n }\n\n assert(typeof value === 'number' && !isNaN(value), 'value is not a number')\n assert(end >= start, 'end < start')\n\n // Fill 0 bytes; we're done\n if (end === start) return\n if (this.length === 0) return\n\n assert(start >= 0 && start < this.length, 'start out of bounds')\n assert(end >= 0 && end <= this.length, 'end out of bounds')\n\n for (var i = start; i < end; i++) {\n this[i] = value\n }\n}\n\nBuffer.prototype.inspect = function () {\n var out = []\n var len = this.length\n for (var i = 0; i < len; i++) {\n out[i] = toHex(this[i])\n if (i === exports.INSPECT_MAX_BYTES) {\n out[i + 1] = '...'\n break\n }\n }\n return ''\n}\n\n/**\n * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance.\n * Added in Node 0.12. Only available in browsers that support ArrayBuffer.\n */\nBuffer.prototype.toArrayBuffer = function () {\n if (typeof Uint8Array !== 'undefined') {\n if (Buffer._useTypedArrays) {\n return (new Buffer(this)).buffer\n } else {\n var buf = new Uint8Array(this.length)\n for (var i = 0, len = buf.length; i < len; i += 1)\n buf[i] = this[i]\n return buf.buffer\n }\n } else {\n throw new Error('Buffer.toArrayBuffer not supported in this browser')\n }\n}\n\n// HELPER FUNCTIONS\n// ================\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nvar BP = Buffer.prototype\n\n/**\n * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods\n */\nBuffer._augment = function (arr) {\n arr._isBuffer = true\n\n // save reference to original Uint8Array get/set methods before overwriting\n arr._get = arr.get\n arr._set = arr.set\n\n // deprecated, will be removed in node 0.13+\n arr.get = BP.get\n arr.set = BP.set\n\n arr.write = BP.write\n arr.toString = BP.toString\n arr.toLocaleString = BP.toString\n arr.toJSON = BP.toJSON\n arr.copy = BP.copy\n arr.slice = BP.slice\n arr.readUInt8 = BP.readUInt8\n arr.readUInt16LE = BP.readUInt16LE\n arr.readUInt16BE = BP.readUInt16BE\n arr.readUInt32LE = BP.readUInt32LE\n arr.readUInt32BE = BP.readUInt32BE\n arr.readInt8 = BP.readInt8\n arr.readInt16LE = BP.readInt16LE\n arr.readInt16BE = BP.readInt16BE\n arr.readInt32LE = BP.readInt32LE\n arr.readInt32BE = BP.readInt32BE\n arr.readFloatLE = BP.readFloatLE\n arr.readFloatBE = BP.readFloatBE\n arr.readDoubleLE = BP.readDoubleLE\n arr.readDoubleBE = BP.readDoubleBE\n arr.writeUInt8 = BP.writeUInt8\n arr.writeUInt16LE = BP.writeUInt16LE\n arr.writeUInt16BE = BP.writeUInt16BE\n arr.writeUInt32LE = BP.writeUInt32LE\n arr.writeUInt32BE = BP.writeUInt32BE\n arr.writeInt8 = BP.writeInt8\n arr.writeInt16LE = BP.writeInt16LE\n arr.writeInt16BE = BP.writeInt16BE\n arr.writeInt32LE = BP.writeInt32LE\n arr.writeInt32BE = BP.writeInt32BE\n arr.writeFloatLE = BP.writeFloatLE\n arr.writeFloatBE = BP.writeFloatBE\n arr.writeDoubleLE = BP.writeDoubleLE\n arr.writeDoubleBE = BP.writeDoubleBE\n arr.fill = BP.fill\n arr.inspect = BP.inspect\n arr.toArrayBuffer = BP.toArrayBuffer\n\n return arr\n}\n\n// slice(start, end)\nfunction clamp (index, len, defaultValue) {\n if (typeof index !== 'number') return defaultValue\n index = ~~index; // Coerce to integer.\n if (index >= len) return len\n if (index >= 0) return index\n index += len\n if (index >= 0) return index\n return 0\n}\n\nfunction coerce (length) {\n // Coerce length to a number (possibly NaN), round up\n // in case it's fractional (e.g. 123.456) then do a\n // double negate to coerce a NaN to 0. Easy, right?\n length = ~~Math.ceil(+length)\n return length < 0 ? 0 : length\n}\n\nfunction isArray (subject) {\n return (Array.isArray || function (subject) {\n return Object.prototype.toString.call(subject) === '[object Array]'\n })(subject)\n}\n\nfunction isArrayish (subject) {\n return isArray(subject) || Buffer.isBuffer(subject) ||\n subject && typeof subject === 'object' &&\n typeof subject.length === 'number'\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n var b = str.charCodeAt(i)\n if (b <= 0x7F)\n byteArray.push(str.charCodeAt(i))\n else {\n var start = i\n if (b >= 0xD800 && b <= 0xDFFF) i++\n var h = encodeURIComponent(str.slice(start, i+1)).substr(1).split('%')\n for (var j = 0; j < h.length; j++)\n byteArray.push(parseInt(h[j], 16))\n }\n }\n return byteArray\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(str)\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n var pos\n for (var i = 0; i < length; i++) {\n if ((i + offset >= dst.length) || (i >= src.length))\n break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction decodeUtf8Char (str) {\n try {\n return decodeURIComponent(str)\n } catch (err) {\n return String.fromCharCode(0xFFFD) // UTF 8 invalid char\n }\n}\n\n/*\n * We have to make sure that the value is a valid integer. This means that it\n * is non-negative. It has no fractional component and that it does not\n * exceed the maximum allowed value.\n */\nfunction verifuint (value, max) {\n assert(typeof value === 'number', 'cannot write a non-number as a number')\n assert(value >= 0, 'specified a negative value for writing an unsigned value')\n assert(value <= max, 'value is larger than maximum value for type')\n assert(Math.floor(value) === value, 'value has a fractional component')\n}\n\nfunction verifsint (value, max, min) {\n assert(typeof value === 'number', 'cannot write a non-number as a number')\n assert(value <= max, 'value larger than maximum allowed value')\n assert(value >= min, 'value smaller than minimum allowed value')\n assert(Math.floor(value) === value, 'value has a fractional component')\n}\n\nfunction verifIEEE754 (value, max, min) {\n assert(typeof value === 'number', 'cannot write a non-number as a number')\n assert(value <= max, 'value larger than maximum allowed value')\n assert(value >= min, 'value smaller than minimum allowed value')\n}\n\nfunction assert (test, message) {\n if (!test) throw new Error(message || 'Failed assertion')\n}\n\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/../../node_modules/buffer/index.js\",\"/../../node_modules/buffer\")","(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/../../node_modules/ieee754/index.js\",\"/../../node_modules/ieee754\")","(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){\n// shim for using process in browser\n\nvar process = module.exports = {};\n\nprocess.nextTick = (function () {\n var canSetImmediate = typeof window !== 'undefined'\n && window.setImmediate;\n var canPost = typeof window !== 'undefined'\n && window.postMessage && window.addEventListener\n ;\n\n if (canSetImmediate) {\n return function (f) { return window.setImmediate(f) };\n }\n\n if (canPost) {\n var queue = [];\n window.addEventListener('message', function (ev) {\n var source = ev.source;\n if ((source === window || source === null) && ev.data === 'process-tick') {\n ev.stopPropagation();\n if (queue.length > 0) {\n var fn = queue.shift();\n fn();\n }\n }\n }, true);\n\n return function nextTick(fn) {\n queue.push(fn);\n window.postMessage('process-tick', '*');\n };\n }\n\n return function nextTick(fn) {\n setTimeout(fn, 0);\n };\n})();\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n}\n\n// TODO(shtylman)\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/../../node_modules/process/browser.js\",\"/../../node_modules/process\")","(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){\nvar Theme = require('./modules/theme');\n\njQuery(document).ready(function($) {\n\tTheme.init();\n});\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/fake_2d6aeede.js\",\"/\")","(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){\n// ------------------------------------\n//\n// Theme\n//\n// ------------------------------------\n\n(function($) {\n\n\tif (typeof window.Theme == 'undefined') window.Theme = {};\n\n\tTheme = {\n\n\t\tsettings: {},\n\n\t\t// ------------------------------------\n\t\t// Theme Init\n\t\t// ------------------------------------\n\n\t\tinit: function() {\n\n\t\t\tlet i = 'test';\n\t\t\tconsole.log('Theme initilised');\n\n\t\t}\n\t};\n\t\n\tmodule.exports = Theme;\n\n})(jQuery);\n}).call(this,require(\"rH1JPG\"),typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {},require(\"buffer\").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],\"/modules/theme.js\",\"/modules\")"]} -------------------------------------------------------------------------------- /grid.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Base 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |

Getting Started

23 |

This is a basic HTML template to help you get started with Base. Apart from the grid system, Base includes a sensible reset to start styling your site on.

24 |
25 |
26 | 27 |
28 | 29 |
30 |
31 |

Quick Reference

32 |

These quick guides will help you get started. For more detailed instructions check out the documentation.

33 | 34 |

Grid (_layout.scss)

35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 47 | 48 | 49 | 52 | 55 | 56 | 57 | 60 | 63 | 64 |
MixinUsage
42 | @include container() 43 | 45 | Apply to an element wrapping the column structure 46 |
50 | @include columns($columns, $offset, $gutter) 51 | 53 | @include columns(8, 0, 0) 54 |
58 | @include responsive-columns($breakpoint, $columns, $offset, $gutter); 59 | 61 | Apply to overwrite default breakpoint columns 62 |
65 |
66 |
67 |
68 |

Grid Settings(_variables.scss)

69 |

Grid breakpoints and settings are set in _variables.scss

70 |
71 |
72 |

Grid Examples(_layout.scss)

73 | 74 |
75 | 76 | @include container() 77 |
78 | @include columns(3); 79 |
80 |
81 | @include columns(4); 82 |
83 |
84 | @include columns(5); 85 |
86 |
87 | @include columns(5, 2); 88 |
89 |
90 | @include columns(5); 91 |
92 | 93 |
94 | @include columns(9); 95 |
96 | @include columns(6); 97 |
98 |
99 | @include columns(6); 100 |
101 |
102 |
103 | @include columns(3); 104 |
105 | 106 |
107 | 108 | @include columns(9, 0, 10%); 109 | 110 |
111 |
112 | 113 | @include columns(3); 114 | 115 |
116 | 117 |
118 | @include columns(6); 119 | @include responsive-columns('mobile', 0.5); 120 |
121 |
122 | 123 | @include columns(6); 124 | @include responsive-columns('mobile', 0.5); 125 | 126 |
127 | 128 |
129 | @include columns(5, 0, 0); 130 | @include responsive-columns('mobile', 0.4, 0, 0); 131 |
132 |
133 | @include columns(7, 0, 0); 134 | @include responsive-columns('mobile', 0.6, 0, 0); 135 |
136 |
137 | 138 |
139 |
140 | 141 | 145 |
146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const $ = require('gulp-load-plugins')(); 4 | const gulp = require('gulp'); 5 | const browserSync = require('browser-sync').create(); 6 | 7 | let debug = true; 8 | let proxy = 'base.dev'; 9 | let staticSrc = 'src/**/*.{webm,svg,eot,ttf,woff,woff2,otf,mp4,json,pdf,ico}'; 10 | 11 | /* 12 | * Clean 13 | */ 14 | gulp.task('clean', () => { 15 | 16 | return gulp.src('dist', {read: false}) 17 | .pipe($.clean()); 18 | }); 19 | 20 | /* 21 | * Copy static files 22 | */ 23 | gulp.task('copy', () => { 24 | 25 | return gulp.src(staticSrc) 26 | .pipe(gulp.dest('dist/')) 27 | }) 28 | 29 | /* 30 | * SASS 31 | */ 32 | gulp.task("sass", () => { 33 | 34 | let out = gulp.src('src/scss/base.scss') 35 | .pipe( $.cssGlobbing({ 36 | extensions: ['.scss'] 37 | })); 38 | 39 | // Create Sourmaps for develop 40 | if (debug) { 41 | 42 | return out.pipe($.sourcemaps.init()) 43 | .pipe($.sass({ style: 'compressed', sourcemap: true})) 44 | .on('error', $.sass.logError) 45 | .on('error', (err) => { 46 | $.notify().write(err); 47 | }) 48 | .pipe( $.autoprefixer({ 49 | browsers: ['last 2 versions','ie >= 9'], 50 | cascade: false 51 | })) 52 | .pipe($.rename('site.min.css')) 53 | .pipe($.sourcemaps.write('./')) 54 | .pipe(gulp.dest('./dist/css')) 55 | .pipe(browserSync.stream({match: '**/*.css'})); 56 | 57 | } 58 | 59 | // Remove sourcemaps and minify for production 60 | else { 61 | return out.pipe($.sass({ style: 'compressed'})) 62 | .on('error', $.sass.logError) 63 | .on('error', (err) => { 64 | $.notify().write(err); 65 | }) 66 | .pipe( $.autoprefixer({ 67 | browsers: ['last 2 versions','ie >= 9'], 68 | cascade: false 69 | })) 70 | .pipe($.rename('site.min.css')) 71 | .pipe(gulp.dest('./dist/css')); 72 | } 73 | 74 | }); 75 | 76 | /* 77 | * Javascript 78 | */ 79 | gulp.task('js', () => { 80 | 81 | // Development 82 | if (debug) { 83 | return gulp.src('src/js/site.js') 84 | .pipe($.sourcemaps.init()) 85 | .pipe($.browserify({ 86 | insertGlobals : true, 87 | debug : debug 88 | })) 89 | .on('error', (err) => { 90 | $.notify().write(err); 91 | }) 92 | .pipe($.babel({ 93 | presets: ['es2015'] 94 | })) 95 | .pipe($.sourcemaps.write('./')) 96 | .pipe(gulp.dest('dist/js')) 97 | } 98 | // Production 99 | else { 100 | return gulp.src('src/js/site.js') 101 | .pipe($.browserify({ 102 | insertGlobals : true, 103 | debug : debug 104 | })) 105 | .on('error', (err) => { 106 | $.notify().write(err); 107 | }) 108 | .pipe($.babel({ 109 | presets: ['es2015'] 110 | })) 111 | .pipe(gulp.dest('dist/js')) 112 | } 113 | 114 | }); 115 | 116 | 117 | /* 118 | * Javascript watch 119 | */ 120 | gulp.task('js-watch', ['js'], (done) => { 121 | 122 | browserSync.reload(); 123 | done(); 124 | }); 125 | 126 | /* 127 | * Image optimisation 128 | */ 129 | gulp.task('images', () => { 130 | 131 | return gulp.src(['./src/img/**/*.jpg', './src/img/**/*.png', './src/img/**/*.jpeg']) 132 | .pipe($.image()) 133 | .pipe(gulp.dest('./dist/img/')); 134 | }); 135 | 136 | /* 137 | * Serve and watch for changes 138 | */ 139 | gulp.task( "dev", ['copy', 'sass', 'js'], () => { 140 | 141 | // Serve 142 | browserSync.init({ 143 | proxy: proxy, 144 | ghostMode: false 145 | }); 146 | 147 | // Watch 148 | gulp.watch('src/img/**/*', ['images']); 149 | gulp.watch('src/scss/**/*.scss', ['sass']); 150 | gulp.watch('src/js/**/*.js', ['js-watch']); 151 | gulp.watch(['./**/*.html']).on('change', browserSync.reload); 152 | gulp.watch(staticSrc, ['copy']); 153 | 154 | gulp.watch([ 155 | 'dist/**/*.js', 156 | 'dist/**/*.css' 157 | ]); 158 | }); 159 | 160 | /* 161 | * Set debug mode to false 162 | */ 163 | gulp.task('production', () => { 164 | 165 | debug = false; 166 | console.log(`Set debug to: ${debug}`); 167 | }) 168 | 169 | gulp.task('build', ['production', 'images', 'copy', 'sass', 'js']); -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Base 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 |

Getting Started

23 |

This is a basic HTML template to help you get started with Base. Apart from the grid system, Base includes a sensible reset to start styling your site on.

24 |
25 |
26 | 27 |
28 | 29 |
30 |
31 |

Quick Reference

32 |

These quick guides will help you get started. For more detailed instructions check out the documentation.

33 | 34 |

Grid (_layout.scss)

35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 47 | 48 | 49 | 52 | 55 | 56 | 57 | 60 | 63 | 64 |
MixinUsage
42 | @include container() 43 | 45 | Apply to an element wrapping the column structure 46 |
50 | @include columns($columns, $offset, $gutter) 51 | 53 | @include columns(8, 0, 0) 54 |
58 | @include responsive-columns($breakpoint, $columns, $offset); 59 | 61 | Apply to overwrite default breakpoint columns 62 |
65 |
66 |
67 |

Grid Settings(_variables.scss)

68 |

Grid breakpoints and settings are set in _variables.scss

69 |

Check grid examples here 70 |

71 |
72 |

Breakpoints (_variables.scss)

73 | 74 | 75 | 76 | 77 | 78 | 79 | 82 | 85 | 86 |
MixinUsage
80 | @include respond-to($breakpoint-name) 81 | 83 | @include respond-to('mobile') {
/* custom styles */ }
84 |
87 |
88 |
89 |

Buttons (_buttons.scss)

90 | 91 |
92 | 93 |
94 | 95 |
96 |

Social icons are achived by prefixing icon text with:
<span class="icon-[socialNework]">

97 | 98 |
99 | 100 |
101 | 102 |
103 | 104 |
105 |

Forms (_forms.scss)

106 |

All HTML5 form elements are normalized to a set of core styles.

107 |
108 | 109 | 110 | 111 |
112 |
113 | 114 |
115 |

Mixins (_mixins.scss)

116 |

Base includes scss mixins for CSS3 properties, animations, gradients and some utility mixins. Check the source to see what's available.

117 |
118 |
119 |

Type (_type.scss)

120 |

Typography is controlled in _type.scss. Base provides a clean and sensible reset for heading styles, paragraphs, tables, lists and others.

121 | 122 |

Variables (_variables.scss)

123 |

Control colors and fonts across the site. Begins with:

124 |
    125 |
  • Heading font-family - @headingFont
  • 126 |
  • Paragraph font-family - @paragraphFont
  • 127 |
  • Text color - @textColor
  • 128 |
  • Base color - @baseColor
  • 129 |
  • Primary color - @primaryColor
  • 130 |
  • Secondary color - @secondaryColor
  • 131 |
132 |
133 | 134 |
135 | 136 | 150 | 151 |
152 | 153 | 157 |
158 | 159 | 160 | 161 | 162 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Base", 3 | "version": "2.1.0", 4 | "keywords": [ 5 | "base", 6 | "grid", 7 | "responsive" 8 | ], 9 | "description": "A semantic, lightweight and extensible framework to power the next generation of responsive websites.", 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/agency/base.git" 13 | }, 14 | "licenses": [ 15 | { 16 | "type": "Apache-2.0", 17 | "url": "http://www.apache.org/licenses/LICENSE-2.0" 18 | } 19 | ], 20 | "bugs": { 21 | "url": "https://github.com/agency/base/issues" 22 | }, 23 | "devDependencies": { 24 | "babel-preset-es2015": "^6.14.0", 25 | "browser-sync": "^2.15.0", 26 | "gulp": "^3.9.1", 27 | "gulp-autoprefixer": "^3.1.1", 28 | "gulp-babel": "^6.1.2", 29 | "gulp-browserify": "^0.5.1", 30 | "gulp-clean": "^0.3.2", 31 | "gulp-combine-mq": "^0.4.0", 32 | "gulp-css-globbing": "^0.1.8", 33 | "gulp-image": "^2.7.0", 34 | "gulp-image-optimization": "^0.1.3", 35 | "gulp-imagemin": "^3.0.3", 36 | "gulp-load-plugins": "^1.2.4", 37 | "gulp-notify": "^2.2.0", 38 | "gulp-rename": "^1.2.2", 39 | "gulp-sass": "^2.3.2", 40 | "gulp-sourcemaps": "^1.6.0", 41 | "gulp-watch": "^4.3.9" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/fonts/entypo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/fonts/entypo.eot -------------------------------------------------------------------------------- /src/fonts/entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/fonts/entypo.ttf -------------------------------------------------------------------------------- /src/fonts/entypo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/fonts/entypo.woff -------------------------------------------------------------------------------- /src/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/img/1.jpg -------------------------------------------------------------------------------- /src/img/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/img/2.jpg -------------------------------------------------------------------------------- /src/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/img/3.jpg -------------------------------------------------------------------------------- /src/img/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raisely/base/f4ee801cf451534143357b6c1f4b717b548a6cf3/src/img/4.jpg -------------------------------------------------------------------------------- /src/js/modules/theme.js: -------------------------------------------------------------------------------- 1 | // ------------------------------------ 2 | // 3 | // Theme 4 | // 5 | // ------------------------------------ 6 | 7 | (function($) { 8 | 9 | if (typeof window.Theme == 'undefined') window.Theme = {}; 10 | 11 | Theme = { 12 | 13 | settings: {}, 14 | 15 | /* 16 | * Theme init 17 | */ 18 | 19 | init: function() { 20 | 21 | // Init 22 | 23 | } 24 | }; 25 | 26 | module.exports = Theme; 27 | 28 | })(jQuery); -------------------------------------------------------------------------------- /src/js/site.js: -------------------------------------------------------------------------------- 1 | var Theme = require('./modules/theme'); 2 | 3 | jQuery(document).ready(function($) { 4 | Theme.init(); 5 | }); -------------------------------------------------------------------------------- /src/scss/_fonts.scss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'entypo'; 3 | src: url('../fonts/entypo.eot?59575301'); 4 | src: url('../fonts/entypo.eot?59575301#iefix') format('embedded-opentype'), 5 | url('../fonts/entypo.woff?59575301') format('woff'), 6 | url('../fonts/entypo.ttf?59575301') format('truetype'), 7 | url('../fonts/entypo.svg?59575301#entypo') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ 12 | /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ 13 | /* 14 | @media screen and (-webkit-min-device-pixel-ratio:0) { 15 | @font-face { 16 | font-family: 'entypo'; 17 | src: url('../font/entypo.svg?59575301#entypo') format('svg'); 18 | } 19 | } 20 | */ 21 | 22 | [class^="icon-"]:before, 23 | [class*=" icon-"]:before, 24 | .tweet:before, 25 | .read-more:after { 26 | font-family: "entypo"; 27 | font-style: normal; 28 | font-weight: normal; 29 | speak: none; 30 | 31 | display: inline-block; 32 | text-decoration: inherit; 33 | width: 1em; 34 | margin-right: .2em; 35 | text-align: center; 36 | 37 | /* For safety - reset parent styles, that can break glyph codes*/ 38 | font-variant: normal; 39 | text-transform: none; 40 | 41 | /* fix buttons height, for twitter bootstrap */ 42 | line-height: 1em; 43 | 44 | /* Animation center compensation - margins should be symmetric */ 45 | /* remove if not needed */ 46 | margin-left: .2em; 47 | 48 | /* you can be more comfortable with increased icons size */ 49 | /* font-size: 120%; */ 50 | 51 | /* Uncomment for 3D effect */ 52 | /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ 53 | } 54 | 55 | span.icon-facebook:before {padding-right: 0.2em;} 56 | span.icon-twitter:before {padding-right: 0.3em;} 57 | 58 | .icon-note:before { content: '\e800'; } /* '' */ 59 | .icon-cancel-circled:before { content: '\e801'; } /* '' */ 60 | .icon-cancel-squared:before { content: '\e802'; } /* '' */ 61 | .icon-note-beamed:before { content: '\e803'; } /* '' */ 62 | .icon-upload-cloud:before { content: '\e804'; } /* '' */ 63 | .icon-music:before { content: '\e805'; } /* '' */ 64 | .icon-plus:before { content: '\e806'; } /* '' */ 65 | .icon-bookmark:before { content: '\e807'; } /* '' */ 66 | .icon-chat:before { content: '\e808'; } /* '' */ 67 | .icon-bell:before { content: '\e809'; } /* '' */ 68 | .icon-light-down:before { content: '\e80a'; } /* '' */ 69 | .icon-basket:before { content: '\e80b'; } /* '' */ 70 | .icon-down:before { content: '\e80c'; } /* '' */ 71 | .icon-left-dir:before { content: '\e80d'; } /* '' */ 72 | .icon-left-circled:before { content: '\e80e'; } /* '' */ 73 | .icon-search:before { content: '\e80f'; } /* '' */ 74 | .icon-mail:before { content: '\e810'; } /* '' */ 75 | .icon-heart:before { content: '\e811'; } /* '' */ 76 | .icon-flashlight:before { content: '\e812'; } /* '' */ 77 | .icon-heart-empty:before { content: '\e813'; } /* '' */ 78 | .icon-star:before { content: '\e814'; } /* '' */ 79 | .icon-star-empty:before { content: '\e815'; } /* '' */ 80 | .icon-user:before { content: '\e816'; } /* '' */ 81 | .icon-users:before { content: '\e817'; } /* '' */ 82 | .icon-user-add:before { content: '\e818'; } /* '' */ 83 | .icon-video:before { content: '\e819'; } /* '' */ 84 | .icon-camera:before { content: '\e81a'; } /* '' */ 85 | .icon-picture:before { content: '\e81b'; } /* '' */ 86 | .icon-layout:before { content: '\e81c'; } /* '' */ 87 | .icon-check:before { content: '\e81d'; } /* '' */ 88 | .icon-tag:before { content: '\e81e'; } /* '' */ 89 | .icon-cancel:before { content: '\e81f'; } /* '' */ 90 | .icon-eye:before { content: '\e820'; } /* '' */ 91 | .icon-lock-open:before { content: '\e821'; } /* '' */ 92 | .icon-menu:before { content: '\e822'; } /* '' */ 93 | .icon-lock:before { content: '\e823'; } /* '' */ 94 | .icon-attach:before { content: '\e824'; } /* '' */ 95 | .icon-link:before { content: '\e825'; } /* '' */ 96 | .icon-home:before { content: '\e826'; } /* '' */ 97 | .icon-back:before { content: '\e827'; } /* '' */ 98 | .icon-info-circled:before { content: '\e828'; } /* '' */ 99 | .icon-info:before { content: '\e829'; } /* '' */ 100 | .icon-help-circled:before { content: '\e82a'; } /* '' */ 101 | .icon-help:before { content: '\e82b'; } /* '' */ 102 | .icon-minus-circled:before { content: '\e82c'; } /* '' */ 103 | .icon-minus:before { content: '\e82d'; } /* '' */ 104 | .icon-plus-squared:before { content: '\e82e'; } /* '' */ 105 | .icon-plus-circled:before { content: '\e82f'; } /* '' */ 106 | .icon-minus-squared:before { content: '\e830'; } /* '' */ 107 | .icon-bookmarks:before { content: '\e831'; } /* '' */ 108 | .icon-flag:before { content: '\e832'; } /* '' */ 109 | .icon-thumbs-up:before { content: '\e833'; } /* '' */ 110 | .icon-upload:before { content: '\e834'; } /* '' */ 111 | .icon-thumbs-down:before { content: '\e835'; } /* '' */ 112 | .icon-download:before { content: '\e836'; } /* '' */ 113 | .icon-reply:before { content: '\e837'; } /* '' */ 114 | .icon-reply-all:before { content: '\e838'; } /* '' */ 115 | .icon-forward:before { content: '\e839'; } /* '' */ 116 | .icon-quote:before { content: '\e83a'; } /* '' */ 117 | .icon-code:before { content: '\e83b'; } /* '' */ 118 | .icon-export:before { content: '\e83c'; } /* '' */ 119 | .icon-pencil:before { content: '\e83d'; } /* '' */ 120 | .icon-feather:before { content: '\e83e'; } /* '' */ 121 | .icon-print:before { content: '\e83f'; } /* '' */ 122 | .icon-retweet:before { content: '\e840'; } /* '' */ 123 | .icon-keyboard:before { content: '\e841'; } /* '' */ 124 | .icon-comment:before { content: '\e842'; } /* '' */ 125 | .icon-book:before { content: '\e843'; } /* '' */ 126 | .icon-book-open:before { content: '\e844'; } /* '' */ 127 | .icon-newspaper:before { content: '\e845'; } /* '' */ 128 | .icon-doc-text-inv:before { content: '\e846'; } /* '' */ 129 | .icon-doc-text:before { content: '\e847'; } /* '' */ 130 | .icon-doc-landscape:before { content: '\e848'; } /* '' */ 131 | .icon-doc:before { content: '\e849'; } /* '' */ 132 | .icon-trash:before { content: '\e84a'; } /* '' */ 133 | .icon-cup:before { content: '\e84b'; } /* '' */ 134 | .icon-compass:before { content: '\e84c'; } /* '' */ 135 | .icon-direction:before { content: '\e84d'; } /* '' */ 136 | .icon-map:before { content: '\e84e'; } /* '' */ 137 | .icon-location:before { content: '\e84f'; } /* '' */ 138 | .icon-address:before { content: '\e850'; } /* '' */ 139 | .icon-vcard:before { content: '\e851'; } /* '' */ 140 | .icon-alert:before { content: '\e852'; } /* '' */ 141 | .icon-attention:before { content: '\e853'; } /* '' */ 142 | .icon-folder:before { content: '\e854'; } /* '' */ 143 | .icon-archive:before { content: '\e855'; } /* '' */ 144 | .icon-box:before { content: '\e856'; } /* '' */ 145 | .icon-rss:before { content: '\e857'; } /* '' */ 146 | .icon-phone:before { content: '\e858'; } /* '' */ 147 | .icon-cog:before { content: '\e859'; } /* '' */ 148 | .icon-tools:before { content: '\e85a'; } /* '' */ 149 | .icon-share:before { content: '\e85b'; } /* '' */ 150 | .icon-shareable:before { content: '\e85c'; } /* '' */ 151 | .icon-bag:before { content: '\e85d'; } /* '' */ 152 | .icon-calendar:before { content: '\e85e'; } /* '' */ 153 | .icon-login:before { content: '\e85f'; } /* '' */ 154 | .icon-logout:before { content: '\e860'; } /* '' */ 155 | .icon-mic:before { content: '\e861'; } /* '' */ 156 | .icon-mute:before { content: '\e862'; } /* '' */ 157 | .icon-docs:before { content: '\e863'; } /* '' */ 158 | .icon-sound:before { content: '\e864'; } /* '' */ 159 | .icon-volume:before { content: '\e865'; } /* '' */ 160 | .icon-clock:before { content: '\e866'; } /* '' */ 161 | .icon-hourglass:before { content: '\e867'; } /* '' */ 162 | .icon-down-open-mini:before { content: '\e868'; } /* '' */ 163 | .icon-up-open:before { content: '\e869'; } /* '' */ 164 | .icon-right-open:before { content: '\e86a'; } /* '' */ 165 | .icon-left-open:before { content: '\e86b'; } /* '' */ 166 | .icon-down-open:before { content: '\e86c'; } /* '' */ 167 | .icon-right-circled:before { content: '\e86d'; } /* '' */ 168 | .icon-down-circled:before { content: '\e86e'; } /* '' */ 169 | .icon-up-circled:before { content: '\e86f'; } /* '' */ 170 | .icon-arrow-combo:before { content: '\e870'; } /* '' */ 171 | .icon-window:before { content: '\e871'; } /* '' */ 172 | .icon-publish:before { content: '\e872'; } /* '' */ 173 | .icon-popup:before { content: '\e873'; } /* '' */ 174 | .icon-resize-small:before { content: '\e874'; } /* '' */ 175 | .icon-resize-full:before { content: '\e875'; } /* '' */ 176 | .icon-block:before { content: '\e876'; } /* '' */ 177 | .icon-adjust:before { content: '\e877'; } /* '' */ 178 | .icon-light-up:before { content: '\e878'; } /* '' */ 179 | .icon-lamp:before { content: '\e879'; } /* '' */ 180 | .icon-left-open-mini:before { content: '\e87a'; } /* '' */ 181 | .icon-right-open-mini:before { content: '\e87b'; } /* '' */ 182 | .icon-up-open-mini:before { content: '\e87c'; } /* '' */ 183 | .icon-down-open-big:before { content: '\e87d'; } /* '' */ 184 | .icon-left-open-big:before { content: '\e87e'; } /* '' */ 185 | .icon-right-open-big:before { content: '\e87f'; } /* '' */ 186 | .icon-arrows-ccw:before { content: '\e880'; } /* '' */ 187 | .icon-cw:before { content: '\e881'; } /* '' */ 188 | .icon-ccw:before { content: '\e882'; } /* '' */ 189 | .icon-up-open-big:before { content: '\e883'; } /* '' */ 190 | .icon-level-down:before { content: '\e884'; } /* '' */ 191 | .icon-up-thin:before { content: '\e885'; } /* '' */ 192 | .icon-left-thin:before { content: '\e886'; } /* '' */ 193 | .icon-progress-1:before { content: '\e887'; } /* '' */ 194 | .icon-progress-2:before { content: '\e888'; } /* '' */ 195 | .icon-right-thin:before { content: '\e889'; } /* '' */ 196 | .icon-progress-3:before { content: '\e88a'; } /* '' */ 197 | .icon-target:before { content: '\e88b'; } /* '' */ 198 | .icon-palette:before { content: '\e88c'; } /* '' */ 199 | .icon-list:before { content: '\e88d'; } /* '' */ 200 | .icon-list-add:before { content: '\e88e'; } /* '' */ 201 | .icon-signal:before { content: '\e88f'; } /* '' */ 202 | .icon-level-up:before { content: '\e890'; } /* '' */ 203 | .icon-left:before { content: '\e891'; } /* '' */ 204 | .icon-shuffle:before { content: '\e892'; } /* '' */ 205 | .icon-trophy:before { content: '\e893'; } /* '' */ 206 | .icon-loop:before { content: '\e894'; } /* '' */ 207 | .icon-right:before { content: '\e895'; } /* '' */ 208 | .icon-battery:before { content: '\e896'; } /* '' */ 209 | .icon-back-in-time:before { content: '\e897'; } /* '' */ 210 | .icon-switch:before { content: '\e898'; } /* '' */ 211 | .icon-up:before { content: '\e899'; } /* '' */ 212 | .icon-down-dir:before { content: '\e89a'; } /* '' */ 213 | .icon-play:before { content: '\e89b'; } /* '' */ 214 | .icon-monitor:before { content: '\e89c'; } /* '' */ 215 | .icon-mobile:before { content: '\e89d'; } /* '' */ 216 | .icon-stop:before { content: '\e89e'; } /* '' */ 217 | .icon-right-dir:before { content: '\e89f'; } /* '' */ 218 | .icon-pause:before { content: '\e8a0'; } /* '' */ 219 | .icon-network:before { content: '\e8a1'; } /* '' */ 220 | .icon-cd:before { content: '\e8a2'; } /* '' */ 221 | .icon-record:before { content: '\e8a3'; } /* '' */ 222 | .icon-up-dir:before { content: '\e8a4'; } /* '' */ 223 | .icon-down-bold:before { content: '\e8a5'; } /* '' */ 224 | .icon-to-end:before { content: '\e8a6'; } /* '' */ 225 | .icon-inbox:before { content: '\e8a7'; } /* '' */ 226 | .icon-install:before { content: '\e8a8'; } /* '' */ 227 | .icon-to-start:before { content: '\e8a9'; } /* '' */ 228 | .icon-left-bold:before { content: '\e8aa'; } /* '' */ 229 | .icon-right-bold:before { content: '\e8ab'; } /* '' */ 230 | .icon-fast-forward:before { content: '\e8ac'; } /* '' */ 231 | .icon-globe:before { content: '\e8ad'; } /* '' */ 232 | .icon-cloud:before { content: '\e8ae'; } /* '' */ 233 | .icon-fast-backward:before { content: '\e8af'; } /* '' */ 234 | .icon-down-thin:before { content: '\e8b0'; } /* '' */ 235 | .icon-progress-0:before { content: '\e8b1'; } /* '' */ 236 | .icon-up-bold:before { content: '\e8b2'; } /* '' */ 237 | .icon-cloud-thunder:before { content: '\e8b3'; } /* '' */ 238 | .icon-chart-area:before { content: '\e8b4'; } /* '' */ 239 | .icon-chart-bar:before { content: '\e8b5'; } /* '' */ 240 | .icon-flow-tree:before { content: '\e8b6'; } /* '' */ 241 | .icon-flow-line:before { content: '\e8b7'; } /* '' */ 242 | .icon-vimeo:before { content: '\e8b8'; } /* '' */ 243 | .icon-flickr-circled:before { content: '\e8b9'; } /* '' */ 244 | .icon-lastfm:before { content: '\e8ba'; } /* '' */ 245 | .icon-lastfm-circled:before { content: '\e8bb'; } /* '' */ 246 | .icon-vkontakte:before { content: '\e8bc'; } /* '' */ 247 | .icon-behance:before { content: '\e8bd'; } /* '' */ 248 | .icon-mixi:before { content: '\e8be'; } /* '' */ 249 | .icon-stumbleupon:before { content: '\e8bf'; } /* '' */ 250 | .icon-stumbleupon-circled:before { content: '\e8c0'; } /* '' */ 251 | .icon-flickr:before { content: '\e8c1'; } /* '' */ 252 | .icon-github-circled:before { content: '\e8c2'; } /* '' */ 253 | .icon-flow-cascade:before { content: '\e8c3'; } /* '' */ 254 | .icon-flow-branch:before { content: '\e8c4'; } /* '' */ 255 | .icon-chart-line:before { content: '\e8c5'; } /* '' */ 256 | .icon-chart-pie:before { content: '\e8c6'; } /* '' */ 257 | .icon-erase:before { content: '\e8c7'; } /* '' */ 258 | .icon-key:before { content: '\e8c8'; } /* '' */ 259 | .icon-github:before { content: '\e8c9'; } /* '' */ 260 | .icon-dribbble-circled:before { content: '\e8ca'; } /* '' */ 261 | .icon-picasa:before { content: '\e8cb'; } /* '' */ 262 | .icon-dribbble:before { content: '\e8cc'; } /* '' */ 263 | .icon-infinity:before { content: '\e8cd'; } /* '' */ 264 | .icon-magnet:before { content: '\e8ce'; } /* '' */ 265 | .icon-bucket:before { content: '\e8cf'; } /* '' */ 266 | .icon-linkedin-circled:before { content: '\e8d0'; } /* '' */ 267 | .icon-paypal:before { content: '\e8d1'; } /* '' */ 268 | .icon-sina-weibo:before { content: '\e8d2'; } /* '' */ 269 | .icon-linkedin:before { content: '\e8d3'; } /* '' */ 270 | .icon-cc-zero:before { content: '\e8d4'; } /* '' */ 271 | .icon-drive:before { content: '\e8d5'; } /* '' */ 272 | .icon-brush:before { content: '\e8d6'; } /* '' */ 273 | .icon-dot-3:before { content: '\e8d7'; } /* '' */ 274 | .icon-database:before { content: '\e8d8'; } /* '' */ 275 | .icon-cc-pd:before { content: '\e8d9'; } /* '' */ 276 | .icon-tumblr-circled:before { content: '\e8da'; } /* '' */ 277 | .icon-renren:before { content: '\e8db'; } /* '' */ 278 | .icon-skype-circled:before { content: '\e8dc'; } /* '' */ 279 | .icon-tumblr:before { content: '\e8dd'; } /* '' */ 280 | .icon-cc-nd:before { content: '\e8de'; } /* '' */ 281 | .icon-megaphone:before { content: '\e8df'; } /* '' */ 282 | .icon-dot-2:before { content: '\e8e0'; } /* '' */ 283 | .icon-dot:before { content: '\e8e1'; } /* '' */ 284 | .icon-clipboard:before { content: '\e8e2'; } /* '' */ 285 | .icon-cc-sa:before { content: '\e8e3'; } /* '' */ 286 | .icon-pinterest-circled:before { content: '\e8e4'; } /* '' */ 287 | .icon-cc-remix:before { content: '\e8e5'; } /* '' */ 288 | .icon-thermometer:before { content: '\e8e6'; } /* '' */ 289 | .icon-soundcloud:before { content: '\e8e7'; } /* '' */ 290 | .icon-cc-share:before { content: '\e8e8'; } /* '' */ 291 | .icon-google-circles:before { content: '\e8e9'; } /* '' */ 292 | .icon-skype:before { content: '\e8ea'; } /* '' */ 293 | .icon-flattr:before { content: '\e8eb'; } /* '' */ 294 | .icon-cc-nc-jp:before { content: '\e8ec'; } /* '' */ 295 | .icon-cc-nc-eu:before { content: '\e8ed'; } /* '' */ 296 | .icon-cc-nc:before { content: '\e8ee'; } /* '' */ 297 | .icon-cc-by:before { content: '\e8ef'; } /* '' */ 298 | .icon-cc:before { content: '\e8f0'; } /* '' */ 299 | .icon-traffic-cone:before { content: '\e8f1'; } /* '' */ 300 | .icon-gauge:before { content: '\e8f2'; } /* '' */ 301 | .icon-rocket:before { content: '\e8f3'; } /* '' */ 302 | .icon-flow-parallel:before { content: '\e8f4'; } /* '' */ 303 | .icon-vimeo-circled:before { content: '\e8f5'; } /* '' */ 304 | .icon-twitter:before { content: '\e8f6'; } /* '' */ 305 | .icon-twitter-circled:before { content: '\e8f7'; } /* '' */ 306 | .icon-facebook:before { content: '\e8f8'; } /* '' */ 307 | .icon-facebook-circled:before { content: '\e8f9'; } /* '' */ 308 | .icon-facebook-squared:before { content: '\e8fa'; } /* '' */ 309 | .icon-gplus:before { content: '\e8fb'; } /* '' */ 310 | .icon-gplus-circled:before { content: '\e8fc'; } /* '' */ 311 | .icon-pinterest:before { content: '\e8fd'; } /* '' */ 312 | .icon-evernote:before { content: '\e8fe'; } /* '' */ 313 | .icon-dropbox:before { content: '\e8ff'; } /* '' */ 314 | .icon-instagram:before { content: '\e900'; } /* '' */ 315 | .icon-qq:before { content: '\e901'; } /* '' */ 316 | .icon-spotify-circled:before { content: '\e902'; } /* '' */ 317 | .icon-spotify:before { content: '\e903'; } /* '' */ 318 | .icon-rdio-circled:before { content: '\e904'; } /* '' */ 319 | .icon-rdio:before { content: '\e905'; } /* '' */ 320 | .icon-smashing:before { content: '\e906'; } /* '' */ 321 | .icon-sweden:before { content: '\e907'; } /* '' */ 322 | .icon-db-shape:before { content: '\e908'; } /* '' */ 323 | .icon-logo-db:before { content: '\e909'; } /* '' */ 324 | .icon-tape:before { content: '\e90a'; } /* '' */ 325 | .icon-flash:before { content: '\e90b'; } /* '' */ 326 | .icon-graduation-cap:before { content: '\e90c'; } /* '' */ 327 | .icon-language:before { content: '\e90d'; } /* '' */ 328 | .icon-flight:before { content: '\e90e'; } /* '' */ 329 | .icon-moon:before { content: '\e90f'; } /* '' */ 330 | .icon-paper-plane:before { content: '\e910'; } /* '' */ 331 | .icon-ticket:before { content: '\e911'; } /* '' */ 332 | .icon-leaf:before { content: '\e912'; } /* '' */ 333 | .icon-lifebuoy:before { content: '\e913'; } /* '' */ 334 | .icon-droplet:before { content: '\e914'; } /* '' */ 335 | .icon-water:before { content: '\e915'; } /* '' */ 336 | .icon-air:before { content: '\e916'; } /* '' */ 337 | .icon-mouse:before { content: '\e917'; } /* '' */ 338 | .icon-briefcase:before { content: '\e918'; } /* '' */ 339 | .icon-credit-card:before { content: '\e919'; } /* '' */ 340 | .icon-floppy:before { content: '\e91a'; } /* '' */ 341 | .icon-suitcase:before { content: '\e91b'; } /* '' */ 342 | -------------------------------------------------------------------------------- /src/scss/_global.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Global Settigns 3 | // -------------------------------------------------- 4 | 5 | * { 6 | box-sizing: border-box; 7 | } 8 | 9 | .container { 10 | @include container() 11 | } 12 | 13 | .error { 14 | color: $errorColor; 15 | } 16 | 17 | .success { 18 | color: $successColor; 19 | } -------------------------------------------------------------------------------- /src/scss/_reset.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Basic Global Reset 3 | // -------------------------------------------------- 4 | 5 | /* 6 | Based on the Eric Meyer CSS Reset v2.0 (http://meyerweb.com/eric/tools/css/reset/) 7 | */ 8 | 9 | html, body, div, span, applet, object, iframe, 10 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 11 | a, abbr, acronym, address, big, cite, code, 12 | del, dfn, em, img, ins, kbd, q, s, samp, 13 | small, strike, strong, sub, sup, tt, var, 14 | b, u, i, center, 15 | dl, dt, dd, ol, ul, li, 16 | fieldset, form, label, legend, 17 | table, caption, tbody, tfoot, thead, tr, th, td, 18 | article, aside, canvas, details, embed, 19 | figure, figcaption, footer, header, hgroup, 20 | menu, nav, output, ruby, section, summary, 21 | time, mark, audio, video { 22 | margin: 0; 23 | padding: 0; 24 | border: 0; 25 | font-size: 100%; 26 | font: inherit; 27 | vertical-align: top; 28 | } 29 | 30 | // HTML5 display-role reset for older browsers 31 | 32 | article, aside, details, figcaption, figure, 33 | footer, header, hgroup, menu, nav, section { 34 | display: block; 35 | } 36 | body { 37 | line-height: 1; 38 | } 39 | ol, ul { 40 | list-style: none; 41 | } 42 | blockquote, q { 43 | quotes: none; 44 | } 45 | blockquote:before, blockquote:after, 46 | q:before, q:after { 47 | content: ''; 48 | content: none; 49 | } 50 | table { 51 | border-collapse: collapse; 52 | border-spacing: 0; 53 | } -------------------------------------------------------------------------------- /src/scss/_type.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Typography 3 | // -------------------------------------------------- 4 | @mixin heading-font { 5 | font-family: $headingFont; 6 | } 7 | 8 | @mixin paragraph-font { 9 | font-family: $paragraphFont; 10 | } 11 | 12 | @mixin h1 { 13 | @include heading-font(); 14 | @include font-size(40); 15 | } 16 | 17 | @mixin h2 { 18 | @include heading-font(); 19 | @include font-size(32); 20 | } 21 | 22 | @mixin h3 { 23 | @include heading-font(); 24 | @include font-size(26); 25 | } 26 | 27 | @mixin h4 { 28 | @include heading-font(); 29 | @include font-size(22); 30 | } 31 | 32 | @mixin h5 { 33 | @include heading-font(); 34 | @include font-size(20); 35 | } 36 | 37 | @mixin h6 { 38 | @include heading-font(); 39 | @include font-size(16); 40 | } 41 | 42 | @mixin p { 43 | @include paragraph-font(); 44 | @include font-size(16); 45 | } 46 | 47 | body { 48 | color: $textColor; 49 | font-family: $paragraphFont; 50 | -webkit-font-smoothing: antialiased; 51 | 52 | font-size: 100%; 53 | } 54 | 55 | // Headings 56 | // ------------------- 57 | 58 | h1, 59 | h2, 60 | h3, 61 | h4, 62 | h5, 63 | h6 { 64 | 65 | } 66 | 67 | h1 { 68 | @include h1(); 69 | } 70 | 71 | h2 { 72 | @include h2(); 73 | } 74 | 75 | h3 { 76 | @include h3(); 77 | } 78 | 79 | h4 { 80 | @include h4(); 81 | } 82 | 83 | h5 { 84 | @include h5(); 85 | } 86 | 87 | h6 { 88 | @include h6(); 89 | } 90 | 91 | // Paragraph 92 | // ------------------- 93 | 94 | p { 95 | @include p(); 96 | margin: 1em 0; 97 | } 98 | 99 | a { 100 | color: $primaryColor; 101 | text-decoration: none; 102 | 103 | &:hover { 104 | text-decoration: underline; 105 | } 106 | } 107 | 108 | // Basic Elements 109 | // ------------------- 110 | 111 | abbr, 112 | acronym { 113 | border-bottom: 1px dotted; 114 | cursor: help; 115 | } 116 | 117 | address { 118 | font-size: 1rem; 119 | font-style: italic; 120 | } 121 | 122 | blockquote { 123 | margin: 1em 0; 124 | padding: 0 0 0 2em; 125 | } 126 | 127 | cite { 128 | font-style: italic; 129 | } 130 | 131 | code { 132 | font-size: 0.96rem; 133 | font-family: monospace; 134 | background: $baseColor; 135 | border: 1px solid darken($baseColor, 5%); 136 | padding: 0.125em 0.25em; 137 | line-height: 150%; 138 | } 139 | 140 | em, 141 | i { 142 | font-style: italic; 143 | } 144 | 145 | strong, 146 | b { 147 | font-weight: bold; 148 | } 149 | 150 | hr { 151 | outline: none; 152 | border: none; 153 | margin: 1em 0; 154 | padding: 0; 155 | border-top: 1px solid $baseColor; 156 | } 157 | 158 | ol, 159 | ul { 160 | margin: 1em 0; 161 | padding: 0 0 0 2em; 162 | 163 | li { 164 | font-size: 1rem; 165 | list-style-position: outside; 166 | } 167 | } 168 | ul li { list-style: disc; } 169 | ol li { list-style: decimal; } 170 | 171 | // Form 172 | // ------------------- 173 | 174 | form { 175 | margin: 1em 0; 176 | } 177 | 178 | // Descriptions 179 | // ------------------- 180 | 181 | dl { 182 | margin: 1em 0; 183 | 184 | dt { 185 | font-weight: bold; 186 | } 187 | dd { 188 | margin: 0 0 0.5em; 189 | } 190 | } 191 | 192 | // Tables 193 | // ------------------- 194 | 195 | table { 196 | width: 100%; 197 | margin: 1em 0; 198 | 199 | th { 200 | padding: 0.5em; 201 | border: 1px solid $baseColor; 202 | background: lighten($baseColor, 3.5%); 203 | text-align: left; 204 | font-weight: bold; 205 | } 206 | td { 207 | padding: 0.5em; 208 | border: 1px solid $baseColor; 209 | } 210 | } 211 | -------------------------------------------------------------------------------- /src/scss/_variables.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Variables 3 | // -------------------------------------------------- 4 | 5 | // Fonts 6 | // ------------------- 7 | 8 | $headingFont: 'Trebuchet MS', sans-serif; 9 | $paragraphFont: 'Helvetica', sans-serif; 10 | 11 | 12 | // Colours 13 | // ------------------- 14 | 15 | $primaryColor: #69b5e1; 16 | $secondaryColor: #9d6ab4; 17 | 18 | $textColor: #000000; 19 | $baseColor: #EEEEEE; 20 | 21 | $socialFacebook: #3B5998; 22 | $socialTwitter: #00ACED; 23 | $socialInstagram: #3F729B; 24 | $socialYoutube: #CD201F; 25 | 26 | $errorColor: #AA0000; 27 | $successColor: #00AA00; 28 | $baseFontSize: 16; 29 | 30 | // Breakpoints 31 | // ------------------- 32 | 33 | $breakpoints: ( 34 | 'mobile': (max-width: 736px), 35 | 'tablet': (max-width: 1024px), 36 | 'desktop': (min-width: 1200px), 37 | ); 38 | 39 | // Include gutter on outside 40 | $gutterOnOutside: true; 41 | 42 | // Breakpoints Grid Settings 43 | // ------------------- 44 | 45 | $grid-settings: ( 46 | base: ( 47 | container-columns: 12, 48 | gutter: 1%, 49 | max-width: 1100px, 50 | ), 51 | desktop: ( 52 | container-columns: 12, 53 | gutter: 1%, 54 | max-width: 1200px, 55 | ), 56 | tablet: ( 57 | container-columns: 12, 58 | gutter: 5%, 59 | ), 60 | mobile: ( 61 | container-columns: 1, 62 | gutter: 5%, 63 | ) 64 | ); 65 | -------------------------------------------------------------------------------- /src/scss/base.scss: -------------------------------------------------------------------------------- 1 | @import 'reset.scss'; 2 | @import 'variables.scss'; 3 | 4 | @import 'mixins/*'; 5 | 6 | @import 'type.scss'; 7 | @import 'fonts.scss'; 8 | @import 'global.scss'; 9 | 10 | @import 'components/*'; 11 | @import 'partials/*'; -------------------------------------------------------------------------------- /src/scss/components/_buttons.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Buttons 3 | // -------------------------------------------------- 4 | button, 5 | .button, 6 | [class^="button"], 7 | input[type="button"], 8 | input[type="submit"], 9 | input[type="reset"] { 10 | display: inline-block; 11 | padding: 0.625em 1.25em; 12 | margin: 0 0 0.625em; 13 | border: none; 14 | appearance: none; 15 | outline: none; 16 | line-height: 100%; 17 | cursor: pointer; 18 | text-decoration: none; 19 | font-family: inherit; 20 | font-size: 1rem; 21 | 22 | @include button-style($baseColor, $textColor); 23 | 24 | &.huge{ 25 | font-size: 1.25rem; 26 | font-weight: 600; 27 | padding: 0.625em 2em; 28 | } 29 | } 30 | 31 | button.primary, 32 | .button-primary, 33 | input.button-primary { 34 | @include button-style($primaryColor, white); 35 | } 36 | 37 | button.secondary, 38 | .button-secondary, 39 | input.button-secondary { 40 | @include button-style($secondaryColor, white); 41 | } 42 | 43 | button.facebook, 44 | .button-facebook, 45 | input.button-facebook { 46 | @include button-style($socialFacebook, white); 47 | padding-left: 0.6em; 48 | 49 | &.disabled { 50 | background: #9099ae; 51 | color: white; 52 | cursor: default; 53 | } 54 | } 55 | 56 | button.twitter, 57 | .button-twitter, 58 | input.button-twitter { 59 | @include button-style($socialTwitter, white); 60 | 61 | &.disabled { 62 | background-color: #aebcc7; 63 | color: white; 64 | cursor: default; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/scss/components/_forms.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Forms 3 | // -------------------------------------------------- 4 | 5 | 6 | // Basic Styles 7 | // ------------------- 8 | 9 | form { 10 | display: block; 11 | } 12 | 13 | fieldset { 14 | display: block; 15 | margin: 1.25em 0; 16 | padding: 0; 17 | } 18 | 19 | legend { 20 | display: block; 21 | width: 100%; 22 | margin: 0 0 1em 0; 23 | font-weight: bold; 24 | border-bottom: 1px solid $baseColor; 25 | } 26 | 27 | label { 28 | display: block; 29 | margin: 0 0 0.25em; 30 | font-weight: bold; 31 | } 32 | 33 | // Form Elements 34 | // ------------------- 35 | 36 | textarea, 37 | input[type="text"], 38 | input[type="password"], 39 | input[type="datetime"], 40 | input[type="datetime-local"], 41 | input[type="date"], 42 | input[type="month"], 43 | input[type="time"], 44 | input[type="week"], 45 | input[type="number"], 46 | input[type="email"], 47 | input[type="url"], 48 | input[type="search"], 49 | input[type="tel"], 50 | input[type="image"], 51 | input[type="color"] { 52 | display: block; 53 | padding: 0.5em; 54 | margin: 0 0 0.625em; 55 | vertical-align: middle; 56 | border: 1px solid $baseColor; 57 | outline: none; 58 | font-family: inherit; 59 | font-size: 1rem; 60 | border-radius: 0; 61 | -webkit-appearance: none; 62 | -moz-appearance: none; 63 | 64 | &:hover { 65 | border: 1px solid darken($baseColor, 3%); 66 | } 67 | &:focus { 68 | border: 1px solid darken($baseColor, 5%); 69 | } 70 | } 71 | 72 | // Form Buttons 73 | 74 | input[type="submit"], 75 | input[type="button"] { 76 | display: block; 77 | border-radius: 0; 78 | } 79 | input[type="file"] { 80 | padding: 0.125em; 81 | margin: 0 0 0.625em; 82 | font-family: inherit; 83 | font-size: 1rem; 84 | -webkit-appearance: none; 85 | border-radius: 0; 86 | line-height: 100%; 87 | } 88 | 89 | // Misc Additions 90 | 91 | textarea { 92 | padding: 0.25em; // to make the textarea more writeable 93 | } 94 | 95 | // Bonus HTML5 Elements 96 | 97 | progress, 98 | meter { 99 | padding: 0.125em; 100 | margin: 0 0 0.625em; 101 | font-family: inherit; 102 | font-size: 1rem; 103 | } 104 | -------------------------------------------------------------------------------- /src/scss/components/_menus.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Navigation 3 | // -------------------------------------------------- 4 | 5 | 6 | // Primary (Horiztonal) Navigation 7 | // ------------------- 8 | 9 | ul[class*="menu-"] { 10 | margin: 0; 11 | padding: 0; 12 | 13 | li { 14 | position: relative; 15 | list-style: none; 16 | 17 | a { 18 | display: inline-block; 19 | } 20 | } 21 | } 22 | 23 | ul.menu-secondary { 24 | 25 | li { 26 | display: block; 27 | 28 | a { 29 | display: block; 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/scss/components/_tooltips.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Tooltips 3 | // -------------------------------------------------- 4 | 5 | [data-tooltip] { 6 | position: relative; 7 | height: 100%; 8 | cursor: pointer; 9 | display: inline-block; 10 | 11 | &:before, 12 | &:after { 13 | transition: all .2s ease-out; 14 | position: absolute; 15 | visibility: hidden; 16 | opacity: 0; 17 | pointer-events: none; 18 | } 19 | 20 | &:before { 21 | @include arrow-down(7px, $textColor); 22 | content: ''; 23 | top: 0; 24 | left: 50%; 25 | margin-left: -3.25px; 26 | z-index: 10001; 27 | bottom: -10px; 28 | } 29 | &:after { 30 | box-sizing: border-box; 31 | content: attr(data-tooltip); 32 | padding: 0.5em 0.75em; 33 | border-radius: 3px; 34 | font-size: 0.95em; 35 | z-index: 10000; 36 | left: 50%; 37 | bottom: 100%; 38 | margin-left: -7.5em; 39 | margin-top: 10px; 40 | width: 15em; 41 | line-height: 120%; 42 | background: $textColor; 43 | color: $baseColor; 44 | } 45 | &:hover:before, 46 | &:hover:after { 47 | visibility: visible; 48 | opacity: 1; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/scss/mixins/_grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid Functions 3 | // -------------------------------------------------- 4 | 5 | // Checks if gutter is set 6 | // Returns default gutter value if gutter is not set 7 | @function get-gutter($gutter, $default-gutter){ 8 | 9 | @if ($gutter == null) { 10 | @return $default-gutter; 11 | } @else { 12 | @return $gutter; 13 | } 14 | } 15 | 16 | // Checks if columns should be set to default columns 17 | @function get-columns($columns, $default-container-columns, $offset) { 18 | 19 | @if (($columns + $offset) > $default-container-columns) { 20 | @return $default-container-columns; 21 | } @else { 22 | @return $columns; 23 | } 24 | } 25 | 26 | @function get-offset($columns, $default-container-columns, $offset) { 27 | 28 | @if (($columns + $offset) > $default-container-columns) { 29 | @return 0; 30 | } @else { 31 | @return $offset; 32 | } 33 | } 34 | 35 | 36 | // 37 | // Grid 38 | // -------------------------------------------------- 39 | 40 | $base-container-columns: map-get(map-get($grid-settings, base), container-columns); 41 | $base-gutter: map-get(map-get($grid-settings, base), gutter); 42 | $base-max-width: map-get(map-get($grid-settings, base), max-width); 43 | 44 | @mixin container($max-width: $base-max-width) { 45 | 46 | // Build default base container 47 | max-width: $max-width; 48 | margin: { 49 | left: auto; 50 | right: auto; 51 | } 52 | @include clearfix(); 53 | 54 | // Loop through grid settings and build breakpoint container 55 | @each $breakpoint, $breakpoint-settings in $grid-settings { 56 | 57 | @if ($breakpoint != 'base') { 58 | $max-width: map-get($breakpoint-settings, max-width); 59 | 60 | @include respond-to($breakpoint) { 61 | 62 | @if ($max-width) { 63 | max-width: $max-width; 64 | } @else { 65 | // If max-width not specified use 100%; 66 | max-width: 100%; 67 | } 68 | } 69 | } 70 | } 71 | } 72 | 73 | // Builds columns 74 | @mixin build-column($columns, $container-columns, $offset, $gutter) { 75 | 76 | 77 | @if ($gutterOnOutside) { 78 | @include build-column-outside-gutter($columns, $container-columns, $offset, $gutter); 79 | } 80 | 81 | @else { 82 | @include build-column-no-outside-gutter($columns, $container-columns, $offset, $gutter); 83 | } 84 | } 85 | 86 | @mixin build-column-outside-gutter($columns, $container-columns, $offset, $gutter) { 87 | display: block; 88 | float: left; 89 | 90 | @if ($gutter == 0) { 91 | width: percentage($columns / $container-columns); 92 | margin-left: percentage($offset / $container-columns); 93 | margin-right: 0; 94 | } 95 | @else { 96 | width: percentage($columns / $container-columns) - $gutter * 2; 97 | margin-left: percentage($offset / $container-columns) + $gutter; 98 | margin-right: $gutter; 99 | } 100 | } 101 | 102 | @mixin build-column-no-outside-gutter($columns, $container-columns, $offset, $gutter) { 103 | display: block; 104 | float: left; 105 | 106 | @if ($columns == $container-columns) { 107 | $gutter: 0; 108 | } 109 | 110 | width: get-columns-width($columns, $container-columns, $offset, $gutter); 111 | margin-right: $gutter; 112 | 113 | @if ($offset > 0 && $offset < $container-columns) { 114 | margin-left: get-offset-width($offset, $container-columns, $offset, $gutter); 115 | } 116 | 117 | &:last-child { 118 | margin-right: 0; 119 | } 120 | } 121 | 122 | @function get-column-width($columns, $container-columns, $offset, $gutter) { 123 | $width: (100% - ($container-columns - 1) * $gutter) / $container-columns; 124 | 125 | @return $width; 126 | } 127 | 128 | @function get-columns-width($columns, $container-columns, $offset, $gutter) { 129 | 130 | $width: get-column-width($columns, $container-columns, $offset, $gutter); 131 | $columnsWidth: ($width * $columns) + $gutter * ($columns - 1); 132 | 133 | @return $columnsWidth; 134 | } 135 | 136 | @function get-offset-width($columns, $container-columns, $offset, $gutter) { 137 | 138 | $width: get-column-width($columns, $container-columns, $offset, $gutter); 139 | $columnsWidth: ($width * $columns) + $gutter * $columns; 140 | 141 | @return $columnsWidth; 142 | } 143 | 144 | @mixin omega() { 145 | 146 | margin-right: 0; 147 | 148 | @each $breakpoint, $breakpoint-settings in $grid-settings { 149 | 150 | @if ($breakpoint != 'base') { 151 | @include respond-to($breakpoint) { 152 | margin-right: 0; 153 | } 154 | } 155 | 156 | } 157 | } 158 | 159 | @mixin omega() { 160 | 161 | margin-right: 0; 162 | 163 | @each $breakpoint, $breakpoint-settings in $grid-settings { 164 | 165 | @if ($breakpoint != 'base') { 166 | @include respond-to($breakpoint) { 167 | margin-right: 0; 168 | } 169 | } 170 | 171 | } 172 | } 173 | 174 | @mixin columns($columns: $base-container-columns, $offset: 0, $gutter: null) { 175 | 176 | // Build default base columns 177 | $c-gutter: get-gutter($gutter, $base-gutter); 178 | @include build-column($columns, $base-container-columns, $offset, $c-gutter); 179 | 180 | 181 | // Build other breakpoint columns 182 | 183 | // Loop through grid settings and build breakpoint columns 184 | @each $breakpoint, $breakpoint-settings in $grid-settings { 185 | 186 | @if ($breakpoint != 'base') { 187 | 188 | $default-container-columns: map-get($breakpoint-settings, container-columns); 189 | $default-gutter: map-get($breakpoint-settings, gutter); 190 | 191 | $c-gutter: get-gutter($gutter, $default-gutter); 192 | $c-columns: get-columns($columns, $default-container-columns, $offset); 193 | $c-offset: get-offset($c-columns, $default-container-columns, $offset); 194 | 195 | @include respond-to($breakpoint) { 196 | 197 | @include build-column($c-columns, $default-container-columns, $c-offset, $c-gutter); 198 | } 199 | } 200 | } 201 | } 202 | 203 | 204 | @mixin responsive-columns($breakpoint, $columns, $offset: 0, $gutter: null) { 205 | 206 | $default-container-columns: map-get(map-get($grid-settings, $breakpoint), container-columns); 207 | $default-gutter: map-get(map-get($grid-settings, $breakpoint), gutter); 208 | 209 | @include respond-to($breakpoint) { 210 | 211 | $c-gutter: get-gutter($gutter, $default-gutter); 212 | @include build-column($columns, $default-container-columns, $offset, $c-gutter); 213 | } 214 | } -------------------------------------------------------------------------------- /src/scss/mixins/_helpers.scss: -------------------------------------------------------------------------------- 1 | // Custom Buttons 2 | // ------------------- 3 | 4 | @mixin button-style($customColor, $customTextColor){ 5 | background-color: $customColor; 6 | color: $customTextColor; 7 | 8 | &:hover { 9 | background-color: darken($customColor, 3%); 10 | text-decoration: none; 11 | } 12 | 13 | &:active { 14 | background: darken($customColor, 6%); 15 | } 16 | 17 | &.disabled { 18 | background-color: lighten($customColor, 2.5%); 19 | color: darken($customColor, 15%); 20 | cursor: default; 21 | } 22 | } 23 | 24 | // Breakpoints 25 | // -------------------------------------------------- 26 | 27 | @mixin respond-to($breakpoint) { 28 | @if map-has-key($breakpoints, $breakpoint) { 29 | @media #{inspect(map-get($breakpoints, $breakpoint))} { 30 | @content; 31 | } 32 | } 33 | 34 | @else { 35 | @error 'No value found for `#{$breakpoint}`. ' 36 | + 'Please make sure it is defined in `$breakpoints` map.'; 37 | } 38 | } 39 | 40 | // Shortcuts 41 | // ------------------- 42 | 43 | @mixin size($height, $width) { 44 | width: $width; 45 | height: $height; 46 | } 47 | 48 | @mixin hide-text() { 49 | font: 0/0 a; 50 | color: transparent; 51 | text-shadow: none; 52 | } 53 | 54 | @mixin clearfix { 55 | &:after { 56 | content: ""; 57 | display: table; 58 | clear: both; 59 | } 60 | } 61 | 62 | @mixin center() { 63 | position: absolute; 64 | top: 50%; 65 | left: 50%; 66 | transform: translate(-50%, -50%); 67 | } 68 | 69 | @mixin reset-center() { 70 | position: relative; 71 | top: auto; 72 | left: auto; 73 | transform: none; 74 | } 75 | 76 | @mixin center-vertically() { 77 | position: absolute; 78 | top: 50%; 79 | transform: translateY(-50%); 80 | } 81 | 82 | @mixin reset-center-vertically() { 83 | position: relative; 84 | top: auto; 85 | transform: none; 86 | } 87 | 88 | @mixin clearfix-float(){ 89 | float: left; 90 | width: 100%; 91 | } 92 | 93 | @mixin iconify($content){ 94 | content: $content; 95 | font-family: "entypo"; 96 | font-style: normal; 97 | font-weight: normal; 98 | speak: none; 99 | display: inline-block; 100 | text-decoration: inherit; 101 | width: 1em; 102 | margin-right: .2em; 103 | text-align: center; 104 | font-variant: normal; 105 | text-transform: none; 106 | line-height: 1em; 107 | margin-left: .2em; 108 | } 109 | 110 | @mixin placeholder { 111 | ::-webkit-input-placeholder {@content} 112 | :-moz-placeholder {@content} 113 | ::-moz-placeholder {@content} 114 | :-ms-input-placeholder {@content} 115 | } 116 | 117 | @mixin font-size($targetSize: 16) { 118 | font-size: $targetSize + px; 119 | font-size: ($targetSize / $baseFontSize) + rem; 120 | } 121 | 122 | @mixin line-height($targetSize: 16) { 123 | line-height: $targetSize + px; 124 | line-height: ($targetSize / $baseFontSize) + rem; 125 | } 126 | 127 | // Useful Visual Elements 128 | // ------------------- 129 | 130 | @mixin arrow-up($size: 5px, $color: #000) { 131 | width: 0; 132 | height: 0; 133 | border-left: $size solid transparent; 134 | border-right: $size solid transparent; 135 | border-bottom: $size solid $color; 136 | } 137 | @mixin arrow-down($size: 5px, $color: #000) { 138 | width: 0; 139 | height: 0; 140 | border-left: $size solid transparent; 141 | border-right: $size solid transparent; 142 | border-top: $size solid $color; 143 | } 144 | @mixin arrow-left($size: 5px, $color: #000) { 145 | width: 0; 146 | height: 0; 147 | border-top: $size solid transparent; 148 | border-bottom: $size solid transparent; 149 | border-right: $size solid $color; 150 | } 151 | @mixin arrow-right($size: 5px, $color: #000) { 152 | width: 0; 153 | height: 0; 154 | border-top: $size solid transparent; 155 | border-bottom: $size solid transparent; 156 | border-left: $size solid $color; 157 | } -------------------------------------------------------------------------------- /src/scss/partials/_footer.scss: -------------------------------------------------------------------------------- 1 | footer { 2 | @include columns(12); 3 | } -------------------------------------------------------------------------------- /src/scss/partials/_grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid 3 | // -------------------------------------------------- 4 | 5 | article.grid-examples { 6 | 7 | @include columns(12); 8 | 9 | .container { 10 | 11 | text-align: center; 12 | background: $baseColor; 13 | 14 | code { 15 | display: block; 16 | font-size: 0.94rem; 17 | background: none; 18 | border: none; 19 | } 20 | 21 | > code { 22 | padding: 20px; 23 | } 24 | } 25 | 26 | .box { 27 | position: relative; 28 | 29 | padding: 10px; 30 | height: 120px; 31 | margin-bottom: 2%; 32 | 33 | background: darken($baseColor, 5%); 34 | border: 1px solid darken($baseColor, 6%); 35 | 36 | @include respond-to('mobile') { 37 | height: auto; 38 | } 39 | 40 | &.-b1 { 41 | @include columns(3); 42 | } 43 | &.-b2 { 44 | @include columns(4); 45 | } 46 | &.-b3 { 47 | @include columns(5); 48 | } 49 | &.-b4 { 50 | @include columns(5, 2); 51 | } 52 | &.-b5 { 53 | @include columns(5); 54 | } 55 | &.-b6 { 56 | @include columns(9); 57 | 58 | code { 59 | padding-bottom: 10px; 60 | } 61 | 62 | .-b6-1, .-b6-2 { 63 | @include columns(6); 64 | height: 50px; 65 | background: darken($baseColor, 9%); 66 | border: 1px solid darken($baseColor, 10%); 67 | } 68 | } 69 | &.-b7 { 70 | @include columns(3); 71 | } 72 | 73 | &.-b8 { 74 | @include columns(9, 0, 10%); 75 | } 76 | &.-b9 { 77 | @include columns(3); 78 | } 79 | &.-b10, &.-b11 { 80 | @include columns(6); 81 | @include responsive-columns('mobile', 0.5); 82 | } 83 | &.-b12 { 84 | @include columns(5, 0, 0); 85 | @include responsive-columns('mobile', 0.4, 0, 0); 86 | } 87 | &.-b13 { 88 | @include columns(7, 0, 0); 89 | @include responsive-columns('mobile', 0.6, 0, 0); 90 | } 91 | 92 | &.-tall { 93 | @include respond-to('mobile') { 94 | height: 200px; 95 | } 96 | 97 | code { 98 | @include respond-to('mobile') { 99 | font-size: 0.8rem; 100 | } 101 | } 102 | } 103 | } 104 | } --------------------------------------------------------------------------------