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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
</head>
<body class="about dark-text">
<div class="mark">
  <a href="/">
    <span class="mark--text">Patrick George Wyndham Smith</span>
  </a>
</div>
<main class="content"><header ><h1 >Patrick Smith · product designer &amp; developer</h1></header>
<section ><article ><p>I am a digital product designer &amp; developer from Melbourne, Australia, focused on creating apps for the web &amp; Mac for passionate professionals, both as a freelancer and through my own projects.</p>
<p>Completing a Bachelor of Multimedia Design in 2009, I then freelanced for companies large and small, and co-founded adventure sports video curator and creator InfinityList.com in 2011. I currently work at <a href="https://www.coderacademy.edu.au/">Coder Academy</a> as a lead trainer.</p>
<p>This website is content managed using a <a href="https://trello.com/b/mQ6WXDAQ/burntcaramel-com">public Trello board</a> and my <a href="https://lokum.icing.space/#mQ6WXDAQ">open source tool Lokum</a>.</p>
<p><nav>
<a href="https://www.dropbox.com/s/mqv201sbql1692o/Patrick%20Smith%20Resume.pdf">
<h3>Resume <i class="fa fa-paperclip" aria-hidden="true"></i></h3>
</a>
<a href="https://github.com/BurntCaramel">
<h3>GitHub <i class="fa fa-github" aria-hidden="true"></i></h3>
</a>
<a href="https://twitter.com/concreteniche">
<h3>Twitter <i class="fa fa-twitter" aria-hidden="true"></i></h3>
</a>
<a href="https://medium.com/@concreteniche">
<h3>Medium <i class="fa fa-medium" aria-hidden="true"></i></h3>
</a>
<a href="http://codepen.io/burntcaramel/pens/public/">
<h3>CodePen <i class="fa fa-codepen" aria-hidden="true"></i></h3>
</a>
<a href="https://pinterest.com/pgwsmith/pins/">
<h3>Pinterest <i class="fa fa-pinterest" aria-hidden="true"></i></h3>
</a>
<a href="https://instagram.com/burntcaramel/">
<h3>Instagram <i class="fa fa-instagram" aria-hidden="true"></i></h3>
</a>
<a href="https://www.behance.net/burntcaramel">
<h3>Behance <i class="fa fa-behance" aria-hidden="true"></i></h3>
</a>
<a href="https://dribbble.com/PatrickSmith">
<h3>Dribbble <i class="fa fa-dribbble" aria-hidden="true"></i></h3>
</a>
<a href="http://stackoverflow.com/users/652615/vine">
<h3>Stack Overflow <i class="fa fa-stack-overflow" aria-hidden="true"></i></h3>
</a>
</nav></p></article>

<article ><h2 >Open source</h2><h3>Web development</h3>
<ul>
<li><a href="https://github.com/RoyalIcing/react-organism">react-organism</a> · Dead simple React state management to bring pure components alive</li>
<li><a href="https://github.com/RoyalIcing/silverscreen">silverscreen</a> · Video info and embedding for YouTube &amp; Vimeo</li>
</ul>
<h3>Content tools</h3>
<ul>
<li><a href="https://github.com/RoyalIcing/lokum">lokum</a> · Website content management with Trello</li>
<li><a href="https://github.com/RoyalIcing/lokum-preview">lokum-preview</a> · Live preview of Trello-managed websites</li>
<li><a href="https://github.com/RoyalIcing/gateau">gateau</a> · Editor for action stories</li>
<li><a href="https://github.com/RoyalIcing/royal-piping">royal-piping</a> · React wireframe library</li>
<li><a href="https://github.com/BurntCaramel/Lantern">Lantern</a> · Mac app for website auditing and crawling</li>
</ul>
<h3>Education</h3>
<ul>
<li><a href="https://github.com/RoyalIcing/royal-rest">royal-rest</a> · Learn about RESTful APIs in a playground</li>
</ul>
<h3>Mac/iOS development</h3>
<ul>
<li><a href="https://github.com/BurntCaramel/Grain">Grain</a> · Asynchronous data flow using enums</li>
<li><a href="https://github.com/BurntCaramel/BurntCocoaUI">BurntCocoaUI</a> · Declarative code for UI</li>
<li><a href="https://github.com/BurntCaramel/swift-kick-web">swift-kick-web</a> · Web tool to generate Swift code</li>
<li><a href="https://github.com/BurntCaramel/Symbolist">Symbolist</a> · Look up symbols in Mac executables, and search Cocoa’s classes</li>
</ul></article>

<a href="https://medium.com/the-tech-bench"><article ><h2 >Web App Guides</h2></article></a>
<a href="/influences/"><article ><h2 >Influences</h2></article></a></section></main>
</body>
</html>

            
          
!
            
              $line-height: 1.42;

$dark: #202020;
$light: #ececec;

$bg-1: #ff4058;
$bg-2: #ff4067;
$bg-gradient: linear-gradient(to bottom, $bg-1 0%, $bg-2 100%);
$bg-shade: #da325d;

$shadow: #121212;
$yellow: #FFE200;
$bright-blue: #00CEFF;
$faint-blue: #DCF8FF;
$red-orange: #FF5400;

$cobalt-blue: #4b83b1;
$cobalt-blue-light: #6ea2d1;

$font-family: system, "-apple-system", "-webkit-system-font", BlinkMacSystemFont, "Helvetica Neue", "Helvetica", "Segoe UI", "Roboto", "Arial", "freesans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

* {
	margin: 0;
	padding: 0;
}

html {
	font-size: calc(27/16*100%);
}
body {
	margin: 0;
	padding-top: 1rem;
	font-family: $font-family;
	font-size: 27px;
	line-height: $line-height;
	background-color: $bg-1;
	background: $bg-gradient;
	-webkit-hypens: auto; -ms-hypens: auto; hypens: auto;
}
body.products, section.dark {
	background: $shadow;
}
body.about {
	article nav {
		text-align: center;
		
		> a {
			margin-bottom: 0.5rem;
		}
	}
}
body.blog {
	padding-top: 1.5rem;
	padding-bottom: 2rem;
	background: $faint-blue;
}
body.blik,
body.lantern {
	background: $shadow;
}

.dark-text {
	color: $dark;
}
.light-text,
.dark-text .inverse {
	color: $light;
}
.dark-text a h2 ~ h3 {
	color: $bg-shade;
}

.dark-text a,
.light-text a {
	color: $dark;
	background-color: rgba(255, 255, 255, 0.22);
	border-radius: 2px;
	// border-top: 1px solid white;
	border-bottom: 2px solid rgba(255, 255, 255, 0.55);
	
	&:hover {
		background-color: rgba(255, 255, 255, 0.8);
	}
}
.light-text a {
	background-color: rgba(255, 255, 255, 0.67);
}

a {
	color: inherit;
	text-decoration: none;
}
article a:hover:not(nav *) {
	background-color: white;
}
a.inherit {
	color: inherit;
}

h1 {
	font-size: 2rem;
	font-size: calc(3.5vw + 1rem);
	font-weight: 400;
	margin-bottom: 1em;
	text-align: center;
}
h2 {
	font-size: 1.7rem;
	font-size: calc(1.7vw + 1.3rem);
	font-weight: 500;
	margin-bottom: 0.5rem;
}
h3 {
	font-size: 1.2rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}
h5 {
	font-size: 1rem;
	font-weight: normal;
	opacity: 0.5;
}

main > section,
main > header,
main article,
main nav > a {
	> *:not(nav) {
		max-width: 32rem;
		margin-left: auto;
		margin-right: auto;
		padding: 0 0.5rem;
	}
	> a, > iframe {
		display: block;
	}
	> img {
		display: block;
		height: auto;
	}
}

header {
	margin-bottom: calc(1rem * $line-height);
	padding: 1rem 1.5rem;
}
header > * {
	text-align: center;
}

main > header {
	padding-top: calc(1rem * $line-height);
}

main article + article {
	margin-top: calc(2rem * $line-height);
}

nav {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
nav a,
main > section > a {
	margin-bottom:  0.666rem;
	padding: 0.5rem 0;
	text-align: center;
	
	> article {
		> h2, > h3 {
			margin-bottom: 0;
			padding-left: 0.5rem;
			padding-right: 0.5rem;
		}
	}
}
nav a {
	display: block;
	min-width: 12rem;
	max-width: 33%;
	margin-left: 0.333rem;
	margin-right: 0.333rem;
	border-radius: 3rem;
	border-color: rgba(255, 255, 255, 0.27);
	
	.fa { /* Font Awesome */
		display: block;
		font-size: 200%;
		vertical-align: middle;
	}
}

p,
figure,
pre { 
	margin-bottom: 1.42em;
	
	&:last-child {
		 margin-bottom: 0;
	}
}

ul {
	list-style: none;
}
li {
	margin-bottom: 0.71em;
}

blockquote {
	font-style: italic;
}

figure img {
	display: block;
	margin: auto;
	max-width: 100%;
	height: auto;
}
figcaption {
	text-align: center;
}

.mark {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 9px;
	font-weight: normal;
	font-style: italic;
}
.mark a {
	display: block;
	padding: 5px 8px;
}

/* Influences */

.major-item {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: calc(1rem * $line-height);
	text-align: left;
}
.major-item--centered {
	text-align: center;
}
.major-item a {
	display: block;
}
.major-item p:last-child {
	margin-bottom: 0;
}

/* Pod embeds */
iframe[src^="https://castro.fm/episode/"] {
	width: 100%;
	height: 50px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console