Skip to content

Instantly share code, notes, and snippets.

View plapier's full-sized avatar

Phil LaPier plapier

View GitHub Profile
@plapier
plapier / dabblet.css
Created October 10, 2012 14:52 — forked from daneden/dabblet.css
CSS Photo Album
/* CSS Photo Album */
/* Rebound of this shot by @daryl: http://drbl.in/fwwM */
* {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
@plapier
plapier / gist:3862407
Created October 10, 2012 00:29
tumblr theme starter
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
{block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}">
</head>
<body>
@plapier
plapier / gist:2044437
Created March 15, 2012 14:22
CSS/Sass Modal Dialog
<!-- HTML -->
<div class="modal-dialog-background">
<div class="modal-dialog">
<h1>Submit</h1>
<div class="inner-wrapper">
<p>Press submit to record your answers.</p>
</div>
<div class="buttons">
<button type="button" class="cancel">Cancel</button>
<button type="button" class="submit">Submit</button>
@plapier
plapier / SCSS Progress Bar.scss
Created December 7, 2011 16:09
SCSS Progress Bar. Using Bourbon and Javascript.
//************************************************************************//
// Progress Bar on saucy.accounts-edit
//************************************************************************//
div.limit.meter {
float: left;
margin: 10px 40px 20px 0;
text-align: center;
width: 240px;
span.numbers {
@plapier
plapier / SyntaxDefinition.xml
Created April 27, 2011 22:35
Coda Theme for SCSS / Sass. SyntaxDefinition.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE syntax SYSTEM "syntax.dtd">
<syntax>
<head>
<name>Sass</name>
<!-- The definitions title -->
<charsintokens>_0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-@$</charsintokens>
<charsincompletion>_0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-@$</charsincompletion>
</head>
@plapier
plapier / gist:939284
Created April 24, 2011 03:52
Style file-inputs in webkit browsers only.
// Style file-upload for webkit-based browsers
@media screen and (-webkit-min-device-pixel-ratio:0) {
input[type="file"] {
background: #fff;
border: 1px solid $tan;
@include border-radius(0 2px 2px 0);
@include box-sizing(border-box);
color: #666;
font-size: 14px;
height: 32px;