Skip to content

Instantly share code, notes, and snippets.

View abitgone's full-sized avatar

Anthony W abitgone

View GitHub Profile
@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 October 15, 2012 16:16
Untitled
.container:after {
content: '';
display: block;
height: 0;
clear: both;
}
.container h1 {
float: left;
}
.menu {
@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 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 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 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 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 30, 2012 13:18
Proposed Settings for Twapp
/**
* Proposed Settings for Twapp
*/
body {
font: 21px/1.5 "Helvetica Neue", sans-serif;
color: #444;
border-top: 0.444em solid #008fd5;
padding: 3.375em;
background: #fafafa;
}
@abitgone
abitgone / dabblet.css
Created August 29, 2012 11:18
Proposed Settings for Twapp
/**
* Proposed Settings for Twapp
*/
body {
font: 21px/1.5 "Helvetica Neue", sans-serif;
color: #444;
border-top: 0.444em solid #008fd5;
padding: 3.375em;
background: #fafafa;
}
@abitgone
abitgone / dabblet.css
Created August 23, 2012 08:16
Not-so-boring Checkboxes
/**
* Not-so-boring Checkboxes
*/
.pretty-checkbox {
display: inline-block;
font-family: Helvetica, Arial, sans-serif;
}
.pretty-checkbox input[type=checkbox] {
height:0; line-height: 0; padding: 0; margin: 0; position: relative; top: -10px; visibility: hidden;