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
$filePath: '../fonts/jenna/'; | |
@font-face { | |
font-family: 'jenna_sueregular'; | |
src: url($filePath + 'jennasue-webfont.eot'); | |
src: url($filePath + 'jennasue-webfont.eot?#iefix') format('embedded-opentype'), | |
url($filePath + 'jennasue-webfont.woff') format('woff'), | |
url($filePath + 'jennasue-webfont.ttf') format('truetype'), | |
url($filePath + 'jennasue-webfont.svg#jenna_sueregular') format('svg'); | |
font-weight: normal; |
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
module.exports = function(grunt) { | |
// 1. All configuration goes here | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
concat: { | |
// 2. Configuration for concatinating files goes here. | |
} |
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
<?php | |
// Report all errors | |
error_reporting(E_ALL); | |
// Report only Notice, Deprecated, and Strict erros | |
error_reporting(E_ALL ^ (E_NOTICE | E_DEPRECATED | E_STRICT)); | |
// Set to true or false | |
ini_set('display_errors', 0); |
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
<?php | |
/** | |
* Get server address, cross platform safe. | |
*/ | |
array_key_exists('SERVER_ADDR',$_SERVER) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR']; |
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
.transparent { | |
filter:alpha(opacity=50); | |
-moz-opacity:0.5; | |
-khtml-opacity: 0.5; | |
opacity: 0.5; | |
} |
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
Style links depending on file format | |
/* external links */ | |
a[href^="http://"]{ | |
padding-right: 20px; | |
background: url(external.gif) no-repeat center right; | |
} | |
/* emails */ |
NewerOlder