cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              div(class="wrap")
	div(class="transformer")
		div(class="off-canvas")
			header(class="menu-head") Main Menu
		div(class="main")
			header(class="global")
				h1 Ian Armstrong<br />UX Designer
				img(class="callout" 
				src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/Header_Font_Pointer.png"
				srcset="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/Header_Font_Pointer.png 1x,https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/Header_Font_Pointer@2x.png 1.5x"
				alt="Rolland in Emile Font")
				div(class="navbar")
					ul(id="primarynav")
						li: a(class="current" href="#") Home
						li: a(href="#") Process
						li: a(href="#") Portfolio
						li: a(href="#") Resume
						li: a(href="#") Contact
					div(id="toggle" class="toggle")
						i(class="fa fa-bars")
						span explore
			div(class="underscore")
			section(class="magic")
				header
					h1 Recombobulating Things is my Specialty
					div(class="graphgear")
						img(src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pencil-gg.png" srcset="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pencil-gg.png 1x, https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pencil-gg@2x.png 1.5x" alt="Pentel Graphgear 1000")
					div(class="pentel-callout")
						img(src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pentel_callout.png"
						srcset="https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pentel_callout.png 1x, https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/pentel_callout@2x.png 1.5x")
				div(class="main-content")
					p <strong>I’m a big fan of user validation and simplicity</strong>. I have an obsession with pain points and ways of making things easier to use. I believe a UX designer is part creative, part technician, part leader, and part method actor; and that piquing a user’s curiosity is the key to engagement. I’m also a UX unicorn, with an ability to test, validate, design, code, and deploy as required.
					p
					a(href="#") View my portfolio 
					i(class="fa fa-external-link")
		footer(id="map-canvas")
            
          
!
            
              @import "susy", "breakpoint", "compass";

// Variable Declarations

$fontlib: 'http://ian.armstrongs.org/library/fonts/';
$navsize: 2.778rem;

// Responisve Breakpoints
$hidpi: min-resolution 1.5dppx;
$hd: min-width 66.67rem;
$desk: 53.33rem 66.66rem;
$tab: 40rem 53.32rem;
$phone: max-width 39rem;
$micro: max-width 24em;

// SUSY Grid Setup
$grids: 'off';
$susy: (
  columns: 4,
  gutters: 1/16,
  math: fluid,
  output: float,
  gutter-position: split,
	debug: (
    image: show-columns,
		output: background
  ),
);

// Colors
$offwhite: rgb(250,250,250);
$blueprint: #416D7B;
$brighterblue: saturate(lighten($blueprint,20%),10%);
$brightline: rgb(74,199,238);
$offset: rgb(216,216,216);
$graphite-dark: rgb(109,109,109);
$graphite-mid: rgb(140,140,140);
$graphite-light: rgba($graphite-mid,0.7);

// Fonts
$fallback: 'Helvetica Neue', Helvetica, Arial, sans-serif;
$rolland: 'Rolland', $fallback;
$simplifica: 'Simplifica', $fallback;
$glober: 'Glober', $fallback;

// Center Vertically in Parent
@mixin vertical-align($position:"relative") {
	position: unquote($position);
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

// Center Horizontally in Parent
@mixin horizontal-align($position:"relative") {
  position: unquote($position);
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;
}

// Mark current item with arrow underneath
@mixin thisItem($color:"silver",$position:"absolute") {
  width: 0;
  height: 0;
  position: unquote($position);
  bottom: -.9rem;
  content:"";
  display:block;
  /* Ads an arrow effect exploiting the way that browsers join borders together */
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid unquote($color);
  /* centers relative to parent */
  left: 50%;
  /* Compensates for width of border (arrow) */
  margin-left: -8px;
}

// Font Definitions
@font-face {
    font-family: 'Rolland';
    src: url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/rolland/rollandinemilie-webfont.svg#rollandinemilieregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Simplifica';
    src: url('http://ian.armstrongs.org/library/fonts/simplifica/simplifica_typeface-webfont.eot');
    src: url('simplifica_typeface-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/simplifica/simplifica_typeface-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/simplifica/simplifica_typeface-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/simplifica/simplifica_typeface-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/simplifica/simplifica_typeface-webfont.svg#simplificasimplifica') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlight-webfont.svg#globerlight') format('svg');
    font-weight: 300;
    font-style: normal;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerlightitalic-webfont.svg#globerlight_italic') format('svg');
    font-weight: 300;
    font-style: italic;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregular-webfont.svg#glober_regularregular') format('svg');
    font-weight: 400;
    font-style: normal;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerregularitalic-webfont.svg#glober_regularregular') format('svg');
    font-weight: 400;
    font-style: italic;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibold-webfont.svg#globersemibold') format('svg');
    font-weight: 500;
    font-style: normal;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globersemibolditalic-webfont.svg#globersemibold') format('svg');
    font-weight: 500;
    font-style: italic;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerxbold-webfont.svg#globerxbold') format('svg');
    font-weight: 700;
    font-style: normal;

}
@font-face {
    font-family: 'Glober';
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.eot');
    src: url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.woff2') format('woff2'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.woff') format('woff'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.ttf') format('truetype'),
         url('http://ian.armstrongs.org/library/fonts/glober/fontfabric_-_globerbolditalic-webfont.svg#globerbold_italic') format('svg');
    font-weight: 700;
    font-style: italic;

}

html, body {
	height: 100%;
	background-color: $offwhite;
	
	// Sizes throuought project are calcualted in REM. Changing the base responsively updates all values.
	font: normal normal normal 14px/1.5rem $glober;
	@include breakpoint($tab) {
		font-size: 15px
	}
	@include breakpoint($desk) {
		font-size: 16px
	}
	@include breakpoint($hd) {
		font-size: 18px
	}
	a {
		color: $brighterblue;
		text-decoration: none;
		&:hover {
			color: $brightline;
		}
	}
}

.wrap {
	overflow: hidden;
}

.transformer {
	@include transition(all 0.5s ease-in-out);
	&.is-open {
  	transform: translate3d(14.44rem, 0, 0);
		@include transition(all 0.5s ease-in-out);
	}
}

.off-canvas {
  position: absolute;
  width: 14.44rem;
  left: -14.44rem;
  top: 0;
  bottom: 0;
	background: darken($graphite-dark, 12%);
	.menu-head {
		padding: 1rem .4rem;
		background: $graphite-dark;
		border-bottom: 1px solid darken($graphite-dark, 12%);
		color: $offwhite;
		font-size: 1.8rem;
	}
	ul {
		font-size: 1.6rem;
		li {
			color: $offwhite;
			&:not(:last-child) {
				border-bottom: 1px solid $graphite-dark;
			}
			&:hover {
				background: $graphite-dark;
			}
			a {
				display: block;
				padding: .6rem .4rem;
				color: $offwhite;
				text-decoration: none;
				&.current {
					border-left: 4px solid rgb(75,200,225);
				}
			}
		}
	}
}

.main {
	overflow: hidden;
	header.global {
		position: relative;
		width: 100%;
		height: 16.5rem;
		margin-bottom: $navsize;
		background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/blue-grid.png) repeat center center;
		@include breakpoint($hidpi) {
			background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/blue-grid@2x.png);
			background-size: 100px 100px;
		}
		@include breakpoint($phone) {
			height: 10rem;
		}
		h1 {
			font-family: $rolland;
			font-size: 3rem;
			line-height: 3rem;
			@include vertical-align;
			text-align: center;
			color: $blueprint;
			@include breakpoint($tab) {
				font-size: 4rem;
				line-height: 4rem;
			}
			@include breakpoint($desk) {
				font-size: 5rem;
				line-height: 5rem;
			}
			@include breakpoint($hd) {
				font-size: 5rem;
				line-height: 5rem;
			}
		}
		img.callout {
			display: none;
			position: absolute;
			opacity: .8;
			max-width: 106px;
			@include breakpoint($desk) {
				display: block;
				right: 6%;
			}
			@include breakpoint($hd) {
				display: block;
				right: 15%;
			}
		}
		.navbar {
			position: absolute;
			bottom: -$navsize;
			height: $navsize;
			width: 100%;
			background: $offset;
			border-top: 2px solid darken($offset, 15%);
			border-bottom: 2px solid darken($offset, 15%);
			ul {
				text-align: center;
				li {
					display: inline;
					margin: 0 1rem;
					font-size: 1.8rem;
					font-weight: 300;
					line-height: $navsize;
					color: $graphite-dark;
					a {
						position: relative;
						color: $graphite-dark;
						text-decoration: none;
						&:hover {
							&:not(.current)  {color: lighten($blueprint, 12%);
							}
							&:not(.current):after {
								@include thisItem($blueprint);
							}
						}
						&.current:after {
							@include thisItem(darken($offset,15%));
						}
					}
				}
				@include breakpoint(max-width 639px) {
					display: none;
				}
			}
			.toggle {
				font-size: 1.85rem;
				line-height: $navsize;
				font-family: $glober;
				color: $graphite-dark;
				cursor: pointer;
				i {
					margin: 0 .3rem;
				}
				span {
					text-transform: uppercase;
					font-weight: 300;
				}
				@include breakpoint(min-width 640px) {
					display: none;
				}
			}
		}
	}
}

.underscore {
	display: none;
	position: relative;
	top: 102px;
	height: 1px;
	width: 0;
	background-color: $graphite-dark;
	@include breakpoint($desk) {
		display: block;
	}
	@include breakpoint($hd) {
		display: block;
		top: 115px;
	}
}

.graphgear {
	display: none;
	position: absolute;
	top: 4px;
	right: 0;
	img {
		max-width: 380px;
	}
	@include breakpoint($desk) {
		display: block;
	}
	@include breakpoint($hd) {
		display: block;
		top: 8px;
		img {
		max-width: 400px;
	}
	}
}

.pentel-callout {
	display: none;
	position: absolute;
	opacity: .85;
	top: 70px;
	right: 40px;
	img {
		max-width: 105px;
	}
	@include breakpoint($desk) {
		display: block;
	}
	@include breakpoint($hd) {
		display: block;
	}
}

.magic {
	position: relative;
	overflow: hidden;
	padding: 2rem .25rem;
	@include breakpoint($desk) {
		padding: 4rem .5rem;
	}
	@include breakpoint($hd) {
		padding: 4rem .65rem;
	}
	header {
		position: relative;
		margin-bottom: .8rem;
		padding: 0 .25rem;
		@include breakpoint($desk) {
			padding: 0;
		}
		@include breakpoint($desk) {
			padding: 0;
		}
	}
	h1,h2 {
		font-family: $simplifica;
		font-size: 2rem;
		line-height: 2.8rem;
		color: $graphite-dark;
		@include breakpoint($micro) {
			font-size: 1.5rem;
			line-height: 2.1rem;
		}
		@include breakpoint($desk) {
			font-size: 2.5rem;
			line-height: 3.2rem;
		}
		@include breakpoint($hd) {
			font-size: 2.5rem;
			line-height: 3.2rem;
		}
	}
	p {
		margin-bottom: 1rem;
	}
	.main-content {
		@include span(4 of 4);
		@include breakpoint($tab) {
			@include span(6 of 6);
		}
		@include breakpoint($desk) {
			@include span(8 of 12);
		}
		@include breakpoint($hd) {
			@include span(10 of 15);
		}
	}
	p {
		color: $graphite-dark;
		text-align: justify;
	}
	@include container();
	@include breakpoint($micro) {
    @include with-layout(98% 2) { // default is set to 6-columns
      @include container();
    } // default is returned to global setting
  }
	@include breakpoint(tab) {
    @include with-layout(97% 6) { // default is set to 6-columns
      @include container();
    } // default is returned to global setting
  }
	@include breakpoint($desk) {
    @include with-layout(95% 12) { // default is set to 8-columns
      @include container();
    } // default is returned to global setting
  }
	@include breakpoint($hd) {
    @include with-layout(66rem 15) { // default is set to 8-columns
      @include container();
    } // default is returned to global setting
  }
}

footer {
	height: 15rem;
	background-color: $graphite-dark;
}
            
          
!
            
              /** SUPPORT CROSS ORIGIN FOR FONTS **/
jQuery.support.cors = true;		// Gives in error in Chorme but still allows fonts to be served

/** DOCUMENT READY **/
jQuery(function($) {
	
	var winHeight, 		// Height of the visible window
			winWidth,			// Width of the visible window
			headHeight,		// Height of the header, with margins
			footHeight, 	// Height of the footer, with margins
			magicHeight, 	// Height of the magic content container (SUSY)
			targetHeight,	// Minimum target height required to fill the page
			otherHeight;	// Height of the magic container without padding (for computations)
	
	function debounce(func, wait, immediate) {
	var timeout;
	return function() {
		var context = this, args = arguments;
		var later = function() {
			timeout = null;
			if (!immediate) func.apply(context, args);
		};
		var callNow = immediate && !timeout;
		clearTimeout(timeout);
		timeout = setTimeout(later, wait);
		if (callNow) func.apply(context, args);
	};
};
	function getSizes() { // Calculate variable values
		winHeight = $(window).height();
		headHeight = $('header.global').outerHeight(true);
		footHeight = $('footer').outerHeight(true);
		magicHeight = $('.magic').innerHeight();
		otherHeight = $('.magic').height()
		targetHeight = winHeight - (headHeight + footHeight);
	}
	function setSizes(sizes) { // Set element heights as required
		if ( magicHeight < targetHeight ) {
			$('.magic').css('min-height', targetHeight - (magicHeight - otherHeight));
		}
	}	
	function makePen() {
		var penPosition = $('.graphgear').offset().left;
		$('.underscore').width(penPosition);
	}
	function hideNav() { // Hide drawer in desktop view
		var transformer = $('.transformer');
		if(
			$('#toggle').css('display') == 'none' && 
			transformer.hasClass('is-open')){
				transformer.removeClass('is-open');
		}
	}	
	
	// Handle Off-Canvas Transforms
	var transformer = $('.transformer'),
  toggle = $('.toggle');

  // Attaches event handler when .menu-toggle is clicked
  toggle.on('click', function(event) {
    event.preventDefault();
    transformer.toggleClass('is-open');
  });
	
	// Clone Menu
	$('#primarynav').clone(true).insertAfter('.menu-head');

	
	// Run on load
	setSizes(getSizes()); // Run the sizing function
	makePen();						// Draw the pen line
	
	// Run on debounce
	var debouncedFn = debounce(function() {
		setSizes(getSizes()); // Run the sizing function
		makePen();						// Draw the pen line
		hideNav();						// Hide the nav on large screens, if present
}, 250);
	
	// Add debounced resize lstener
	window.addEventListener('resize', debouncedFn);
	
	/** Google map footer **/
	var map = new GMaps({  // uses gmaps.js syntax
		el: '#map-canvas',
		lat: 38.0750215,
		lng: -122.53742549999998,
		zoom: 11,
		disableDefaultUI: true,
		scrollwheel: false,
		scaleControl: true,
		draggable: false
	});
	
	// Set up the geolocation function, set center on success
	/*GMaps.geolocate({
		success: function (position) {
			map.setCenter(position.coords.latitude, position.coords.longitude);
		},
		error: function (error) {
			alert('Geolocation failed: ' + error.message);
		},
		not_supported: function () {
			alert("Your browser does not support geolocation");
		},
		always: function () {
			// do nothing
		}
	});*/
	
	map.addStyle({
		styledMapName: "Blueprint",
		styles: blueprint,
		mapTypeId: "mapBox"
	});
	map.setStyle("mapBox");
	
	// Drop Marker
	GMaps.geocode({
		address: "Old Quarry Road South, Larkspur",
		callback: function(results, status){
			if(status=='OK'){
				var latlng = results[0].geometry.location;
				map.setCenter(latlng.lat(), latlng.lng());
				map.addMarker({
					lat: latlng.lat(),
					lng: latlng.lng(),
					title: 'ETWater',
					click: function(e){
						alert('You clicked in this marker');
					}
				});
			}
		}
	});
});

// Map Styles
var blueprint = [{"stylers":[{"saturation":-100},{"gamma":1}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"off"}]},{"featureType":"poi.business","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"poi.business","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"poi.place_of_worship","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"poi.place_of_worship","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry","stylers":[{"visibility":"simplified"}]},{"featureType":"water","stylers":[{"visibility":"on"},{"saturation":50},{"gamma":0},{"hue":"#50a5d1"}]},{"featureType":"administrative.neighborhood","elementType":"labels.text.fill","stylers":[{"color":"#333333"}]},{"featureType":"road.local","elementType":"labels.text","stylers":[{"weight":0.5},{"color":"#333333"}]},{"featureType":"transit.station","elementType":"labels.icon","stylers":[{"gamma":1},{"saturation":50}]}]
            
          
!
999px
Loading ..................

Console