- use max width
- be careful of line length
- don’t be afraid of larger type
- use large images where possible
- use SVG where possible
- use the rule of thirds
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
var sourceFolder, | |
files, | |
fileType, | |
sourceDoc, | |
sourceArtwork, | |
symbolRef; | |
//documents.add(); | |
var docRef = documents[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
class Blob { | |
PShape s, stroke, fills, shadow, accentOne, accentTwo, accentThree; | |
int baseColor = floor(random(100)); | |
int x, y; | |
float hScale, vScale; | |
// constructor | |
Blob(int blob_x, int blob_y, int blob_w, int blob_h) { | |
x = blob_x; | |
y = blob_y; |
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
var thisPage = window.location.pathname; | |
var pageArray = thisPage.split('/'); | |
$('nav ul li.' + pageArray[1]).addClass('active'); | |
$('nav ul li .sub a[href="' + thisPage + '"]').addClass('active'); |
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
<a href="#" <?php if(substr($_SERVER['SCRIPT_NAME'], $start, $length) == $pathName){echo 'class="active"';} ?>>Text</a> |
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 | |
// Based on http://www.realisingdesigns.com/2009/10/29/using-google-docs-as-a-quick-and-easy-cms/ | |
// Specify document ID | |
$gd_doc = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; | |
$gd_array = array(); | |
$gd_array["url"] = "https://docs.google.com/document/pub?id=".$gd_doc; | |
$gd_array["start"] = '<div id="contents">'; |