Scalable and
Modular
Architecture for
C
S
S
This file contains hidden or 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
/* Simple button [CSS] */ | |
html,body { | |
min-height: 100%; | |
height: 100%; | |
overflow: hidden; | |
} | |
/* Fancy noise */ | |
html:after { |
This file contains hidden or 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
<?php | |
function themename_customize_register($wp_customize){ | |
$wp_customize->add_section('themename_color_scheme', array( | |
'title' => __('Color Scheme', 'themename'), | |
'priority' => 120, | |
)); | |
// ============================= |
This file contains hidden or 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 http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title><picture> with different fallbacks</title> | |
</head> | |
<body> | |
<h1><picture> with different fallbacks</h1> | |
<p>Don't forget to check which resources are loaded, regardless of what is displayed.</p> |
This file contains hidden or 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
// names and colors from http://flatuicolors.com/ | |
$turquoise: #1ABC9C; | |
$green-sea: #16A085; | |
$emerland: #2ECC71; | |
$nephritis: #27AE60; | |
$peter-river: #3498DB; | |
$belize-hole: #2980B9; | |
$amethyst: #9B59B6; | |
$wisteria: #8E44AD; |
This file contains hidden or 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
/* RequireJS Ember.Handlebars Plugin v0.1.0 | |
* Copyright 2012, Tim Branyen (@tbranyen) | |
* hbs.js may be freely distributed under the MIT license. | |
*/ | |
define(["ember", "text"], function(Ember) { | |
var hbs = { | |
version: "0.1.0", | |
// Invoked by the AMD builder, passed the path to resolve, the require |
This file contains hidden or 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.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
$em-base: 16px; | |
@function strip-unit($num) { | |
@return $num / ($num * 0 + 1); | |
} | |
@function convert-to-rem($value, $base-value: $em-base) { |
This file contains hidden or 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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var browserSync = require('browser-sync'); | |
var paths = { | |
scss: './sass/*.scss' | |
}; | |
gulp.task('sass', function () { | |
gulp.src('scss/app.scss') |
This file contains hidden or 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: Sync uploads between environments | |
hosts: web | |
remote_user: "{{ web_user }}" | |
vars: | |
project: "{{ wordpress_sites[site] }}" | |
project_root: "{{ www_root }}/{{ site }}" | |
tasks: |
This file contains hidden or 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
/** | |
* The path to the fonts folder, relative to the | |
* compiled stylesheet | |
* | |
* @type String | |
*/ | |
$font-path: "../fonts/" !default; | |
/** |
OlderNewer