Guidelines for basic user interface organization
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
hr { | |
height: .5rem; | |
margin-bottom: .9375rem; | |
border-style: none; | |
border-bottom: .0625rem solid; | |
} |
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
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 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 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 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
" Vim colour scheme | |
hi clear | |
set background=light | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = 'jxn5' |
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 gulp = require('gulp'); | |
var fs = require('fs'); | |
// Suitcss | |
var suit = require('suitcss-preprocessor'); | |
gulp.task('suit', function() { | |
var src = fs.readFileSync('./src/base.css', 'utf8'); | |
var bundle = suit(src, {}); | |
fs.writeFileSync('./base-suitcss.css', bundle); |
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> | |
<head> | |
<title>Layout Prototype</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<style> | |
.min-h320 { min-height: 320px } | |
.mb2 { margin-bottom: 30px } | |
.placeholder { | |
height: 0; |
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="row"> | |
<div class="col-xs-8"> | |
<!-- canvas container --> | |
</div> | |
<div class="col-xs-4"> | |
<!-- legend container --> | |
</div> | |
</div> |
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="clearfix"> | |
<div class="pull-right" style="width:120px"> | |
<!-- legend container --> | |
</div> | |
<div class="overflow-hidden"> | |
<!-- canvas container --> | |
</div> | |
</div> |