Skip to content

Instantly share code, notes, and snippets.

View ifamily's full-sized avatar

Richard Senior ifamily

View GitHub Profile
@ifamily
ifamily / font-awesome-css-example
Created July 10, 2015 12:32
Font Awesome CSS example
/* Prepend a Font Awesome icon before link text or page title in Genesis */
.genesis-nav-menu .menu-item-124 a:before,
.page-id-2 .entry-title:before{
content: "\f0c0";
font-family: FontAwesome;
margin-right: 5px;
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
@ifamily
ifamily / headings-example.htm
Created September 28, 2015 08:55
html headings example
<h1>My Pets</h1>
<p>This page is about my pets.</p>
<h2>Cats</h2>
<p>I have two cats.</p>
<h3>Fluffy</h3>
<p>Fluffy is a black cat. He is not particularly fluffy but is a little flabby.</p>
<h3>Django</h3>
<p>Django is a Bengal cat, a descendent of the Asian Leopard Cat. Django is very beautiful but is a complete lunatic.</p>
<h2>Dogs</h2>
<p>Sadly, I don't have any dogs at the moment, but used to own one.</p>