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
| /** | |
| * Default Grunt File | |
| * @version 0.1.0 | |
| * @description Concatinates sass and outputs production and dev, lints the production CSS, smushes images | |
| */ | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ |
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
| { | |
| "always_show_minimap_viewport": true, | |
| "auto_find_in_selection": true, | |
| "bold_folder_labels": false, | |
| "close_windows_when_empty": false, | |
| "color_scheme": "Packages/User/GrandsonOfObsidian (SL).tmTheme", | |
| "copy_with_empty_selection": false, | |
| "create_window_at_startup": false, | |
| "dictionary": "Packages/Language - English/en_GB.dic", | |
| "drag_text": false, |
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
| $zindex: ( | |
| modal : 9000, | |
| overlay : 8000, | |
| dropdown : 7000, | |
| header : 6000, | |
| footer : 5000 | |
| ); | |
| .header { | |
| z-index: map-get($zindex, header); |
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
| // JQuery Plugin Starter | |
| // ---------------------------------------------------- | |
| // Setup a namespace we can use for data, events etc. | |
| // Wraps methods internally with support for arguments. | |
| // | |
| // $('div').myplugin(); //call init | |
| // $('div').myplugin({color:'green'}).fadeIn(); //init with options and chained | |
| // $('div').myplugin('destroy'); //custom method | |
| // $('div').myplugin('custom',10,2); //custom method with arguments | |
| // |
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
| { | |
| "always_show_minimap_viewport": true, | |
| "auto_find_in_selection": true, | |
| "bold_folder_labels": false, | |
| "close_windows_when_empty": false, | |
| "copy_with_empty_selection": false, | |
| "create_window_at_startup": false, | |
| "dictionary": "Packages/Language - English/en_GB.dic", | |
| "drag_text": false, | |
| "file_exclude_patterns": |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| /** | |
| * CSSW Grid System | |
| * Based off https://github.com/csswizardry/csswizardry-grids | |
| * | |
| * Modified to change word based class system to numbered & additional tidyup | |
| */ | |
| $class-type: if($use-silent-classes, unquote("%"), unquote(".")); | |
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
| window.onload = function() { | |
| var placeholder = $('.progressive-media'), | |
| small = $('.progressive-media__small'); | |
| var img = new Image(); | |
| img.src = small.src; | |
| img.onload = function () { | |
| small.classList.add('loaded'); | |
| }; |
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
| .flex-grid { | |
| display: flex; | |
| flex-wrap: wrap; | |
| margin: -0.5em; | |
| & > * { | |
| flex: 1 0 5em; | |
| margin: 0.5em; | |
| } | |
| } |