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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>SITE TITLE</title> | |
<!-- Disable tap highlight on IE --> | |
<meta name="msapplication-tap-highlight" content="no"> |
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 gulp = require('gulp'), | |
jshint = require('gulp-jshint'), | |
sass = require('gulp-sass'), | |
imagemin = require('gulp-imagemin'), | |
browserify = require('browserify'), | |
uglify = require('gulp-uglify'), | |
minifyHTML = require('gulp-minify-html'), | |
concat = require('gulp-concat'), | |
rename = require('gulp-rename'), | |
source = require('vinyl-source-stream'), |
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
.DS_Store | |
*/.DS_Store | |
node_modules | |
build/ | |
_site | |
.sass-cache | |
.ruby-version | |
.ruby-gemset | |
vendor | |
# Apache Server Configs v2.11.0 | MIT License |
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
<style type="text/css"> | |
.myGist {background-color: black; height: 50px; width: 100%;} | |
.myGist__list {padding: 0; margin: 0;} | |
.myGist__list--item {display: inline-block; list-style: none;} | |
.myGist__list--link {color: white; line-height: 50px; padding: 0 10px;} | |
</style> | |
<div class="myGist"> | |
<ul class="myGist__list"> | |
<li class="myGist__list--item"><a class="myGist__list--link" href="http://americastestkitchen.com">America's Test Kitchen</a></li> |
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
<form action="#" class="atkForm atkForm--stacked b" novalidate> | |
<div class="atkForm__fields"> | |
<div class="atkForm__group"> | |
<label class="atkForm__group--label" for="firstName">First Name</label> | |
<input class="atkForm__group--input" type="text" name="firstName" required /> | |
<div class="atkForm__group--error">First Name is required</div> | |
</div> | |
<div class="atkForm__group"> | |
<label class="atkForm__group--label" for="lastName">Last Name</label> | |
<input class="atkForm__group--input" type="text" name="lastName" required /> |
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
<form action="#" class="atkForm atkForm--side-by-side form-1" novalidate> | |
<div class="atkForm__fields"> | |
<div class="atkForm__group"> | |
<label class="atkForm__group--label" for="email">Enter Your Email Address</label> | |
<input class="atkForm__group--input" type="email" name="email" required /> | |
<div class="atkForm__group--error">Email is required</div> | |
</div> | |
</div> | |
<div class="atkForm__action"> | |
<button class="atkForm__submit" type="submit"> |
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
$field-height: 50px; | |
.atkForm { | |
input, | |
input[type="search"], | |
textarea { | |
/* For Safari zooming issues */ | |
-webkit-appearance: none; | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
font-size: 16px; |
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
'use strict'; | |
var form = $('form'), | |
formFields = $('.atkForm__fields'), | |
formSubmit = $('.atkForm__submit'), | |
parentGroup = $('.atkForm__group'), | |
formError = $('.atkForm__group--error'); | |
$('form input').blur(function() { |
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
<input | |
type="text" | |
name="search" | |
value="search..." | |
alt="search" onblur="if(this.value=='') this.value='search...';" | |
onfocus="if(this.value=='search...') | |
this.value='';" | |
> |
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
@mixin default-placeholder { | |
color: #333; | |
font-family: $montserrat; | |
} | |
@mixin fly-out-placeholder { | |
color: #777; | |
font-family: $merriweather; | |
} |
OlderNewer