Skip to content

Instantly share code, notes, and snippets.

View jonathanmoore's full-sized avatar
🚀
Building for Shopify

Jonathan Moore jonathanmoore

🚀
Building for Shopify
View GitHub Profile
<section class="ad">
<!-- Insert your ad code -->
</section>
<section>
<div class="base">
<nav class="pages">
<h4>Extra Box Title</h4>
<p>Paragraph body text</p>
<ul>
@jonathanmoore
jonathanmoore / gist:740786
Created December 14, 2010 17:53
Savory Sidebar HTML Template
</section>
<section class="default">
<h4>Title of a new block</h4>
<p>Paragraph talking about the block</p>
<p>Ads could also go here.</p>
<div class="bubble">
<p>add content, facebook like box, etc here in a box identical to the recent updates (twitter) box</p>
<ul>
<li><a href="http://google.com">Link to Google</a></li>
<li><a href="http://tumblr.com">Link to Tumblr</a></li>
<script type="text/javascript">
jQuery.fn.stripTags = function() {
var r = this.html().replace( /&lt;/g, '<' );
r = r.replace( /&gt;/g, '>' );
r = r.replace( /&amp;/g, '&' );
this.replaceWith( r );
};
$(document).ready(function() {
$("div.box.link .content_wrap strong").stripTags();
});
<!-- Beginning of Project Wonderful ad code: -->
<!-- Ad box ID: 52967 -->
<script type="text/javascript">
<!--
var pw_d=document;
pw_d.projectwonderful_adbox_id = "52967";
pw_d.projectwonderful_adbox_type = "3";
//-->
</script>
<script type="text/javascript" src="http://www.projectwonderful.com/ad_display.js"></script><script type="text/javascript" src="http://www.projectwonderful.com/gen.php?id=52967&amp;type=3&amp;r=6250.&amp;location=http%3A//tumblr.comicscavern.com/"></script><table cellpadding="0" border="0" cellspacing="0" width="160" bgcolor="#ffffff"><tbody><tr bgcolor="#ffffff"><td width="160" bgcolor="#ffffff" valign="top" align="center" style="vertical-align:top;"><a href="http://www.projectwonderful.com/out.php?go=84739759&amp;_r=" target="_blank"><img src="http://www.projectwonderful.com/img/uploads/pics/15812-1250798080.gif" width="160" height="600" border="0" title="Join Star Pirates Today!" alt="Join Star Pirates Today!"></a></td></tr><tr><td bgcolor="#ffffff" colspan="1"><center><a style="fo
@jonathanmoore
jonathanmoore / gist:751998
Created December 22, 2010 19:49
Nova Sidebar Templates
<section class="ad">
<!-- Insert your ad code -->
</section>
<section>
<div class="base">
<nav class="pages">
<h4>Extra Box Title</h4>
<p>Paragraph body text</p>
<ul>
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6.b - Charcoal Theme
--------------------------------
--------------------------------
Colors
#ffffff; /* white
#696a5c; /* red
#222222; /* dark red
#e5e8bb; /* butter
#696a5c; /* dark butter
<p>We're your top source for everything fashion, fabulous and fun! Incorporating CHADWICKS, metrostyle and Casual Living into your everyday lifestyle! Presented by the Boston Apparel Group</p>
<h2>Brand 1 Name Title</h2>
<p>Brand description <a href="http://brandlink.com">link</a></p>
<h2>Brand 2 Name Title</h2>
<p>Brand description <a href="http://brandlink.com">link</a></p>
<h2>Brand 3 Name Title</h2>
<p>Brand description <a href="http://brandlink.com">link</a></p>
@jonathanmoore
jonathanmoore / gist:768125
Created January 6, 2011 16:32
Nova - Black version w/ white footer
#footer_main {
background: #fff;
}
#footer_main .liked li {
border-right: 1px dashed #dadada;
}
#footer_main .liked {
border-bottom: 2px solid #dadada;
}
#footer_main .liked footer li.icon-liked a {
@jonathanmoore
jonathanmoore / Kill Photosets
Created April 4, 2011 13:40
Paste this into the Description field.
<script type="text/javascript">
;(function($){
var defaults = {
photoSize: 1280
};
$.fn.killPhotoset = function(options){
@jonathanmoore
jonathanmoore / gist:948769
Created April 29, 2011 18:28
Inspire Well - Description HTML sidebar elements
<h2>My Promo</h2>
<p>
<a href="http://promolink.com"><img src="image-file.jpg" height="100" width="250" /></a>
</p>
<h2>Sites I Love</h2>
<ul class="pages">
<li><a href="http://site.com">Site Name</a></li>
<li><a href="http://site.com">Site Name</a></li>
<li><a href="http://site.com">Site Name</a></li>
<li><a href="http://site.com">Site Name</a></li>