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
{ | |
"basics": { | |
"name": "Drew Bolles", | |
"label": "Software Engineer at Trellis", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "(321) 508-0948", | |
"url": "www.drewbolles.com", | |
"summary": "I'm a passionate software engineer who strives to provide my users with accessible software regardless of device, location, or internet connection. I've been building for the web for the better part of two decades.\n\nI specialize in JavaScript, TypeScript, Node, React, HTML5, CSS3, responsive web design / development, and browser performance. I'm well versed in industry best practice, popular CMS and client-side frameworks, and pride myself on being a responsible developer.", | |
"location": { |
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
/** | |
* Field styles | |
*/ | |
.field-project-tags { | |
> .field-items { | |
// clearfix | |
> .field-item { | |
// Media Query mixin, go! | |
@media (min-width: 600px) { | |
// some sweet Susy code |
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
/** | |
* Article styles | |
*/ | |
.node--type-article { | |
.field--name-body { | |
font-size: 20px; | |
} | |
// View mode specific styles | |
&.node--view-mode-full { |
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
/** | |
* Article styles | |
*/ | |
.node--type-article { | |
// View mode specific styles | |
&.node--view-mode-full { | |
.field--name-body { | |
font-size: 20px; | |
} | |
} |
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
.view-products { | |
.view-content { | |
// micro clearfix, I have a mixin | |
&:after { | |
content: " "; | |
display: table; | |
clear: both; | |
} | |
} | |
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
/** | |
* Implements hook_theme(). | |
*/ | |
function custom_field_theme() { | |
return array( | |
'custom_field' => array( | |
'template' => 'templates/custom-field', | |
'variables' => array( | |
'name' => NULL, | |
'content' => NULL, |
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
// Require Gulp | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var prefix = require('gulp-autoprefixer'); | |
var watch = require('gulp-watch'); | |
var critical = require('critical'); | |
// Gulp Sass Task | |
gulp.task('sass', function() { |
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
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | |
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | |
<!-- Inline critical css --> |
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
// Require Gulp | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var prefix = require('gulp-autoprefixer'); | |
var watch = require('gulp-watch'); | |
// Gulp Sass Task | |
gulp.task('sass', function() { | |
gulp.src('sass/**/*.scss') |
NewerOlder