Skip to content

Instantly share code, notes, and snippets.

View abitgone's full-sized avatar

Anthony W abitgone

View GitHub Profile
@abitgone
abitgone / dabblet.css
Created August 30, 2012 13:24
Untitled
html {
font-family: "Helvetica Neue", sans-serif;
}
.container {
border: 1px solid rgba(0,0,0,0.25);
border-radius: 0.375em;
}
.container > div {
padding: 0.75em 1.5em;
}
@abitgone
abitgone / dabblet.css
Created August 31, 2012 13:50
Untitled
html {
font-family: "Helvetica Neue", sans-serif;
}
.container {
border: 1px solid rgba(0,0,0,0.25);
border-radius: 0.375em;
}
.container > div {
padding: 0.75em 1.5em;
}
@abitgone
abitgone / dabblet.css
Created August 31, 2012 13:53
Transitions with height: auto
/**
* Transitions with height: auto
*/
html {
font-size: 16px;
}
#main-nav {
-webkit-transition: max-height 2s ease-in-out;
max-height: 2em;
overflow: hidden;
@abitgone
abitgone / dabblet.css
Created September 17, 2012 14:36 — forked from mr-stezz/dabblet.css
Untitled
* {
box-sizing: border-box;
padding: 0;
margin: 0:
}
html { font: 13px/26px sans-serif; }
sub { vertical-align: -0.15em; font-size: 0.8em; line-height: 0.8; }
@media screen and (min-width: 569px) {
@abitgone
abitgone / dabblet.css
Created October 3, 2012 11:56
Untitled
body {
margin: 30px;
}
div {
width: 40px;
height: 40px;
background-color: #08f;
display: inline-block;
margin: 0 6px 0 0;
text-align: center;
@abitgone
abitgone / dabblet.css
Created October 15, 2012 16:16
Untitled
.container:after {
content: '';
display: block;
height: 0;
clear: both;
}
.container h1 {
float: left;
}
.menu {
@abitgone
abitgone / gist:4596468
Created January 22, 2013 17:25
JavaScript-less Sharing Links
<!-- Twitter -->
<a href="https://twitter.com/intent/tweet?original_referer=REFERRER_URL&source=tweetbutton&text=TWEET_TEXT&url=URL&via=USERNAME">Share on Twitter</a>
<!-- Facebook -->
<a href="http://www.facebook.com/share.php?u=URL&t=TITLE">Share on Facebook</a>
<!-- Google+ -->
<a href="https://m.google.com/app/plus/x/?content=URL&v=compose&hideloc=1">Share on Google+</a>
<!-- Instapaper -->
@abitgone
abitgone / dabblet.css
Created February 15, 2013 12:55
Untitled
.scroll {
width: 400px;
height: 200px;
line-height: 20px;
overflow: scroll;
overflow-x: hidden;
overflow-y: scroll;
border: 1px solid #ccc;
}
.scroll p {
@abitgone
abitgone / gist:5984959
Created July 12, 2013 14:39
expand("The Queen of England")
Her Majesty Elizabeth the Second, by the Grace of God, of Great Britain, Ireland and the British Dominions beyond the Seas Queen, Defender of the Faith, Duchess of Edinburgh, Countess of Merioneth, Baroness Greenwich, Duke of Lancaster, Lord of Mann, Duke of Normandy, Sovereign of the Most Honourable Order of the Garter, Sovereign of the Most Honourable Order of the Bath, Sovereign of the Most Ancient and Most Noble Order of the Thistle, Sovereign of the Most Illustrious Order of Saint Patrick, Sovereign of the Most Distinguished Order of Saint Michael and Saint George, Sovereign of the Most Excellent Order of the British Empire, Sovereign of the Distinguished Service Order, Sovereign of the Imperial Service Order, Sovereign of the Most Exalted Order of the Star of India, Sovereign of the Most Eminent Order of the Indian Empire, Sovereign of the Order of British India, Sovereign of the Indian Order of Merit, Sovereign of the Order of Burma, Sovereign of the Royal Order of Victoria and Albert, Sovereign of the
html, body {
margin: 0px;
}
p {
margin: 0.5em 2em;
}
.photo-gallery {
width: 100%;