Skip to content

Instantly share code, notes, and snippets.

View scottkellum's full-sized avatar
🕴️
Working on Typetura

Scott Kellum scottkellum

🕴️
Working on Typetura
View GitHub Profile
@scottkellum
scottkellum / SassMeister-input.scss
Created May 4, 2013 14:24
Generated by SassMeister.com, the Sass playground.
// ---
// Singularity.gs (v1.0.8)
// Sass (v3.2.8)
// ---
/////////////////
// Singularity //
/////////////////
$bp-s: 500px;
@scottkellum
scottkellum / SassMeister-input.scss
Created May 14, 2013 18:09
Generated by SassMeister.com, the Sass playground.
$gutter: 2%;
@function foo($numerator, $denominator) {
$x: ($numerator / $denominator) * 100%;
@return $x - $gutter;
}
foo {
@scottkellum
scottkellum / SassMeister-input.scss
Created May 15, 2013 19:47
Generated by SassMeister.com, the Sass playground.
@function rem($rem, $base: 16px) {
$property: font-size; // need property inspection
@if unitless($rem) == false {
$rem: $rem / 1rem;
}
$pixels: $rem * $base;
@scottkellum
scottkellum / SassMeister-input.scss
Created May 15, 2013 20:29
Generated by SassMeister.com, the Sass playground.
content{
color: red;
body.small & { width: 100px; }
body.large & { width: 500px; }
}
@scottkellum
scottkellum / SassMeister-input.scss
Created May 30, 2013 12:59
Generated by SassMeister.com, the Sass playground.
// ---
// Singularity.gs (v1.0.8)
// Sass (v3.2.9)
// ---
// Singularity isn’t writing any styles here because no mixin is called.
// by default it does nothing.
@scottkellum
scottkellum / SassMeister-input.scss
Created May 30, 2013 13:00
Generated by SassMeister.com, the Sass playground.
// ---
// Singularity.gs (v1.0.8)
// Sass (v3.2.9)
// ---
.container{
@include background-grid;
// max-width: 940px;
margin: 0 auto;
@scottkellum
scottkellum / SassMeister-input.scss
Created June 27, 2013 15:30
Generated by SassMeister.com, the Sass playground.
// ---
// Sass (v3.2.9)
// ---
@mixin background-position($width) {
width: $width;
background-position: ($width - 20px) center;
}
scott:test scottkellum$ compass watch project_one
>>> Change detected at 14:42:13 to: style.scss
error project_one/sass/style.scss (Line 1: File to import not found or unreadable: button.
Load paths:
/Users/scottkellum/Sites/meta-frameworking/test/project_one/sass
/Users/scottkellum/.rvm/gems/ruby-1.9.2-p320@meta-frameworking/gems/compass-0.12.2/frameworks/blueprint/stylesheets
/Users/scottkellum/.rvm/gems/ruby-1.9.2-p320@meta-frameworking/gems/compass-0.12.2/frameworks/compass/stylesheets
Compass::SpriteImporter)
identical project_one/css/style.css
>>> Compass is polling for changes. Press Ctrl-C to Stop.
@scottkellum
scottkellum / SassMeister-input.scss
Created July 25, 2013 17:41
Generated by SassMeister.com, the Sass playground.
// ---
// Modular Scale (v1.0.6)
// Sass (v3.2.9)
// ---
$base-size: 1em;
foo {
font-size: ms(1);
@scottkellum
scottkellum / SassMeister-input.scss
Created August 12, 2013 11:25
Generated by SassMeister.com.
// ----
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
// ----
input[type="checkbox"] + label {
foo: bar;
}