This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
.button { | |
border-radius: 3px; | |
background: grey; | |
color: white; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// works with compass | |
@mixin hamburger($color:white, $line-width:5px) { | |
$transparent: rgba($color, 0); | |
@include background-image(linear-gradient( | |
$color $line-width, | |
$transparent $line-width, | |
$transparent ($line-width*2), | |
$color ($line-width*2), | |
$color ($line-width*3), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
Drupal.behaviors.themenameMasonry = { | |
attach: function() { | |
var masonryView = $('.masonry-view .view-content'); | |
masonryView.imagesLoaded(function () { | |
masonryView.masonry({ | |
itemSelector: '.views-row' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tab: 768px; | |
$nav: 865px; | |
$desk: 1024px; | |
$super: 1080px; | |
$susy: ( | |
container: 1040px, // change this if you add padding outside the grid | |
columns: 12, | |
column-width: 65px, | |
gutters: 20px/65px, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this is what CodeKit outputs, every time you save the file */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// require the node packages | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'); | |
// create our sass gulp task | |
gulp.task('sass', function() { | |
// look in the sass directory (and directories below it) | |
gulp.src('./sass/**/*.scss') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
// require our three new features | |
autoprefixer = require('gulp-autoprefixer'), | |
sassGlob = require('gulp-sass-glob'), | |
sassLint = require('gulp-sass-lint'); | |
gulp.task('sass', function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
formatter: stylish | |
files: | |
include: '**/*.s+(a|c)ss' | |
rules: | |
# Extends | |
extends-before-mixins: 1 | |
extends-before-declarations: 1 | |
placeholder-in-extend: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Twitter widget</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script> | |
<script src="sha1.js" type="text/javascript"></script> | |
<script src="codebird.js" type="text/javascript"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "gulp-practice", | |
"version": "1.0.0", | |
"description": "Just learning about some gulp-sass things!", | |
"author": "Your Name <you@example.org>", | |
"dependencies": { | |
}, | |
"license": "MIT" | |
} |
OlderNewer