Guidelines for basic user interface organization
This file contains 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
/* | |
* Cleaner Symbolset styles | |
* Edited for front-end performance by Jxnblk | |
* | |
* - Removed all adjoining selectors | |
* - Removed slow ^= and *= selectors | |
* - Removed .right functionality | |
* - Removed ligature functionality | |
* | |
*/ |
This file contains 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
.grid-align-middle .col { | |
vertical-align: middle; | |
} | |
/* | |
Because how many times have you been asked to center something vertically? | |
*/ |
This file contains 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
gulp.task('js-sprite', function() { | |
return gulp.src('./icons/*.svg') | |
.pipe(concat('js-sprite.svg')) | |
.pipe(header('<svg xmlns="http://www.w3.org/2000/svg">')) | |
.pipe(footer('</svg>')) | |
.pipe(svgmin([{cleanupIDs: false}])) | |
.pipe(gulp.dest('./sprite')); | |
}); |
This file contains 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
.hover-group { | |
.hover-item { | |
color: gray; | |
} | |
&:hover .hover-item { | |
color: blue; | |
} | |
} |
This file contains 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
hr { | |
height: .5rem; | |
margin-bottom: .9375rem; | |
border-style: none; | |
border-bottom: .0625rem solid; | |
} |
This file contains 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
module.exports = function(elements, options) { | |
var options = options || {}; | |
var baseline = options.baseline || 16; | |
var paddingY = options.paddingY || 0; | |
for (var i = 0; i < elements.length; i++) { | |
var content = elements[i].textContent; |
This file contains 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 through = require('through2'); | |
var gutil = require('gulp-util'); | |
module.exports = function() { | |
var transform = function(file, enc, cb) { | |
var name = file.relative.split('.')[0]; | |
var contents = String(file.contents).replace(/\r?\n|\r/g, ' '); |
This file contains 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
" Vim colour scheme | |
hi clear | |
set background=light | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = 'jxn5' |
OlderNewer