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
//Psuedocode (To be updated) | |
var $window = window.innerWidth; | |
$(window).resize(function{ | |
$window = window.innerWidth; | |
}); | |
$('.region').each(function(){ | |
var $breakpoint = data-breakpoint; |
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
.cssgradients #hot-links h2 a:hover { | |
-webkit-background-clip: text; | |
color: white; | |
-webkit-text-fill-color: transparent; | |
background-image: -webkit-gradient(linear, left top, right top, from(#ea8711), to(#d96363)); | |
background-image: -webkit-linear-gradient(left, #ea8711, #d96363, #73a6df, #9085fb, #52ca79); | |
background-image: -moz-linear-gradient(left, #ea8711, #d96363, #73a6df, #9085fb, #52ca79); | |
background-image: -ms-linear-gradient(left, #ea8711, #d96363, #73a6df, #9085fb, #52ca79); | |
background-image: -o-linear-gradient(left, #ea8711, #d96363, #73a6df, #9085fb, #52ca79); | |
} |
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
#eyebrow-wrap { | |
display: none; | |
} | |
body.with-eyebrow #global-nav { | |
top: 0 !important; /* might need an !important for Safari or Chrome */ | |
} |
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
p.whatever-class-it-is { | |
position: relative; | |
text-align: center; | |
padding: 1.5em 0; //this controls the spacing between the rules | |
} | |
p.whatever-class-it-is:after, p.whatever-class-it-is:before { | |
content: ''; | |
position: absolute; | |
left: 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
$(document).ready(function() { | |
(function(){ | |
//cache variables | |
var iw = $('html').width(), | |
wh = screen.height; | |
alert('screen height: '+ wh +', inner-width: ' + iw); | |
if (wh == 768 || wh == 1024) { |
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
/*! | |
* mustache.js - Logic-less {{mustache}} templates with JavaScript | |
* http://github.com/janl/mustache.js | |
*/ | |
/*global define: false*/ | |
/* | |
* This had to be altered from normal mustache.js to work with adobe DOM |
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
@media screen and (device-aspect-ratio:1/1) { | |
/* anything in here will work on Fires. Seriously. */ | |
} | |
@media not all and (device-aspect-ratio:1/1) { | |
/* anything in here will work on e-inks */ | |
} |
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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Styling a poem</title> | |
<style type="text/css"> | |
html,body { | |
height: 100%; | |
width: 100%; | |
} |
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
-epub-hyphens: none; | |
adobe-hyphenate: none; | |
-webkit-hyphens: none; | |
-moz-hyphens: none; | |
-ms-hyphens: none; | |
-o-hyphens: none; | |
hyphens: none; |
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
//originally published here: http://www.pdsassoc.com/downloads/ReassertParaStyles.js.zip | |
//rewritten to be CC compliant | |
//DESCRIPTION: Visit all paragraphs in document and reassert paragraph styles | |
myStyles = app.activeDocument.allParagraphStyles; | |
app.findTextPreferences = null; | |
app.changeTextPreferences = null; | |
for (var n = 1; myStyles.length > n; n++){ | |
app.findTextPreferences.appliedParagraphStyle = myStyles[n]; | |
app.changeTextPreferences.appliedParagraphStyle = myStyles[n]; |
OlderNewer