Skip to content

Instantly share code, notes, and snippets.

@Jaswetz
Jaswetz / _settings
Created June 12, 2012 17:26
SCSS: settings.scss
//----------------------------------------------------------------------------
// base.scss
// Imports, settings, and variables
//----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// Imports
@import "susy";
@Jaswetz
Jaswetz / gist:2918885
Created June 12, 2012 17:30
SCSS: buttons.scss
// BUTTON STYLES
// -------------
// Base styles
// --------------------------------------------------
// Core
.btn {
display: inline-block;
@Jaswetz
Jaswetz / _scaffolding.scss
Created June 12, 2012 17:37
SCSS: site.scss
//----------------------------------------------------------------------------
// site.scss
// The base styles and base layout go here.
//----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ROOT
html
@Jaswetz
Jaswetz / index.html
Created June 12, 2012 17:39
HTML: html5 template
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="" />
<meta name="description" content="A brief description of this website or your business." />
<meta name="keywords" content="keywords, or phrases, suited with each particular page, are best" />
<title>Title</title>
@Jaswetz
Jaswetz / _typography.scss
Created June 12, 2012 18:21
SCSS: typography.scss
//----------------------------------------------------------------------------
// typography.scss
// Headings, body text, lists, code, and more
//----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// @BODY
p
{
@Jaswetz
Jaswetz / _mixins.scss
Created June 12, 2012 19:34
SCSS: mixins.scss
//----------------------------------------------------------------------------
// mixins.scss
//----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// CONVERTING PX TO EM
@function calc-em($target-px, $context) {
@return ($target-px / $context) * 1em;
}
@Jaswetz
Jaswetz / gist:2926050
Created June 13, 2012 19:48
SCSS: main.scss
//----------------------------------------------------------------------------
// main.scss
//----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ROOT
// Compass
@import "compass";
@Jaswetz
Jaswetz / -ry5n-vertical-rhythm
Created June 27, 2012 03:45 — forked from ry5n/-ry5n-vertical-rhythm
An alternative to Compass's built-in vertical-rhythm module. Only supports output values in rem, with pixel fallbacks
// Configurable variables
// ⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻
// Absolute height of body text, in pixels
$base-font-size: 16px !default;
// Absolute height of one line of type, in pixels
$base-line-height: 24px !default;
// The font unit to use when returning values in rhythm functions
@Jaswetz
Jaswetz / dabblet.css
Created October 26, 2012 01:39
Sidebar Timeline
/**
* Sidebar Timeline
*/
footer
{
clear:both;
}
.articleWrapper
@Jaswetz
Jaswetz / dabblet.css
Created December 10, 2012 18:18
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;