Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="creatures"><div id="creature_0" class="item creature-box mod-ghost mod-wink"><div class="creature" style="background-color: white; animation-duration: 4.28s; animation-delay: -6.33s"><div class="face" style="animation-duration: 4.24s; animation-delay: -6.9s"><div class="eyes"><div class="eye" style="animation-duration: 3.45s; animation-delay: -4.24s"></div><div class="eye" style="animation-duration: 3.45s; animation-delay: -4.24s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/jschlth2/status/927420194892406785">@jschlth2</a></h3><h3>Just now</h3></div></div><div id="creature_1" class="item creature-box mod-hyper mod-moustache"><div class="creature" style="background-color: orange; animation-duration: 4.63s; animation-delay: -4.75s"><div class="face" style="animation-duration: 3.43s; animation-delay: -5.26s"><div class="eyes"><div class="eye" style="animation-duration: 4.05s; animation-delay: -7.13s"></div><div class="eye" style="animation-duration: 4.05s; animation-delay: -7.13s"></div></div><svg class="moustache" xmlns="http://www.w3.org/2000/svg" viewBox="83 299 443 121" preserveAspectRatio="none" width="220" height="60"><path d="M407 338C402 336 398 332 395 330 382 318 364 300 338 300 325 300 313 305 305 313 296 305 284 300 271 300 245 300 227 318 215 330 211 332 207 336 202 338 126 377 84 345 84 345 151 462 265 411 295 390 299 388 302 386 305 383 307 386 311 388 314 390 344 411 459 462 526 345Z" fill="#3F1F13"></path></svg><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/jschlth2/status/927419731530752000">@jschlth2</a></h3><h3>2 minutes ago</h3></div></div><div id="creature_2" class="item creature-box mod-angry mod-tall"><div class="creature" style="background-color: green; animation-duration: 5.01s; animation-delay: -6.33s"><div class="face" style="animation-duration: 3.25s; animation-delay: -7.12s"><div class="eyes"><div class="eye" style="animation-duration: 5.05s; animation-delay: -2.91s"></div><div class="eye" style="animation-duration: 5.05s; animation-delay: -2.91s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/The_Gov/status/927419335466926081">@The_Gov</a></h3><h3>4 minutes ago</h3></div></div><div id="creature_3" class="item creature-box mod-cyclops"><div class="creature" style="background-color: red; animation-duration: 2.72s; animation-delay: -6.86s"><div class="face" style="animation-duration: 6.9s; animation-delay: -5.05s"><div class="eyes"><div class="eye" style="animation-duration: 4.87s; animation-delay: -5.84s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/dylanmacalinao/status/927418564960595969">@dylanmacalinao</a></h3><h3>7 minutes ago</h3></div></div><div id="creature_4" class="item creature-box mod-hyper mod-teeth"><div class="creature" style="background-color: turquoise; animation-duration: 6.52s; animation-delay: -5.71s"><div class="face" style="animation-duration: 6.61s; animation-delay: -6.36s"><div class="eyes"><div class="eye" style="animation-duration: 6.46s; animation-delay: -3.16s"></div><div class="eye" style="animation-duration: 6.46s; animation-delay: -3.16s"></div></div><div class="mouth"><div class="tooth"></div><div class="tooth"></div></div></div></div><div class="info"><h3><a href="https://twitter.com/stelede/status/927417204508803072">@stelede</a></h3><h3>12 minutes ago</h3></div></div><div id="creature_5" class="item creature-box mod-tiny mod-teeth"><div class="creature" style="animation-duration: 2.58s; animation-delay: -2.93s"><div class="face" style="animation-duration: 7.46s; animation-delay: -3.67s"><div class="eyes"><div class="eye" style="animation-duration: 6.01s; animation-delay: -4.21s"></div><div class="eye" style="animation-duration: 6.01s; animation-delay: -4.21s"></div></div><div class="mouth"><div class="tooth"></div><div class="tooth"></div></div></div></div><div class="info"><h3><a href="https://twitter.com/kdawson/status/927416400553041925">@kdawson</a></h3><h3>16 minutes ago</h3></div></div><div id="creature_6" class="item creature-box mod-hyper"><div class="creature" style="background-color: ead; animation-duration: 6.39s; animation-delay: -5.37s"><div class="face" style="animation-duration: 5.97s; animation-delay: -3.55s"><div class="eyes"><div class="eye" style="animation-duration: 4.22s; animation-delay: -4.43s"></div><div class="eye" style="animation-duration: 4.22s; animation-delay: -4.43s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/saktidc/status/927415738301685760">@saktidc</a></h3><h3>18 minutes ago</h3></div></div><div id="creature_7" class="item creature-box mod-hungry mod-tiny"><div class="creature" style="background-color: lightblue; animation-duration: 4.13s; animation-delay: -5.4s"><div class="face" style="animation-duration: 6.36s; animation-delay: -4.66s"><div class="eyes"><div class="eye" style="animation-duration: 7.18s; animation-delay: -4.89s"></div><div class="eye" style="animation-duration: 7.18s; animation-delay: -4.89s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/bis_waz/status/927414935541366784">@bis_waz</a></h3><h3>21 minutes ago</h3></div></div><div id="creature_8" class="item creature-box mod-hyper"><div class="creature" style="background-color: orange; animation-duration: 6.04s; animation-delay: -2.79s"><div class="face" style="animation-duration: 6.73s; animation-delay: -5.1s"><div class="eyes"><div class="eye" style="animation-duration: 2.7s; animation-delay: -5.64s"></div><div class="eye" style="animation-duration: 2.7s; animation-delay: -5.64s"></div></div><div class="mouth"></div></div></div><div class="info"><h3><a href="https://twitter.com/charlesfleche/status/927412385974927360">@charlesfleche</a></h3><h3>31 minutes ago</h3></div></div></div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Amatic+SC');

%no-select {
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

%no-drag {
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  user-drag: none;
}

%no-tap {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  tap-highlight-color: rgba(0,0,0,0);
  touch-callout: none;
}

%psuedo {
  display: block;
	position: absolute;
	content: '';
}


// Partials ==========================================================================


// Variables =========================================================================
$mobile: 30em;
$tablet: 50em;
$easing: ease-in-out;

$purple : #181236;
	$purple_dark : shade($purple, 40%);
$brown : #3F1F13;
$gold : #EDBF68;
	$gold_light : tint($gold, 30%);
	$gold_dark : rgba($gold, .5);
$blue : #283377;
	$blue_twitter : #1da1f2;
	$blue_dark : shade($blue, 40%);
$black : shade($blue, 85%);
$white : #fafafa;
	$shadow : rgba($purple_dark, .2);
	$gray : mix($white, $black);

$transition: 1s;
$radius: 1rem;


// Partials width variable access ====================================================
// Base animations ===================================================================
@keyframes load {
	0% {
		transform: scale3d(.5,.5,.5) translate3d(0,10em,0);
		opacity: 0;
	}
	50% { transform: scale3d(1.02,1.02,1.02); }
	80% { transform: scale3d(.98,.98,.98) }
}

@keyframes wobble {
	0%, 100% { transform: rotate3d(0,0,1,-5deg); }
	50% { transform: rotate3d(0,0,1,5deg); }
}

@keyframes blink {
	0%, 10%, 100% { transform: scale3d(1,1,1); }
	5% { transform: scale3d(1,0,1); }
}

@keyframes highlighter {
	0% {
		transform: scale3d(0,0,0);
		opacity: 0;
	}
	15% {
		transform: scale3d(1,1,1);
		opacity: 1;
	}
	20%, 100% {
		transform: scale3d(1.1,1.1,1.1);
		opacity: 0;
	}
}

@keyframes highlight-light-on-dark {
	5%, 20% {
		background: $gold;
		box-shadow: -.1em 0 $gold, .1em 0 $gold;
	}
	0%, 25%, 100% {
		background: rgba($gold, 0);
		box-shadow: -.1em 0 rgba($gold, 0), .1em 0 rgba($gold, 0);
	}
}

@keyframes highlight-dark-on-light {
	5%, 20% {
		background: $gold;
		color: $black;
		box-shadow: -.1em 0 $gold, .1em 0 $gold;
	}
	0%, 25%, 100% {
		background: rgba($gold, 0);
		color: $gold;
		box-shadow: -.1em 0 rgba($gold, 0), .1em 0 rgba($gold, 0);
	}
}


// Modifiers =========================================================================
@keyframes angry {
	0%, 40% { transform: translate3d(0,0,0); }
	50%, 60%, 70% { transform: translate3d(-2%,0,0); }
	55%, 65%, 75% { transform: translate3d(2%,0,0); }
}

@keyframes ghost {
	0%, 100% { border-radius: 50% 50% 35% 35%; }
	10% {
		border-radius: 50%;
		transform: scale3d(.7,.7,.7);
		transform-origin: top right;
	}
}

@keyframes hungry {
	33% { transform: scale3d(.8,1,1); }
	66% { transform: scale3d(1,.8,1); }
}

@keyframes hyper {
	0%, 20%, 90%, 100% { transform: none; }
	5% { transform: scale3d(1,.8,1); }
	10% { transform: translate3d(0,-5%,0); }
	30%, 50%, 70% { transform: rotate3d(0,0,1,-2deg); }
	40%, 60%, 80% { transform: rotate3d(0,0,1,2deg); }
}

@keyframes nervous {
	0%, 50%, 100% { transform: scale3d(1,1,1); }
	25%, 75% { transform: scale3d(1,.8,1); }
}

@keyframes jackolantern {
	0%, 50%, 100% { opacity: 1; }
	30%, 70% { opacity: .9; }
	10% { opacity: .7; }
	55% { opacity: 1; }
	85% { opacity: .8; }
}

@keyframes spin {
	100% { transform: rotate(1turn); }
}

// Base Styles =======================================================================
body {
	position: relative;
	background: $purple_dark;
	background: linear-gradient($purple_dark, $purple);
	color: $gold;
	font: 400 100%/1.2 Amatic SC, sans-serif;
	min-height: 100vh;
	text-align: center;

	@media (min-width: $tablet) {
		padding: 1em;
		font-size: 110%;
	}
}


// Typography ========================================================================
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

h1 {
	font-size: 3em;
	line-height: 1;
}

h2 {
	font-size: 1.6em;
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.3em;
	margin-bottom: 1rem;
}

a {
	@extend %no-drag;
	text-decoration: none;
	cursor: pointer;
	color: $gold;
	border-bottom: thin dashed $gold_dark;

	&:hover {
		color: $gold_light;
		border-bottom: thin dashed $gold;
	}
}


// Structural Styles =================================================================
.container {
	max-width: 70em;
	margin: 0 auto;
	padding: 1em;
}


// Header ============================================================================
header {
	@extend %no-select;
	text-align: left;

	.content {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 0 0 0 1em;
	}
}

.logo, .directions-toggle {
	@extend %no-select;
	font-size: 1.5em;
	cursor: pointer;

	@media (min-width: $tablet) {
		font-size: 2em;
	}
}

.logo {
	line-height: 1.5;
	margin-right: 1rem;
	color: $gold;

	&, &:hover {
		border: 0;
	}

	@media (min-width: $tablet/2) {
		font-size: 2em;
	}


	@media (min-width: $tablet) {
		font-size: 3em;
		line-height: 1;

		.showing-directions & {
			transform-origin: top left;
			transform: scale(.75);
		}
	}
}


// Directions ==========================================================================
.directions-toggle, .directions-box {
	background: $blue;
	color: $white;
	border-radius: $radius;
}

.directions-toggle {
	@extend %no-tap;
	display: inline-block;
	position: relative;
	cursor: pointer;
	padding: 1rem .75em;
	margin-bottom: 1rem;
	box-shadow: inset .3rem -.3rem $shadow;

	header & {
		margin-bottom: 0;
	}

	footer & {
		font-size: 1em;
	}

	.showing-directions header & {
		border-radius: $radius $radius 0 0;
		box-shadow: none;

		&:after {
			@extend %psuedo;
			position: absolute;
			width: $radius*2;
			height: $radius*2;
			background: transparent;
			bottom: 0;
			right: 100%;
			border-radius: $radius;
			box-shadow: $radius $radius $blue;
		}
	}

	.showing-directions footer & {
		box-shadow: inset 0 0 0 2px $blue;
		background: transparent;
	}

	.close {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		border-radius: $radius $radius 0 0;
		text-align: center;
		vertical-align: middle;
		background: rgba($blue, .9);
		background: linear-gradient(90deg, rgba($blue, 0), $blue 66%);

		path {
			stroke: $gold;
			stroke-width: 1px;
			stroke-linecap: round;
		}

		&:hover {
			path {
				stroke: $gold_light;
			}
		}

		.showing-directions & {
			display: inline-block;
		}
	}
}

.directions-box {
	display: none;
	position: relative;
	box-shadow: inset .3rem -.3rem $shadow;

	h2, h3 {
		margin: 0;
	}

	.showing-directions & {
		display: block;
		border-radius: $radius 0 $radius $radius;
		padding-bottom: .3rem;

		@media (min-width: $tablet) {
			display: flex;
			align-items: center;
			text-align: center;
		}
	}
}

.examples {
	font-weight: bold;
	list-style: none;
	padding: 1em;

	@media (min-width: $tablet) {
		flex: 1 0 24em;
		text-align: left;
	}
}

.example-tweet {
	display: block;
	position: relative;
	padding: .5rem 1rem .5rem 1.75em;
	vertical-align: middle;
	background: $white;
	font-size: 1.5em;
	color: $black;
	border: 0;
	margin-top: .25em;
	cursor: text;
	border-radius: $radius;
}

.handle-highlight, .color-highlight, .more-highlight, .personality-highlight {
	border-radius: .25em;
	font-weight: bold;
	box-shadow: -.1em 0 rgba($gold, 0), .1em 0 rgba($gold, 0);
}

.showing-directions {
	$highlight-duration : 12s;

	.handle-highlight, .color-highlight, .more-highlight, .personality-highlight {
		animation: highlight-light-on-dark $highlight-duration ease-in-out infinite;
	}

	.instructions {
		.handle-highlight, .color-highlight, .more-highlight, .personality-highlight {
			animation-name: highlight-dark-on-light;
			color: $gold;
		}
	}

	.color-highlight { animation-delay: $highlight-duration * .25; }
	.personality-highlight { animation-delay: $highlight-duration * .5; }
	.more-highlight { animation-delay: $highlight-duration * .75; }
}


.twitter-logo {
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	position: absolute;
	top: .125em;
	left: .125em;

	path {
		fill: $blue_twitter;
	}
}

.is-visible {
	display: block;
}


// Creature structure ================================================================
.creatures {
	min-height: 25vh;
	text-align: center;

	.showing-directions & {
		opacity: .25;

		a {
			pointer-events: none;
		}
	}
}

.item {
	@extend %no-select;
	animation: load .5s ease-out both;
	display: inline-block;
	width: 50%;
	vertical-align: middle;
	text-align: center;
	padding: 1em;

	// Animation delay
	@for $i from 1 through 16 {
		&:nth-child(#{$i}) {
			animation-delay: $i*.15s;
		}
	}

	// Media queries for sizing creatures
	@for $i from 3 through 8 {
		@media (min-width: 14em * $i) {
			width: 100%/$i;
		}
	}

	// Limit number of creatures for performance
	@media (max-width: 14em * 3) {
		&:nth-last-child(-n+4) {
			display: none;
		}
	}
	@media (min-width: 14em * 3) and (max-width: 14em * 4) {
		&:nth-last-child(1) {
			display: none;
		}
	}
	@media (min-width: 14em * 4) and (max-width: 14em * 5) {
		&:nth-last-child(-n+2) {
			display: none;
		}
	}
	@media (min-width: 14em * 5) and (max-width: 14em * 5) {
		&:nth-last-child(-n+4) {
			display: none;
		}
	}

	&.ad-box,
	&.default-box {
		display: inline-block !important;
	}
}

.default-box {
	cursor: default;
}

.info {
	padding: 1rem 0;
	line-height: 1.5;

	.default-box & {
		line-height: 1.2;
	}

	h3 {
		margin-bottom: 0;
	}
	a {
		font-weight: bold;
	}
}


// Creature ==========================================================================
.creature {
	animation: wobble 3s ease-in-out infinite;
	animation-delay: inherit;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	margin: 0 auto;
	border-radius: 50%;
	transform-origin: center bottom;
	box-shadow: inset .3rem -.5rem $shadow;
	transition: box-shadow $transition;

	$colors_list: #f44336, #d8a635, #5aa959, #3cb9b9, #5a31bb, #785cbb, #f44336, #d8a635, #5aa959, #3cb9b9;

	@for $i from 1 through length($colors_list) {
		.creature-box:nth-last-child(#{$i}) & {
			background-color: nth($colors_list, $i);
		}
	}

	.creature-box:hover & {
		box-shadow: inset .3rem -.75rem $shadow;
		transition-duration: $transition*.25;
	}

	.showing-directions & {
		filter: grayscale(1);
	}
}


// Face ------------------------------------------------------------------------------
.face {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	right: 0;
	bottom: 0;
	transition: transform $transition;

	.creature-box:hover & {
		transform: translateY(-5%) scale(.95);
		transition: transform $transition*.25;
	}
}


// Eyes ------------------------------------------------------------------------------
.eyes {
	position: absolute;
	top: 22%;
	width: 100%;
	height: 14%;
}

.eye {
	animation: blink 5s linear infinite;
	position: absolute;
	height: 100%;
	width: 9%;
	background: $purple_dark;
	border-radius: 50%;

	&:nth-child(1) {
		left: 33%;
	}
	&:nth-child(2) {
		right: 33%;
	}
}


// Moustache -------------------------------------------------------------------------
.moustache {
	position: absolute;
	top: 38%;
	left: 18%;
	width: 64%;
	height: 14%;
}


// Mouth -----------------------------------------------------------------------------
.mouth {
	position: absolute;
	background: $purple_dark;
	top: 45%;
	left: 22%;
	right: 22%;
	bottom: 45%;
	border-radius: 20% 20% 50% 50%;
	transform-origin: center top;
	overflow: hidden;
	transition: transform $transition*.25;

	.creature-box:hover & {
		transform: scale3d(.95,.75,1);
	}
}

.tooth {
	position: absolute;
	top: 0;
	width: 15%;
	bottom: 55%;
	background: $white;
	border-radius: 0 0 2px 2px;

	&:nth-child(1) {
		left: 32%;
	}
	&:nth-child(2) {
		right: 32%;
	}
}


// Modifiers =========================================================================
.mod-angry {
	.face {
		animation: angry 4s ease-in-out infinite;
	}
	.mouth {
		border-radius: 50% 50% 5px 5px;
		left: 30%;
		right: 30%;
	}
}

.mod-camouflage {
	.creature {
		background: url(img/mod-camouflage.png);
		background-position: center center;
	}
}

.mod-cyclops {
	.eye {
		&:nth-child(1) {
			left: 45%;
		}
		&:nth-child(2) {
			right: 45%;
		}
	}
}

.mod-dark {
	.mouth, .eye {
		background: #333;
	}
}

.mod-frozen {
	* {
		animation-play-state: paused !important;
	}
}

.mod-ghost {
	.creature {
		background: shade($white, 20%) !important;
		border-radius: 50% 50% 30% 30%;
	}
	.mouth {
		animation: ghost 5s ease-in-out infinite;
		left: 42%;
		right: 42%;
		bottom: 40%;
		border-radius: 50% 50% 40% 40%;
	}
	.tooth {
		display: none;
	}
}

.mod-hungry {
	.mouth {
		animation: hungry 1s ease-in-out infinite;
	}
}

.mod-hyper {
	.face {
		animation: hyper 5s ease-in-out infinite;
	}

	.mouth {
		top: 45%;
		left: 20%;
		right: 20%;
		bottom: 25%;
	}

	.tooth {
		bottom: 70%;
	}
}

.mod-jack-o-lantern {
	.creature, .tooth {
		background: shade(darkorange, 50%) !important;
	}
	.mouth, .eye, .moustache path {
		animation: jackolantern 4s ease-in-out infinite;
		background: shade(gold, 25%);
		fill: shade(gold, 25%);
	}
	.eye {
		clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
		border-radius: 0;
	}
	.moustache {
		top: 40%;
		left: 28%;
		width: 44%;
		height: 10%;
	}
	.mouth {
		clip-path: polygon(0 0, 100% 0, 100% 50%, 70% 100%, 30% 100%, 0 50%);
		border-radius: 0;
	}
}

.mod-moustache {
	.mouth {
		top: 54%;
		bottom: 32%;
	}
}

.mod-nervous {
	.mouth {
		border-radius: 50% 50% 20% 20%;
		left: 35%;
		right: 35%;
		bottom: 40%;
	}
}

.mod-sad {
	.mouth {
		border-radius: 50% 50% 20% 20%;
		left: 35%;
		right: 35%;
		bottom: 40%;
	}
}

.mod-sleepy {
	.face {
		transform: rotate(45deg);
	}
	.eyes {
		transform: scaleY(.5);
	}
	.mouth {
		animation: ghost 5s ease-in-out infinite;
		left: 42%;
		right: 42%;
		bottom: 40%;
		border-radius: 50%;
	}
	.tooth {
		display: none;
	}

	&:hover {
		.eyes {
			transform: scale(1);
		}
	}
}

.mod-square {
	.mouth, .eye {
		border-radius: 5px;
	}
	.creature {
		border-radius: 10%;
		width: 95%;
		padding-bottom: 95%;
		margin-top: 5%;
	}
}

.mod-tall {
	.creature {
		width: 82%;
	}
}

.mod-tiny {
	.creature {
		width: 82%;
		padding-bottom: 82%;
		margin-top: 18%;
	}
}

.mod-transparent {
	.creature {
		background: url(img/mod-transparent.png);
	}
}

.mod-nervous {
	.mouth {
		animation: nervous $transition*6 ease-in-out infinite;
	}
}

.mod-upside-down {
	.face {
		transform: rotate(180deg);
	}

	&:hover .face {
		transform: rotate(180deg) translateY(-5%) scale(.95);
		transition: transform $transition*.25;
	}
}

.mod-wink {
	.eye:nth-child(2) {
		animation: none;
	}
}


// Advertisment ======================================================================
.ad-box {
	display: inline-flex;
	justify-content: center;
	flex-direction: column;
	padding: 1em;

	a {
		border: 0;
	}
}

.carbon-img {
	display: block;
	margin: 0 auto;

	img {
		border-radius: $radius;
		width: 100%;
		height: auto;
	}
}

.carbon-text {
	display: block;
	font-size: 1.3em;
	color: $white;
	margin: .5em 0;
	transition: color $transition*.5;

	.ad-box:hover & {
		color: $gold;
		transition: color $transition*.25;
	}
}

.carbon-poweredby {
	display: block;
	color: mix($white, $purple_dark);
}


// Footer ============================================================================
	footer {
		padding: 0 1em;
	}


// Share =============================================================================
.share {
	display: inline-block;
	font-size: 1em;
	margin-left: .5em;
}


.share-button {
		@extend %no-select;
		@extend %no-drag;
		display: inline-block;
		border-radius: $radius;
		text-decoration: none;
		box-shadow: $shadow;
		color: $white;
		padding: 1rem .7em;
		background: $blue;
		border: 0;
		box-shadow: inset .15em -.15em $shadow;
		transition:
			background $transition,
			color $transition;
	}

	.share-button {
		position: relative;
		cursor: pointer;
		margin-right: .25em;
		padding-left: 2em;

		.twitter-logo {
			top: .525em;
			left: .5em;

			path {
				fill: $blue_twitter;
			}
		}

		&:hover {
			color: white;
			border: 0;
		}
	}
              
            
!

JS

              
                
              
            
!
999px

Console