This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "always_show_minimap_viewport": true, | |
| "auto_complete": false, | |
| "ensure_newline_at_eof_on_save": true, | |
| "hot_exit": false, | |
| "remember_open_files": false, | |
| "scroll_past_end": true, | |
| "tab_size": 2, | |
| "translate_tabs_to_spaces": true, | |
| "trim_trailing_white_space_on_save": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| The box: | |
| Make a box, give it a background image. Set | |
| its position to relative | |
| */ | |
| .box { | |
| position: relative; | |
| background: url('...') center center no-repeat; | |
| background-size: cover; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <!-- | |
| BEFORE YOU START, DOWNLOAD BOOTSTRAP FROM http://getbootstrap.com/getting-started/ | |
| AND ADD THAT FOLDER TO YOUR PROJECT DIRECTORY. I usually prefer to keep assets like | |
| this in a separate folder called "vendor". This helps remind me that the files within | |
| shouldn't be manipulated directly, but are just there for me to use as-is. | |
| --> | |
| <head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* selector syntax */ | |
| tag { ... } | |
| .class { ... } | |
| #id { ... } | |
| nested selector { ... } | |
| .multiple.class.selector { ... } | |
| /* backgrounds */ | |
| selector { | |
| background-color: #fe4322; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.</p> | |
| <p>Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.</p> | |
| <p>Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <button class="toggle-nav">Clicky</button> | |
| <nav class="main-navigation"> | |
| <ul> | |
| <li><a href="">Home</a></li> | |
| <li><a href="">About</a></li> | |
| <li><a href="">Contact</a></li> | |
| <li><a href="">Search</a></li> | |
| </ul> | |
| </nav> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ---------------------------------------- | |
| Start by writing all the styles you need | |
| to make the page in the "narrowest" (~300px) | |
| viewport look the way it should. | |
| No media query is needed here, and it's | |
| important to remember that all of the styles | |
| you write will be effective for all possible | |
| viewports, unless you override them later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var filterCoffeeScript = require('broccoli-coffee') | |
| var filterTemplates = require('broccoli-template') | |
| var uglifyJavaScript = require('broccoli-uglify-js') | |
| var compileES6 = require('broccoli-es6-concatenator') | |
| var compileSass = require('broccoli-sass') | |
| var pickFiles = require('broccoli-funnel') | |
| var mergeTrees = require('broccoli-merge-trees') | |
| var findBowerTrees = require('broccoli-bower') | |
| var env = require('broccoli-env').getEnv() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (C) 2011 by Yehuda Katz | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .map-canvas | |
| position: relative | |
| &.is-disabled::after | |
| content: "" | |
| position: absolute | |
| top: 0 | |
| left: 0 | |
| bottom: 0 | |
| right: 0 |