Skip to content

Instantly share code, notes, and snippets.

@brito
brito / dabblet.css
Created September 16, 2014 22:42
Phi Bounce
/* Phi Bounce */
a { transition:all 1s cubic-bezier(1,0,1,1) }
a:hover { transform:scale3d(1.05,1.05,1.05) }
a:active { transform:scale3d(.6,.6,.6) }
/** B */
@import '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css';
@import '//fonts.googleapis.com/css?family=Karma';
* { margin:0; border:0 }
body { font:100%/1.6 FontAwesome,Karma,sans-serif;
background: url(//brittanygaylord.com/img/brittany-blueeyes.jpg) no-repeat top/cover #d9000f; color:#d9000f;
height:100vh;
display:flex; flex-direction:column;
justify-content:flex-end }
a { text-decoration:none; color:inherit }
@brito
brito / dabblet.css
Created July 23, 2014 04:19
find your center
/* find your center */
html, body { height:100%; margin:0; text-align:center }
body:before { content:''; vertical-align:middle; background:red; height:100%; display:inline-block }
[id]:before { content:attr(id) }
:target:before { content:attr(href) }
@brito
brito / dabblet.css
Created May 30, 2014 22:35
DataControls.dcx
/* DataControls.dcx */
table { border-collapse:collapse;
font:100%/1.6 HelveticaNeue-Light,Segoe UI }
td { vertical-align:top; padding:0 .6em }
td[rowspan] { border:1px solid; border-width:1px 1px 0 0 }
@charset "UTF-8";
/* ♕β */
body:first-line { font-family:HelveticaNeue-CondensedBlack }
body { font:261%/.9 HelveticaNeue; text-align:right; white-space:pre;
background:hsl(333,55%,21%); color:white;
width:11em; padding:.3em; margin:1em auto;
outline:1px dotted }
body:after { content:'together ♕'; line-height:1.6 }
/* ❤✿ */
@brito
brito / dabblet.css
Last active November 25, 2024 23:41
♕β
@charset "UTF-8";
/* ♕β */
body:before { content:'I vow\A';
font-family:HelveticaNeue-CondensedBlack }
body { font:261%/1.6 HelveticaNeue; text-align:right; white-space:pre;
text-shadow:0 0 3px white;
background:hsl(333,55%,21%); color:white;
max-width:11em; margin:1em auto; padding:.3em;
outline:1px dotted }
body:after { content:'♕' }
/* ratio */
a { background:hsla(11,99%,50%,.6); width:3.14em; vertical-align:middle }
#phi { font-size:.618em }
#phisq { font-size:.381em }
#one { font-size:1em }
#Phi { font-size:1.618em }
#Phisq { font-size:2.618em }
#three { font-size:3em }
#Pi { font-size:3.14em; border-radius:.5em }
@brito
brito / dabblet.css
Created May 28, 2014 20:47
Permit Inspection
/* Permit Inspection */
@import '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css';
body { font:16px/1.6 FontAwesome, HelveticaNeue-Light }
a img { max-height:1.6em }
li :not(:first-child) { display:none }
li:target :not(:first-child) { display:block }
@brito
brito / dabblet.css
Created May 2, 2014 18:33
flexy inputs
/* flexy inputs */
label { display:flex; align-items:baseline }
label:before { content:attr(aria-label); text-align:right; flex:1 }
label>* { flex:1 }
/* just to look nicer */
html { background:white }
body { font:16px/1.6 HelveticaNeue-Light;
background:#eee; min-width:21em; max-width:50%; margin:auto;
@brito
brito / dabblet.css
Created April 30, 2014 21:02
Permit Inspection
/* Permit Inspection */
@import '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css';
body { font:16px/1.6 FontAwesome, HelveticaNeue-Light }
h1, :before { font-family:FontAwesome, HelveticaNeue-CondensedBold }
input, textarea, button, [class*="fa-"] { font-size:inherit; font-weight:inherit; font-family:inherit;
background:transparent }
a { text-decoration:none }
a, button { color:#0080fc }