├── 2. Content Stage
├── 2.1 Content n Responsiveness Plan
│ └── ContentPlan.rtf
└── 2.2 Assemble Content
│ ├── TextContent.rtf
│ └── logo.png
├── 3. Style Tiles Stage
└── 3.2 CreatingStyleTiles
│ └── StyleTiles01.psd
├── 4. Foundational Code Stage
├── 4.1 Basic Code Shell
│ ├── css
│ │ ├── normalize.css
│ │ └── style.css
│ ├── img
│ │ └── wideimage.jpg
│ ├── index.html
│ └── js
│ │ ├── jquery.js
│ │ ├── modernizr.js
│ │ └── rwd.js
└── 4.2 and 4.3 Add Unstyled Content
│ ├── css
│ ├── normalize.css
│ └── style.css
│ ├── img
│ └── logo.png
│ ├── index.html
│ └── js
│ ├── jquery.js
│ ├── modernizr.js
│ └── rwd.js
├── 5. Style Code Stage
└── 5.1 Style Tiles to CSS
│ ├── css
│ ├── normalize.css
│ ├── style.css
│ └── style_01.css
│ ├── img
│ └── logo.png
│ ├── index.html
│ └── js
│ ├── jquery.js
│ ├── modernizr.js
│ └── rwd.js
├── 6. Optimization Stage
├── 6.1 "picture" Element
│ ├── css
│ │ ├── normalize.css
│ │ ├── style.css
│ │ └── style_01.css
│ ├── img
│ │ ├── logo.png
│ │ ├── logo_retina.png
│ │ └── test
│ │ │ └── logo_retina.png
│ ├── index.html
│ ├── js
│ │ ├── jquery.js
│ │ ├── modernizr.js
│ │ ├── picturefill.js
│ │ └── rwd.js
│ ├── logo-assets
│ │ ├── logo.png
│ │ └── logo_retina.png
│ ├── logo.psd
│ └── prepros.cfg
└── 6.2 Autoprefix Combine Minify
│ ├── All 3 tasks in one command.txt
│ ├── css
│ ├── normalize.css
│ ├── style.com.css
│ ├── style.css
│ ├── style.min.css
│ └── style_01.css
│ ├── img
│ ├── logo.png
│ └── logo_retina.png
│ ├── index.html
│ └── js
│ ├── jquery.js
│ ├── modernizr.js
│ ├── picturefill.js
│ ├── rwd-dist.js
│ └── rwd.js
└── README.md
/2. Content Stage/2.1 Content n Responsiveness Plan/ContentPlan.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf1343\cocoasubrtf160
2 | {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
3 | {\colortbl;\red255\green255\blue255;}
4 | {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}
5 | {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2}
6 | {\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid201\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid3}}
7 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}}
8 | \paperw11900\paperh16840\margl1440\margr1440\vieww25100\viewh12600\viewkind0
9 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
10 |
11 | \f0\b\fs32 \cf0 \
12 | 1). Header & Menu
13 | \b0 \
14 | Left aligned:\
15 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
16 | \ls1\ilvl0\cf0 {\listtext \'95 }Logo image\
17 | {\listtext \'95 }Business name - web font for SEO readability\
18 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
19 | \cf0 Right aligned:\
20 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
21 | \ls2\ilvl0\cf0 {\listtext \'95 }Main nav menu\
22 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
23 | \cf0 \
24 |
25 | \b 2). Hero unit
26 | \b0 \
27 | Headline & subheadline - 2 second pitch of what\'92s on offer\
28 | Call to action buttons; one will link to purchase, and one to more information.\
29 | \
30 |
31 | \b 3). Major Selling Points
32 | \b0 \
33 | Four items each with a top selling point, in columns at full width and stacked at small width.\
34 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
35 | \ls3\ilvl0\cf0 {\listtext \'95 }Left aligned icon + Headline text\
36 | {\listtext \'95 }Short paragraph\
37 | {\listtext \'95 }Link to more info\
38 | \pard\tx559\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\li478\fi3\sl288\slmult1\pardirnatural
39 | \cf0 \
40 |
41 | \b 4). Expanded Info A\
42 |
43 | \b0 Left aligned promo video\
44 | Right aligned welcome message heading and 2 - 3 paragraphs intro text\
45 | \
46 |
47 | \b 5). Expanded Info B\
48 |
49 | \b0 Selection of four testimonials.\
50 | Headline at top of section.\
51 | Each has the comment text, and below that source.
52 | \b \
53 | \
54 | 6). Footer
55 | \b0 \
56 | Left aligned copyright notice\
57 | Right aligned social media icons linked}
--------------------------------------------------------------------------------
/2. Content Stage/2.2 Assemble Content/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/responsive-web-design-revisited/9be2dceee38fc0cda94cdcc7772d9ff20d1bd27a/2. Content Stage/2.2 Assemble Content/logo.png
--------------------------------------------------------------------------------
/3. Style Tiles Stage/3.2 CreatingStyleTiles/StyleTiles01.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/responsive-web-design-revisited/9be2dceee38fc0cda94cdcc7772d9ff20d1bd27a/3. Style Tiles Stage/3.2 CreatingStyleTiles/StyleTiles01.psd
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.1 Basic Code Shell/css/normalize.css:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 |
3 | /**
4 | * 1. Set default font family to sans-serif.
5 | * 2. Prevent iOS text size adjust after orientation change, without disabling
6 | * user zoom.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove default margin.
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Correct `block` display not defined for any HTML5 element in IE 8/9.
28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11
29 | * and Firefox.
30 | * Correct `block` display not defined for `main` in IE 11.
31 | */
32 |
33 | article,
34 | aside,
35 | details,
36 | figcaption,
37 | figure,
38 | footer,
39 | header,
40 | hgroup,
41 | main,
42 | menu,
43 | nav,
44 | section,
45 | summary {
46 | display: block;
47 | }
48 |
49 | /**
50 | * 1. Correct `inline-block` display not defined in IE 8/9.
51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52 | */
53 |
54 | audio,
55 | canvas,
56 | progress,
57 | video {
58 | display: inline-block; /* 1 */
59 | vertical-align: baseline; /* 2 */
60 | }
61 |
62 | /**
63 | * Prevent modern browsers from displaying `audio` without controls.
64 | * Remove excess height in iOS 5 devices.
65 | */
66 |
67 | audio:not([controls]) {
68 | display: none;
69 | height: 0;
70 | }
71 |
72 | /**
73 | * Address `[hidden]` styling not present in IE 8/9/10.
74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75 | */
76 |
77 | [hidden],
78 | template {
79 | display: none;
80 | }
81 |
82 | /* Links
83 | ========================================================================== */
84 |
85 | /**
86 | * Remove the gray background color from active links in IE 10.
87 | */
88 |
89 | a {
90 | background-color: transparent;
91 | }
92 |
93 | /**
94 | * Improve readability when focused and also mouse hovered in all browsers.
95 | */
96 |
97 | a:active,
98 | a:hover {
99 | outline: 0;
100 | }
101 |
102 | /* Text-level semantics
103 | ========================================================================== */
104 |
105 | /**
106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107 | */
108 |
109 | abbr[title] {
110 | border-bottom: 1px dotted;
111 | }
112 |
113 | /**
114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115 | */
116 |
117 | b,
118 | strong {
119 | font-weight: bold;
120 | }
121 |
122 | /**
123 | * Address styling not present in Safari and Chrome.
124 | */
125 |
126 | dfn {
127 | font-style: italic;
128 | }
129 |
130 | /**
131 | * Address variable `h1` font-size and margin within `section` and `article`
132 | * contexts in Firefox 4+, Safari, and Chrome.
133 | */
134 |
135 | h1 {
136 | font-size: 2em;
137 | margin: 0.67em 0;
138 | }
139 |
140 | /**
141 | * Address styling not present in IE 8/9.
142 | */
143 |
144 | mark {
145 | background: #ff0;
146 | color: #000;
147 | }
148 |
149 | /**
150 | * Address inconsistent and variable font size in all browsers.
151 | */
152 |
153 | small {
154 | font-size: 80%;
155 | }
156 |
157 | /**
158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers.
159 | */
160 |
161 | sub,
162 | sup {
163 | font-size: 75%;
164 | line-height: 0;
165 | position: relative;
166 | vertical-align: baseline;
167 | }
168 |
169 | sup {
170 | top: -0.5em;
171 | }
172 |
173 | sub {
174 | bottom: -0.25em;
175 | }
176 |
177 | /* Embedded content
178 | ========================================================================== */
179 |
180 | /**
181 | * Remove border when inside `a` element in IE 8/9/10.
182 | */
183 |
184 | img {
185 | border: 0;
186 | }
187 |
188 | /**
189 | * Correct overflow not hidden in IE 9/10/11.
190 | */
191 |
192 | svg:not(:root) {
193 | overflow: hidden;
194 | }
195 |
196 | /* Grouping content
197 | ========================================================================== */
198 |
199 | /**
200 | * Address margin not present in IE 8/9 and Safari.
201 | */
202 |
203 | figure {
204 | margin: 1em 40px;
205 | }
206 |
207 | /**
208 | * Address differences between Firefox and other browsers.
209 | */
210 |
211 | hr {
212 | -moz-box-sizing: content-box;
213 | box-sizing: content-box;
214 | height: 0;
215 | }
216 |
217 | /**
218 | * Contain overflow in all browsers.
219 | */
220 |
221 | pre {
222 | overflow: auto;
223 | }
224 |
225 | /**
226 | * Address odd `em`-unit font size rendering in all browsers.
227 | */
228 |
229 | code,
230 | kbd,
231 | pre,
232 | samp {
233 | font-family: monospace, monospace;
234 | font-size: 1em;
235 | }
236 |
237 | /* Forms
238 | ========================================================================== */
239 |
240 | /**
241 | * Known limitation: by default, Chrome and Safari on OS X allow very limited
242 | * styling of `select`, unless a `border` property is set.
243 | */
244 |
245 | /**
246 | * 1. Correct color not being inherited.
247 | * Known issue: affects color of disabled elements.
248 | * 2. Correct font properties not being inherited.
249 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250 | */
251 |
252 | button,
253 | input,
254 | optgroup,
255 | select,
256 | textarea {
257 | color: inherit; /* 1 */
258 | font: inherit; /* 2 */
259 | margin: 0; /* 3 */
260 | }
261 |
262 | /**
263 | * Address `overflow` set to `hidden` in IE 8/9/10/11.
264 | */
265 |
266 | button {
267 | overflow: visible;
268 | }
269 |
270 | /**
271 | * Address inconsistent `text-transform` inheritance for `button` and `select`.
272 | * All other form control elements do not inherit `text-transform` values.
273 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274 | * Correct `select` style inheritance in Firefox.
275 | */
276 |
277 | button,
278 | select {
279 | text-transform: none;
280 | }
281 |
282 | /**
283 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284 | * and `video` controls.
285 | * 2. Correct inability to style clickable `input` types in iOS.
286 | * 3. Improve usability and consistency of cursor style between image-type
287 | * `input` and others.
288 | */
289 |
290 | button,
291 | html input[type="button"], /* 1 */
292 | input[type="reset"],
293 | input[type="submit"] {
294 | -webkit-appearance: button; /* 2 */
295 | cursor: pointer; /* 3 */
296 | }
297 |
298 | /**
299 | * Re-set default cursor for disabled elements.
300 | */
301 |
302 | button[disabled],
303 | html input[disabled] {
304 | cursor: default;
305 | }
306 |
307 | /**
308 | * Remove inner padding and border in Firefox 4+.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | input::-moz-focus-inner {
313 | border: 0;
314 | padding: 0;
315 | }
316 |
317 | /**
318 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319 | * the UA stylesheet.
320 | */
321 |
322 | input {
323 | line-height: normal;
324 | }
325 |
326 | /**
327 | * It's recommended that you don't attempt to style these elements.
328 | * Firefox's implementation doesn't respect box-sizing, padding, or width.
329 | *
330 | * 1. Address box sizing set to `content-box` in IE 8/9/10.
331 | * 2. Remove excess padding in IE 8/9/10.
332 | */
333 |
334 | input[type="checkbox"],
335 | input[type="radio"] {
336 | box-sizing: border-box; /* 1 */
337 | padding: 0; /* 2 */
338 | }
339 |
340 | /**
341 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342 | * `font-size` values of the `input`, it causes the cursor style of the
343 | * decrement button to change from `default` to `text`.
344 | */
345 |
346 | input[type="number"]::-webkit-inner-spin-button,
347 | input[type="number"]::-webkit-outer-spin-button {
348 | height: auto;
349 | }
350 |
351 | /**
352 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354 | * (include `-moz` to future-proof).
355 | */
356 |
357 | input[type="search"] {
358 | -webkit-appearance: textfield; /* 1 */
359 | -moz-box-sizing: content-box;
360 | -webkit-box-sizing: content-box; /* 2 */
361 | box-sizing: content-box;
362 | }
363 |
364 | /**
365 | * Remove inner padding and search cancel button in Safari and Chrome on OS X.
366 | * Safari (but not Chrome) clips the cancel button when the search input has
367 | * padding (and `textfield` appearance).
368 | */
369 |
370 | input[type="search"]::-webkit-search-cancel-button,
371 | input[type="search"]::-webkit-search-decoration {
372 | -webkit-appearance: none;
373 | }
374 |
375 | /**
376 | * Define consistent border, margin, and padding.
377 | */
378 |
379 | fieldset {
380 | border: 1px solid #c0c0c0;
381 | margin: 0 2px;
382 | padding: 0.35em 0.625em 0.75em;
383 | }
384 |
385 | /**
386 | * 1. Correct `color` not being inherited in IE 8/9/10/11.
387 | * 2. Remove padding so people aren't caught out if they zero out fieldsets.
388 | */
389 |
390 | legend {
391 | border: 0; /* 1 */
392 | padding: 0; /* 2 */
393 | }
394 |
395 | /**
396 | * Remove default vertical scrollbar in IE 8/9/10/11.
397 | */
398 |
399 | textarea {
400 | overflow: auto;
401 | }
402 |
403 | /**
404 | * Don't inherit the `font-weight` (applied by a rule above).
405 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
406 | */
407 |
408 | optgroup {
409 | font-weight: bold;
410 | }
411 |
412 | /* Tables
413 | ========================================================================== */
414 |
415 | /**
416 | * Remove most spacing between table cells.
417 | */
418 |
419 | table {
420 | border-collapse: collapse;
421 | border-spacing: 0;
422 | }
423 |
424 | td,
425 | th {
426 | padding: 0;
427 | }
428 |
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.1 Basic Code Shell/css/style.css:
--------------------------------------------------------------------------------
1 | /*------------------*/
2 | /* Basic Code Shell */
3 | /*------------------*/
4 |
5 | * {
6 | box-sizing: border-box;
7 | }
8 |
9 | /* Optional min width */
10 | html {
11 | min-width: 20rem;
12 | }
13 |
14 | body {
15 | font-size: 1.125rem;
16 | line-height: 1.618em;
17 | }
18 |
19 | img {
20 | max-width: 100%;
21 | height: auto;
22 | }
23 |
24 | a,
25 | a:link,
26 | a:visited {
27 | text-decoration: none;
28 | }
29 |
30 | a:hover,
31 | a:active {
32 | text-decoration: none;
33 | }
34 |
35 | h1, h2, h3, h4, h5, h6 {
36 | line-height: 1.313em;
37 | }
38 |
39 | h1 {
40 | font-size: 3em;
41 | margin: 0.563em 0;
42 | }
43 |
44 | h2 {
45 | font-size: 2.25em;
46 | margin: 0.625em 0;
47 | }
48 |
49 | h3 {
50 | font-size: 1.5em;
51 | margin: 1.313em 0;
52 | }
53 |
54 | h4 {
55 | font-size: 1.313em;
56 | margin: 1.313em 0;
57 | }
58 |
59 | h5 {
60 | font-size: 1.125em;
61 | margin: 1.313em 0;
62 | }
63 |
64 | h6 {
65 | font-size: 1em;
66 | margin: 0.75em 0;
67 | }
68 |
69 | .clearfix:before,
70 | .clearfix:after {
71 | content: " ";
72 | display: table;
73 | }
74 | .clearfix:after {
75 | clear: both;
76 | }
77 |
78 | .hidden {
79 | display: none !important;
80 | }
81 |
82 | .wrap {
83 | max-width: 75rem;
84 | width: 100%;
85 | margin: 0 auto;
86 | }
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.1 Basic Code Shell/img/wideimage.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/responsive-web-design-revisited/9be2dceee38fc0cda94cdcc7772d9ff20d1bd27a/4. Foundational Code Stage/4.1 Basic Code Shell/img/wideimage.jpg
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.1 Basic Code Shell/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Start Up - Welcome
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Heading 1
17 | Heading 2
18 | Heading 3
19 | Heading 4
20 | Heading 5
21 | Heading 6
22 | 'I've tried the roots of trees, and I've tried banks, and I've tried hedges,' the Pigeon went on, without attending to her; 'but those serpents! There's no pleasing them!'
23 | Alice was more and more puzzled, but she thought there was no use in saying anything more till the Pigeon had finished.
24 |
25 | 'As if it wasn't trouble enough hatching the eggs,' said the Pigeon; 'but I must be on the look-out for serpents night and day! Why, I haven't had a wink of sleep these three weeks!'
26 |
27 | 'I'm very sorry you've been annoyed,' said Alice, who was beginning to see its meaning.
28 | 'And just as I'd taken the highest tree in the wood,' continued the Pigeon, raising its voice to a shriek, 'and just as I was thinking I should be free of them at last, they must needs come wriggling down from the sky! Ugh, Serpent!'
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.1 Basic Code Shell/js/modernizr.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-audio-video-shiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-css_remunit-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var I in r)A(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f
2 |
3 |
4 |
5 |
6 | Start Up - Welcome
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
START UP
21 |
22 |
23 |
24 |
25 | Main Navigation
26 |
27 |
28 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
Become More Awesome Instantly
51 |
Start Up will upgrade your awesomeness to twice the level you have now.
52 |
56 |
57 |
58 |
59 |
60 |
61 | Why Start Up is Amazing
62 |
63 |
64 |
Takes Effect Instantly
65 |
You don’t want to wait to become more awesome, you want it right now! And that’s exactly what you’ll get.
66 |
How it works ›››
67 |
68 |
69 |
70 |
Works for Everyone
71 |
It doesn’t matter how awesome you are already, the increase you get will take you up to maximum potential.
72 |
How you're covered ›››
73 |
74 |
75 |
76 |
Permanent Upgrade
77 |
There is no expiry date on your new awesomeness upgrade. It will stay active from the moment you equip it, forever.
78 |
Lifetime awesomeness ›››
79 |
80 |
81 |
82 |
Proven Formula
83 |
80,000 people have already upgraded their awesomeness. Our track record makes us trusted worldwide.
84 |
Method for success ›››
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
Welcome to Start Up
98 |
We are excited to launch our new company and product Start Up. After being featured in too many magazines to mention and having created an online stir, we know that Start Up is going to be big. You may have seen us in the Dinosaurs’ Den where we were we told that we didn’t need them because we were already doing it so well ourselves, so that’s what we have continued to do. We also hope to win Fictional Business of the Year this year.
99 |
Browse our site and see for yourself why you need Start Up.
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 | What People Are Saying
108 |
109 |
110 |
“It’s just brilliant. I will recommend Start Up to everyone I know!”
111 |
112 |
- A. Girl
113 |
114 |
115 |
116 |
“I’m really glad these guys got Start Up out there. I’ve bought it and now think perhaps I should have invested!”
117 |
118 |
- A. Dinosaur
119 |
120 |
121 |
122 |
“What a product. Why didn’t someone think of it sooner?”
123 |
124 |
- One of the Magazines
125 |
126 |
127 |
128 |
“Get out there and buy it if you’re a customer and stock it if you’re a retailer – you’d be mad not to!”
129 |
130 |
- Some other Magazine
131 |
132 |
133 |
134 |
135 |
136 |
137 |
160 |
161 |
162 |
163 |
--------------------------------------------------------------------------------
/4. Foundational Code Stage/4.2 and 4.3 Add Unstyled Content/js/modernizr.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-audio-video-shiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-css_remunit-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var I in r)A(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f
2 |
3 |
4 |
5 |
6 | Start Up - Welcome
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
START UP
22 |
23 |
24 |
25 |
26 | Main Navigation
27 |
28 |
29 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
Become More Awesome Instantly
52 |
Start Up will upgrade your awesomeness to twice the level you have now.
53 |
57 |
58 |
59 |
60 |
61 |
62 | Why Start Up is Amazing
63 |
64 |
65 |
Takes Effect Instantly
66 |
You don’t want to wait to become more awesome, you want it right now! And that’s exactly what you’ll get.
67 |
How it works ›››
68 |
69 |
70 |
71 |
Works for Everyone
72 |
It doesn’t matter how awesome you are already, the increase you get will take you up to maximum potential.
73 |
How you're covered ›››
74 |
75 |
76 |
77 |
Permanent Upgrade
78 |
There is no expiry date on your new awesomeness upgrade. It will stay active from the moment you equip it, forever.
79 |
Lifetime awesomeness ›››
80 |
81 |
82 |
83 |
Proven Formula
84 |
80,000 people have already upgraded their awesomeness. Our track record makes us trusted worldwide.
85 |
Method for success ›››
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
Welcome to Start Up
99 |
We are excited to launch our new company and product Start Up. After being featured in too many magazines to mention and having created an online stir, we know that Start Up is going to be big. You may have seen us in the Dinosaurs’ Den where we were we told that we didn’t need them because we were already doing it so well ourselves, so that’s what we have continued to do. We also hope to win Fictional Business of the Year this year.
100 |
Browse our site and see for yourself why you need Start Up.
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 | What People Are Saying
109 |
110 |
111 |
“It’s just brilliant. I will recommend Start Up to everyone I know!”
112 |
113 |
- A. Girl
114 |
115 |
116 |
117 |
“I’m really glad these guys got Start Up out there. I’ve bought it and now think perhaps I should have invested!”
118 |
119 |
- A. Dinosaur
120 |
121 |
122 |
123 |
“What a product. Why didn’t someone think of it sooner?”
124 |
125 |
- One of the Magazines
126 |
127 |
128 |
129 |
“Get out there and buy it if you’re a customer and stock it if you’re a retailer – you’d be mad not to!”
130 |
131 |
- Some other Magazine
132 |
133 |
134 |
135 |
136 |
137 |
138 |
161 |
162 |
163 |
164 |
--------------------------------------------------------------------------------
/5. Style Code Stage/5.1 Style Tiles to CSS/js/modernizr.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-audio-video-shiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-css_remunit-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var I in r)A(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f
2 |
3 |
4 |
5 |
6 | Start Up - Welcome
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
START UP
30 |
31 |
32 |
33 |
34 | Main Navigation
35 |
36 |
37 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
Become More Awesome Instantly
60 |
Start Up will upgrade your awesomeness to twice the level you have now.
61 |
65 |
66 |
67 |
68 |
69 |
70 | Why Start Up is Amazing
71 |
72 |
73 |
Takes Effect Instantly
74 |
You don’t want to wait to become more awesome, you want it right now! And that’s exactly what you’ll get.
75 |
How it works ›››
76 |
77 |
78 |
79 |
Works for Everyone
80 |
It doesn’t matter how awesome you are already, the increase you get will take you up to maximum potential.
81 |
How you're covered ›››
82 |
83 |
84 |
85 |
Permanent Upgrade
86 |
There is no expiry date on your new awesomeness upgrade. It will stay active from the moment you equip it, forever.
87 |
Lifetime awesomeness ›››
88 |
89 |
90 |
91 |
Proven Formula
92 |
80,000 people have already upgraded their awesomeness. Our track record makes us trusted worldwide.
93 |
Method for success ›››
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
Welcome to Start Up
107 |
We are excited to launch our new company and product Start Up. After being featured in too many magazines to mention and having created an online stir, we know that Start Up is going to be big. You may have seen us in the Dinosaurs’ Den where we were we told that we didn’t need them because we were already doing it so well ourselves, so that’s what we have continued to do. We also hope to win Fictional Business of the Year this year.
108 |
Browse our site and see for yourself why you need Start Up.
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 | What People Are Saying
117 |
118 |
119 |
“It’s just brilliant. I will recommend Start Up to everyone I know!”
120 |
121 |
- A. Girl
122 |
123 |
124 |
125 |
“I’m really glad these guys got Start Up out there. I’ve bought it and now think perhaps I should have invested!”
126 |
127 |
- A. Dinosaur
128 |
129 |
130 |
131 |
“What a product. Why didn’t someone think of it sooner?”
132 |
133 |
- One of the Magazines
134 |
135 |
136 |
137 |
“Get out there and buy it if you’re a customer and stock it if you’re a retailer – you’d be mad not to!”
138 |
139 |
- Some other Magazine
140 |
141 |
142 |
143 |
144 |
145 |
146 |
169 |
170 |
171 |
172 |
--------------------------------------------------------------------------------
/6. Optimization Stage/6.1 "picture" Element/js/modernizr.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-audio-video-shiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-css_remunit-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var I in r)A(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f style.com.css && autoprefixer style.com.css && cssc style.com.css > style.min.css
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/css/normalize.css:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 |
3 | /**
4 | * 1. Set default font family to sans-serif.
5 | * 2. Prevent iOS text size adjust after orientation change, without disabling
6 | * user zoom.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove default margin.
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Correct `block` display not defined for any HTML5 element in IE 8/9.
28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11
29 | * and Firefox.
30 | * Correct `block` display not defined for `main` in IE 11.
31 | */
32 |
33 | article,
34 | aside,
35 | details,
36 | figcaption,
37 | figure,
38 | footer,
39 | header,
40 | hgroup,
41 | main,
42 | menu,
43 | nav,
44 | section,
45 | summary {
46 | display: block;
47 | }
48 |
49 | /**
50 | * 1. Correct `inline-block` display not defined in IE 8/9.
51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52 | */
53 |
54 | audio,
55 | canvas,
56 | progress,
57 | video {
58 | display: inline-block; /* 1 */
59 | vertical-align: baseline; /* 2 */
60 | }
61 |
62 | /**
63 | * Prevent modern browsers from displaying `audio` without controls.
64 | * Remove excess height in iOS 5 devices.
65 | */
66 |
67 | audio:not([controls]) {
68 | display: none;
69 | height: 0;
70 | }
71 |
72 | /**
73 | * Address `[hidden]` styling not present in IE 8/9/10.
74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75 | */
76 |
77 | [hidden],
78 | template {
79 | display: none;
80 | }
81 |
82 | /* Links
83 | ========================================================================== */
84 |
85 | /**
86 | * Remove the gray background color from active links in IE 10.
87 | */
88 |
89 | a {
90 | background-color: transparent;
91 | }
92 |
93 | /**
94 | * Improve readability when focused and also mouse hovered in all browsers.
95 | */
96 |
97 | a:active,
98 | a:hover {
99 | outline: 0;
100 | }
101 |
102 | /* Text-level semantics
103 | ========================================================================== */
104 |
105 | /**
106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107 | */
108 |
109 | abbr[title] {
110 | border-bottom: 1px dotted;
111 | }
112 |
113 | /**
114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115 | */
116 |
117 | b,
118 | strong {
119 | font-weight: bold;
120 | }
121 |
122 | /**
123 | * Address styling not present in Safari and Chrome.
124 | */
125 |
126 | dfn {
127 | font-style: italic;
128 | }
129 |
130 | /**
131 | * Address variable `h1` font-size and margin within `section` and `article`
132 | * contexts in Firefox 4+, Safari, and Chrome.
133 | */
134 |
135 | h1 {
136 | font-size: 2em;
137 | margin: 0.67em 0;
138 | }
139 |
140 | /**
141 | * Address styling not present in IE 8/9.
142 | */
143 |
144 | mark {
145 | background: #ff0;
146 | color: #000;
147 | }
148 |
149 | /**
150 | * Address inconsistent and variable font size in all browsers.
151 | */
152 |
153 | small {
154 | font-size: 80%;
155 | }
156 |
157 | /**
158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers.
159 | */
160 |
161 | sub,
162 | sup {
163 | font-size: 75%;
164 | line-height: 0;
165 | position: relative;
166 | vertical-align: baseline;
167 | }
168 |
169 | sup {
170 | top: -0.5em;
171 | }
172 |
173 | sub {
174 | bottom: -0.25em;
175 | }
176 |
177 | /* Embedded content
178 | ========================================================================== */
179 |
180 | /**
181 | * Remove border when inside `a` element in IE 8/9/10.
182 | */
183 |
184 | img {
185 | border: 0;
186 | }
187 |
188 | /**
189 | * Correct overflow not hidden in IE 9/10/11.
190 | */
191 |
192 | svg:not(:root) {
193 | overflow: hidden;
194 | }
195 |
196 | /* Grouping content
197 | ========================================================================== */
198 |
199 | /**
200 | * Address margin not present in IE 8/9 and Safari.
201 | */
202 |
203 | figure {
204 | margin: 1em 40px;
205 | }
206 |
207 | /**
208 | * Address differences between Firefox and other browsers.
209 | */
210 |
211 | hr {
212 | -moz-box-sizing: content-box;
213 | box-sizing: content-box;
214 | height: 0;
215 | }
216 |
217 | /**
218 | * Contain overflow in all browsers.
219 | */
220 |
221 | pre {
222 | overflow: auto;
223 | }
224 |
225 | /**
226 | * Address odd `em`-unit font size rendering in all browsers.
227 | */
228 |
229 | code,
230 | kbd,
231 | pre,
232 | samp {
233 | font-family: monospace, monospace;
234 | font-size: 1em;
235 | }
236 |
237 | /* Forms
238 | ========================================================================== */
239 |
240 | /**
241 | * Known limitation: by default, Chrome and Safari on OS X allow very limited
242 | * styling of `select`, unless a `border` property is set.
243 | */
244 |
245 | /**
246 | * 1. Correct color not being inherited.
247 | * Known issue: affects color of disabled elements.
248 | * 2. Correct font properties not being inherited.
249 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250 | */
251 |
252 | button,
253 | input,
254 | optgroup,
255 | select,
256 | textarea {
257 | color: inherit; /* 1 */
258 | font: inherit; /* 2 */
259 | margin: 0; /* 3 */
260 | }
261 |
262 | /**
263 | * Address `overflow` set to `hidden` in IE 8/9/10/11.
264 | */
265 |
266 | button {
267 | overflow: visible;
268 | }
269 |
270 | /**
271 | * Address inconsistent `text-transform` inheritance for `button` and `select`.
272 | * All other form control elements do not inherit `text-transform` values.
273 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274 | * Correct `select` style inheritance in Firefox.
275 | */
276 |
277 | button,
278 | select {
279 | text-transform: none;
280 | }
281 |
282 | /**
283 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284 | * and `video` controls.
285 | * 2. Correct inability to style clickable `input` types in iOS.
286 | * 3. Improve usability and consistency of cursor style between image-type
287 | * `input` and others.
288 | */
289 |
290 | button,
291 | html input[type="button"], /* 1 */
292 | input[type="reset"],
293 | input[type="submit"] {
294 | -webkit-appearance: button; /* 2 */
295 | cursor: pointer; /* 3 */
296 | }
297 |
298 | /**
299 | * Re-set default cursor for disabled elements.
300 | */
301 |
302 | button[disabled],
303 | html input[disabled] {
304 | cursor: default;
305 | }
306 |
307 | /**
308 | * Remove inner padding and border in Firefox 4+.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | input::-moz-focus-inner {
313 | border: 0;
314 | padding: 0;
315 | }
316 |
317 | /**
318 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319 | * the UA stylesheet.
320 | */
321 |
322 | input {
323 | line-height: normal;
324 | }
325 |
326 | /**
327 | * It's recommended that you don't attempt to style these elements.
328 | * Firefox's implementation doesn't respect box-sizing, padding, or width.
329 | *
330 | * 1. Address box sizing set to `content-box` in IE 8/9/10.
331 | * 2. Remove excess padding in IE 8/9/10.
332 | */
333 |
334 | input[type="checkbox"],
335 | input[type="radio"] {
336 | box-sizing: border-box; /* 1 */
337 | padding: 0; /* 2 */
338 | }
339 |
340 | /**
341 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342 | * `font-size` values of the `input`, it causes the cursor style of the
343 | * decrement button to change from `default` to `text`.
344 | */
345 |
346 | input[type="number"]::-webkit-inner-spin-button,
347 | input[type="number"]::-webkit-outer-spin-button {
348 | height: auto;
349 | }
350 |
351 | /**
352 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354 | * (include `-moz` to future-proof).
355 | */
356 |
357 | input[type="search"] {
358 | -webkit-appearance: textfield; /* 1 */
359 | -moz-box-sizing: content-box;
360 | -webkit-box-sizing: content-box; /* 2 */
361 | box-sizing: content-box;
362 | }
363 |
364 | /**
365 | * Remove inner padding and search cancel button in Safari and Chrome on OS X.
366 | * Safari (but not Chrome) clips the cancel button when the search input has
367 | * padding (and `textfield` appearance).
368 | */
369 |
370 | input[type="search"]::-webkit-search-cancel-button,
371 | input[type="search"]::-webkit-search-decoration {
372 | -webkit-appearance: none;
373 | }
374 |
375 | /**
376 | * Define consistent border, margin, and padding.
377 | */
378 |
379 | fieldset {
380 | border: 1px solid #c0c0c0;
381 | margin: 0 2px;
382 | padding: 0.35em 0.625em 0.75em;
383 | }
384 |
385 | /**
386 | * 1. Correct `color` not being inherited in IE 8/9/10/11.
387 | * 2. Remove padding so people aren't caught out if they zero out fieldsets.
388 | */
389 |
390 | legend {
391 | border: 0; /* 1 */
392 | padding: 0; /* 2 */
393 | }
394 |
395 | /**
396 | * Remove default vertical scrollbar in IE 8/9/10/11.
397 | */
398 |
399 | textarea {
400 | overflow: auto;
401 | }
402 |
403 | /**
404 | * Don't inherit the `font-weight` (applied by a rule above).
405 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
406 | */
407 |
408 | optgroup {
409 | font-weight: bold;
410 | }
411 |
412 | /* Tables
413 | ========================================================================== */
414 |
415 | /**
416 | * Remove most spacing between table cells.
417 | */
418 |
419 | table {
420 | border-collapse: collapse;
421 | border-spacing: 0;
422 | }
423 |
424 | td,
425 | th {
426 | padding: 0;
427 | }
428 |
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/css/style.css:
--------------------------------------------------------------------------------
1 | @import "normalize.css";
2 |
3 | /*------------------*/
4 | /* Basic Code Shell */
5 | /*------------------*/
6 |
7 | * {
8 | box-sizing: border-box;
9 | }
10 |
11 | /* Optional min width */
12 | html {
13 | min-width: 20rem;
14 | }
15 |
16 | body {
17 | font-size: 1.125rem;
18 | line-height: 1.618em;
19 | }
20 |
21 | img {
22 | max-width: 100%;
23 | height: auto;
24 | }
25 |
26 | a,
27 | a:link,
28 | a:visited {
29 | text-decoration: none;
30 | }
31 |
32 | a:hover,
33 | a:active {
34 | text-decoration: none;
35 | }
36 |
37 | h1, h2, h3, h4, h5, h6 {
38 | line-height: 1.313em;
39 | }
40 |
41 | h1 {
42 | font-size: 3em;
43 | margin: 0.563em 0;
44 | }
45 |
46 | h2 {
47 | font-size: 2.25em;
48 | margin: 0.625em 0;
49 | }
50 |
51 | h3 {
52 | font-size: 1.5em;
53 | margin: 1.313em 0;
54 | }
55 |
56 | h4 {
57 | font-size: 1.313em;
58 | margin: 1.313em 0;
59 | }
60 |
61 | h5 {
62 | font-size: 1.125em;
63 | margin: 1.313em 0;
64 | }
65 |
66 | h6 {
67 | font-size: 1em;
68 | margin: 0.75em 0;
69 | }
70 |
71 | .clearfix:before,
72 | .clearfix:after {
73 | content: " ";
74 | display: table;
75 | }
76 | .clearfix:after {
77 | clear: both;
78 | }
79 |
80 | .hidden {
81 | display: none !important;
82 | }
83 |
84 | .wrap {
85 | max-width: 75rem;
86 | width: 100%;
87 | margin: 0 auto;
88 | }
89 |
90 | @media (max-width: 79rem) {
91 | .wrap {
92 | padding: 0 2rem;
93 | }
94 | }
95 |
96 | @media (max-width: 37.5rem) {
97 | .wrap {
98 | padding: 0 1.5rem;
99 | }
100 | }
101 |
102 | /*------------------*/
103 | /* Unstyled Content */
104 | /*------------------*/
105 |
106 | body {
107 | font-family: Lato, "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
108 | }
109 |
110 | /* OVERRIDE HEADER WRAP PADDING */
111 |
112 | header.wrap {
113 | padding: 0;
114 | }
115 |
116 | /* LOGO AND TITLE */
117 |
118 | .logo_title {
119 | float: left;
120 | margin: 2.1875rem 0;
121 | }
122 |
123 | .logo {
124 | margin-right: 1em;
125 | vertical-align: top;
126 | /* This line scales the logo with base font size if necessary */
127 | width: 2.8125rem;
128 | }
129 |
130 | h1.title {
131 | display: inline;
132 | font-weight: 900;
133 | font-size: 2.625rem;
134 | line-height: 2.8125rem;
135 | }
136 |
137 | h1.title span {
138 | font-weight: 300;
139 | }
140 |
141 | @media (max-width: 79rem) {
142 | .logo_title {
143 | margin-left: 2rem;
144 | }
145 | }
146 |
147 | @media (max-width: 37.5rem) {
148 | .logo_title {
149 | margin-left: 1.5rem;
150 | }
151 | }
152 |
153 | @media (max-width: 400px) {
154 | .logo {
155 | margin-right:0.5em;
156 | }
157 | h1.title {
158 | font-size: 2rem;
159 | }
160 | }
161 |
162 | /* NAV MENU */
163 |
164 | .navmenu a {
165 | text-decoration: none;
166 | }
167 |
168 | ul.navmenu {
169 | font-size: 1rem;
170 | margin: 0;
171 | padding: 0;
172 | list-style: none;
173 | position: relative;
174 | white-space: nowrap;
175 | }
176 |
177 | ul.navmenu:after {
178 | content: "";
179 | clear: both;
180 | display: block;
181 | }
182 |
183 | ul.navmenu li {
184 | cursor: pointer;
185 | list-style: none;
186 | display: block;
187 | position: relative;
188 | padding: 0;
189 | }
190 |
191 | ul.navmenu li a {
192 | display: inline-block;
193 | }
194 |
195 | /* switch symbol for showing child */
196 | ul.navmenu li span {
197 | display: inline-block;
198 | text-align: right;
199 | width: 1.4em;
200 | }
201 |
202 | /* show child */
203 | /*ul.navmenu li:hover ul,*/
204 | ul.navmenu li ul.childopen
205 | {
206 | display: block;
207 | }
208 |
209 | ul.navmenu li ul {
210 | display: none;
211 | }
212 |
213 | /* expanded nav child menu */
214 | ul.navmenu li ul {
215 | padding: 0;
216 | }
217 |
218 | /* expanded nav menu */
219 | @media (min-width: 61rem) {
220 |
221 | .navicon {
222 | display: none;
223 | }
224 |
225 | .navmenu {
226 | display: block;
227 | }
228 |
229 | ul.navmenu {
230 | float: right;
231 | display: inline-table;
232 | padding: 0 1em;
233 | }
234 |
235 | ul.navmenu li {
236 | float: left;
237 | }
238 |
239 | ul.navmenu li a {
240 | line-height: 7.1875rem;
241 | padding: 0 1.5625rem;
242 | }
243 |
244 | /* expanded nav child menu */
245 | ul.navmenu li ul {
246 | position: absolute;
247 | z-index: 999;
248 | top: 100%;
249 | left: 0;
250 | }
251 |
252 | ul.navmenu li ul li {
253 | float: none;
254 | }
255 |
256 | ul.navmenu li ul li a {
257 | width: 100%;
258 | line-height: 4.5rem;
259 | padding: 0 2.1875rem;
260 | }
261 |
262 | }
263 |
264 | /* collapsed nav menu */
265 | @media (max-width: 61rem) {
266 |
267 | .navicon {
268 | float: right;
269 | font-size: 1.65rem;
270 | line-height: 2.8125rem;
271 | text-align: center;
272 | width: 3.4rem;
273 | margin: 2.1875rem 2rem 2.1875rem 0;
274 | cursor: pointer;
275 | }
276 |
277 | .navmenu {
278 | clear: left;
279 | display: none;
280 | }
281 |
282 | .navmenu.show {
283 | display: block;
284 | }
285 |
286 | ul.navmenu li a {
287 | width: 100%;
288 | line-height: 4.5rem;
289 | padding: 0 2.1875rem;
290 | }
291 |
292 | /* collapsed nav child menu */
293 | ul.navmenu li ul {
294 | position: relative;
295 | left: 0;
296 | }
297 |
298 | }
299 |
300 | @media (max-width: 37.5rem) {
301 | .navicon {
302 | margin-right: 1.5rem;
303 | }
304 | }
305 |
306 | /* HERO UNIT */
307 |
308 | /* All units set as em so we can easily resize all text */
309 |
310 | .herounit {
311 | text-align: center;
312 | padding: 4.5em 0;
313 | margin-bottom: 1.5rem;
314 | }
315 |
316 | .herounit h2 {
317 | font-size: 3em;
318 | }
319 |
320 | .herounit p {
321 | font-size: 1.5em;
322 | font-weight: 300;
323 | }
324 |
325 | .button {
326 | display: inline-block;
327 | font-size: 1.11em;
328 | font-weight: bold;
329 | padding: 0 1.5em;
330 | line-height: 3em;
331 | margin: 1em;
332 | }
333 |
334 | @media (max-width: 61rem) {
335 | .herounit {
336 | font-size: 0.95rem;
337 | }
338 | }
339 |
340 | /* MAJOR SELLING POINTS */
341 |
342 | .point h2 {
343 | font-size: 1.375rem;
344 | }
345 |
346 | .point h2 i {
347 | margin-right: 0.5em;
348 | }
349 |
350 | .pointlink {
351 | text-align: right;
352 | }
353 |
354 | .point {
355 | width: 22%;
356 | margin-top: 2.5rem;
357 | margin-right: 4%;
358 | float: left;
359 | }
360 |
361 | .point:last-of-type{
362 | margin-right: 0;
363 | }
364 |
365 | @media (max-width: 79rem) {
366 |
367 | .point {
368 | width: 47%;
369 | margin-right: 6%;
370 | float: left;
371 | }
372 |
373 | .point:nth-of-type(2) {
374 | margin-right: 0;
375 | }
376 |
377 | }
378 |
379 | @media (max-width: 37.5rem) {
380 |
381 | .point {
382 | width: 100%;
383 | margin-right: 0;
384 | float: none;
385 | margin-top: 3rem;
386 | }
387 |
388 | }
389 |
390 | /* WELCOME SECTION */
391 |
392 | .welcome {
393 | margin-top: 3.5rem;
394 | padding: 6rem 0;
395 | }
396 |
397 | .infovid {
398 | width: 50%;
399 | margin-right: 5%;
400 | float: left;
401 | }
402 |
403 | .infotext h1 {
404 | font-size: 1.6875rem;
405 | text-transform: uppercase;
406 | }
407 |
408 | @media (min-width: 37.5rem) {
409 | .infotext h1 {
410 | margin-top: 0;
411 | }
412 | }
413 |
414 | @media (max-width: 37.5rem) {
415 | .infovid {
416 | width: 100%;
417 | margin-right: 0;
418 | float: none;
419 | }
420 | }
421 |
422 | @media (max-width: 25rem) {
423 | .infotext h1 {
424 | font-size: 1.45rem;
425 | }
426 | }
427 |
428 | /* FEEDBACK SECTION */
429 |
430 | .feedback {
431 | padding-top: 3.3rem;
432 | padding-bottom: 4.6rem;
433 | }
434 |
435 | .feedback h1 {
436 | font-size: 2.5rem;
437 | text-align: center;
438 | }
439 |
440 | .testimonial {
441 | width: 22%;
442 | margin-top: 2.3rem;
443 | margin-right: 4%;
444 | float: left;
445 | }
446 |
447 | .testimonial:last-of-type{
448 | margin-right: 0;
449 | }
450 |
451 | .says {
452 | padding: 1em 1em 0.5em 1em;
453 | }
454 |
455 | .source {
456 | text-align: right;
457 | font-weight: bold;
458 | margin: 1rem 1rem 0 0;
459 | }
460 |
461 | @media (max-width: 79rem) {
462 |
463 | .testimonial {
464 | width: 47%;
465 | margin-right: 6%;
466 | float: left;
467 | }
468 |
469 | .testimonial:nth-of-type(2) {
470 | margin-right: 0;
471 | }
472 |
473 | }
474 |
475 | @media (max-width: 37.5rem) {
476 |
477 | .feedback h1 {
478 | font-size: 2.25rem;
479 | text-align: center;
480 | }
481 |
482 | .testimonial {
483 | width: 100%;
484 | margin-right: 0;
485 | float: none;
486 | margin-top: 3.5rem;
487 | }
488 |
489 | }
490 |
491 | /* FOOTER */
492 |
493 | .footer {
494 | margin-top:2rem;
495 | padding-top: 2.5rem;
496 | padding-bottom: 2.5rem;
497 | }
498 |
499 | .copyright {
500 | float: left;
501 | line-height: 2.25rem;
502 | }
503 |
504 | .social {
505 | float: right;
506 | }
507 |
508 | .icon {
509 | font-size: 2.25rem;
510 | display: inline-block;
511 | margin-left: 1rem
512 | }
513 |
514 | @media (max-width: 37.5rem) {
515 |
516 | .footer {
517 | text-align: center;
518 | }
519 |
520 | .copyright {
521 | float: none;
522 | margin-bottom: 1rem;
523 | }
524 |
525 | .social {
526 | float: none;
527 | }
528 |
529 | }
530 |
531 | @import "style_01.css";
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/css/style.min.css:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 | audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}button::-moz-focus-inner,input::-moz-focus-inner,legend{border:0;padding:0}pre,textarea{overflow:auto}b,optgroup,strong{font-weight:bold}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}html{font-family:sans-serif;min-width:20rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}img{border:0;height:auto;max-width:100%}h1,h2,h3,h4,h5,h6{line-height:1.313em}h1{font-size:2em;font-size:3em;margin:.67em 0;margin:.563em 0}h2{font-size:2.25em;margin:.625em 0}h3{font-size:1.5em;margin:1.313em 0}h4{font-size:1.313em;margin:1.313em 0}h5{font-size:1.125em;margin:1.313em 0}h6{font-size:1em;margin:.75em 0}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.hidden{display:none!important}.wrap{margin:0 auto;max-width:75rem;width:100%}body{font-family:Lato,Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif;font-size:1.125rem;line-height:1.618em;margin:0}.logo_title{float:left;margin:2.1875rem 0}.logo{margin-right:1em;vertical-align:top;width:2.8125rem}h1.title{display:inline;font-size:2.625rem;font-weight:900;line-height:2.8125rem}h1.title span{font-weight:300}@media (max-width: 400px){.logo{margin-right:.5em}h1.title{font-size:2rem}}.navmenu a,a,a:active,a:hover,a:link,a:visited{text-decoration:none}ul.navmenu{font-size:1rem;list-style:none;margin:0;padding:0;position:relative;white-space:nowrap}ul.navmenu:after{clear:both;content:"";display:block}ul.navmenu li{cursor:pointer;display:block;list-style:none;padding:0;position:relative}ul.navmenu li a{display:inline-block}ul.navmenu li span{display:inline-block;text-align:right;width:1.4em}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,ul.navmenu li ul.childopen{display:block}[hidden],template,ul.navmenu li ul{display:none}header.wrap,td,th,ul.navmenu li ul{padding:0}.herounit{margin-bottom:1.5rem;padding:4.5em 0;text-align:center}.herounit h2{font-size:3em}.herounit p{font-size:1.5em;font-weight:300}.button{display:inline-block;font-size:1.11em;font-weight:bold;line-height:3em;margin:1em;padding:0 1.5em}.point h2{font-size:1.375rem}.point h2 i{margin-right:.5em}.pointlink{text-align:right}.point{float:left;margin-right:4%;margin-top:2.5rem;width:22%}.infovid{float:left;margin-right:5%;width:50%}.infotext h1{font-size:1.6875rem;text-transform:uppercase}@media (min-width: 37.5rem){.infotext h1{margin-top:0}}@media (max-width: 25rem){.infotext h1{font-size:1.45rem}}.feedback{padding-bottom:4.6rem;padding-top:3.3rem}.feedback h1{font-size:2.5rem;text-align:center}.testimonial{float:left;margin-right:4%;margin-top:2.3rem;width:22%}.point:last-of-type,.testimonial:last-of-type{margin-right:0}.source{font-weight:bold;margin:1rem 1rem 0 0;text-align:right}@media (max-width: 79rem){.wrap{padding:0 2rem}.logo_title{margin-left:2rem}.point,.testimonial{float:left;margin-right:6%;width:47%}.point:nth-of-type(2),.testimonial:nth-of-type(2){margin-right:0}}.footer{margin-top:2rem;padding-bottom:2.5rem;padding-top:2.5rem}.social{float:right}.icon{display:inline-block;font-size:2.25rem;margin-left:1rem}@media (max-width: 37.5rem){.wrap{padding:0 1.5rem}.logo_title{margin-left:1.5rem}.navicon{margin-right:1.5rem}.point{float:none;margin-right:0;margin-top:3rem;width:100%}.infovid{float:none;margin-right:0;width:100%}.feedback h1{font-size:2.25rem;text-align:center}.testimonial{float:none;margin-right:0;margin-top:3.5rem;width:100%}.footer{text-align:center}.copyright{float:none;margin-bottom:1rem}.social{float:none}}a,a:link,a:visited{color:#03ab8d;font-weight:700}ul.navmenu li a,ul.navmenu li a:link,ul.navmenu li a:visited{color:#7b868e;font-weight:400}body,ul.navmenu li a:active,ul.navmenu li a:hover{color:#474f55}@media (min-width: 61rem){.navicon{display:none}.navmenu{display:block}ul.navmenu{display:inline-table;float:right;padding:0 1em}ul.navmenu li{float:left}ul.navmenu li a{line-height:7.1875rem;padding:0 1.5625rem}ul.navmenu li ul li{float:none}ul.navmenu li ul li a{line-height:4.5rem;padding:0 2.1875rem;width:100%}ul.navmenu li a,ul.navmenu li a:link,ul.navmenu li a:visited{border-bottom-color:white;border-bottom-size:0.25rem;border-bottom-style:solid}ul.navmenu li a:hover{border-bottom-color:#00c3a1}ul.navmenu li a.active,ul.navmenu li a:active{border-bottom-color:#03ab8d}ul.navmenu li ul{background-color:#e1eef8;border:0.0625rem solid #acc5d9;border-bottom:0;box-shadow:0 0.125rem 0.3125rem rgba(71,79,85,0.3);left:0;position:absolute;top:100%;z-index:999}ul.navmenu li ul li a,ul.navmenu li ul li a:link,ul.navmenu li ul li a:visited{border-bottom:0.0625rem solid #acc5d9}ul.navmenu li ul li a:hover{background-color:#ebf5fc}}@media (max-width: 61rem){.navicon{cursor:pointer;float:right;font-size:1.65rem;line-height:2.8125rem;margin:2.1875rem 2rem 2.1875rem 0;text-align:center;width:3.4rem}.navmenu{clear:left;display:none}.navmenu.show{display:block}ul.navmenu li a{line-height:4.5rem;padding:0 2.1875rem;width:100%}.herounit{font-size:0.95rem}.navicon.closed{background-color:#e1eef8;border-bottom:0.25rem solid #acc5d9;color:#7b868e}.navicon.open{background-color:#3084bf;border-bottom:0.25rem solid #1b679c;color:#fff}ul.navmenu{background-color:#e1eef8;border:0.0625rem solid #acc5d9;border-bottom:0}ul.navmenu li a,ul.navmenu li a:link,ul.navmenu li a:visited{border-bottom:0.0625rem solid #acc5d9}ul.navmenu li ul{background-color:#ebf5fc;left:0;position:relative}}a.button{font-size:1.25rem;font-weight:700}a.getstarted{background-color:#00c3a1;border-bottom:0.25rem solid #03ab8d;color:#fff}a.learnmore{background-color:#e1eef8;border-bottom:0.25rem solid #acc5d9;color:#474f55}.welcome{background-color:#ebf5fc;border-bottom:0.0625rem solid #acc5d9;border-top:0.0625rem solid #acc5d9;margin-top:3.5rem;padding:6rem 0}.says{background-color:#ebf5fc;border:0.0625rem dashed #acc5d9;font-style:italic;padding:1em 1em .5em 1em}.feedback h1,.infotext h1,.point h2,.source,a:active,a:hover{color:#3084bf}.footer,.herounit{background-color:#3084bf;color:white}.copyright{float:left;font-size:1rem;line-height:2.25rem}.icon a,.icon a:active,.icon a:hover,.icon a:link,.icon a:visited{color:white}
3 |
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/css/style_01.css:
--------------------------------------------------------------------------------
1 | body {
2 | color: #474F55;
3 | }
4 |
5 | a,
6 | a:link,
7 | a:visited {
8 | color: #03AB8D;
9 | font-weight: 700;
10 | }
11 |
12 | a:hover,
13 | a:active {
14 | color: #3084BF;
15 | }
16 |
17 | /* NAV MENU */
18 |
19 | ul.navmenu li a,
20 | ul.navmenu li a:link,
21 | ul.navmenu li a:visited {
22 | color: #7B868E;
23 | font-weight: 400;
24 | }
25 |
26 | ul.navmenu li a:hover,
27 | ul.navmenu li a:active {
28 | color: #474F55;
29 | }
30 |
31 | /* expanded nav menu */
32 | @media (min-width: 61rem) {
33 |
34 | ul.navmenu li a,
35 | ul.navmenu li a:link,
36 | ul.navmenu li a:visited {
37 | border-bottom-style: solid;
38 | border-bottom-size: 0.25rem;
39 | border-bottom-color: white;
40 | }
41 |
42 | ul.navmenu li a:hover {
43 | border-bottom-color: #00C3A1;
44 | }
45 |
46 | ul.navmenu li a:active,
47 | ul.navmenu li a.active {
48 | border-bottom-color: #03AB8D;
49 | }
50 |
51 | /* expanded nav child menu */
52 | ul.navmenu li ul {
53 | background-color: #E1EEF8;
54 | border: 0.0625rem solid #ACC5D9;
55 | border-bottom: 0;
56 | box-shadow: 0 0.125rem 0.3125rem rgba(71, 79, 85, 0.3);
57 | }
58 |
59 | ul.navmenu li ul li a,
60 | ul.navmenu li ul li a:link,
61 | ul.navmenu li ul li a:visited {
62 | border-bottom: 0.0625rem solid #ACC5D9;
63 | }
64 |
65 | ul.navmenu li ul li a:hover {
66 | background-color: #EBF5FC;
67 | }
68 |
69 | }
70 |
71 | /* collapsed nav menu */
72 | @media (max-width: 61rem) {
73 |
74 | .navicon.closed {
75 | background-color: #E1EEF8;
76 | color: #7B868E;
77 | border-bottom: 0.25rem solid #ACC5D9;
78 | }
79 |
80 | .navicon.open {
81 | color: #fff;
82 | background-color: #3084BF;
83 | border-bottom: 0.25rem solid #1B679C;
84 | }
85 |
86 | ul.navmenu {
87 | background-color: #E1EEF8;
88 | border: 0.0625rem solid #ACC5D9;
89 | border-bottom: 0;
90 | }
91 |
92 | ul.navmenu li a,
93 | ul.navmenu li a:link,
94 | ul.navmenu li a:visited {
95 | border-bottom: 0.0625rem solid #ACC5D9;
96 | }
97 |
98 | /* collapsed nav child menu */
99 | ul.navmenu li ul {
100 | background-color: #EBF5FC;
101 | }
102 |
103 | }
104 |
105 | /* HERO UNIT */
106 |
107 | .herounit {
108 | background-color: #3084BF;
109 | color: white;
110 | }
111 |
112 | a.button {
113 | font-size: 1.25rem;
114 | font-weight: 700;
115 | }
116 |
117 | a.getstarted {
118 | background-color: #00C3A1;
119 | border-bottom: 0.25rem solid #03AB8D;
120 | color: #FFF;
121 | }
122 |
123 | a.learnmore {
124 | background-color: #E1EEF8;
125 | border-bottom: 0.25rem solid #ACC5D9;
126 | color: #474F55;
127 | }
128 |
129 | /* MAJOR SELLING POINTS */
130 |
131 | .point h2 {
132 | color: #3084BF;
133 | }
134 |
135 |
136 | /* WELCOME SECTION */
137 |
138 | .welcome {
139 | background-color: #EBF5FC;
140 | border-top: 0.0625rem solid #ACC5D9;;
141 | border-bottom: 0.0625rem solid #ACC5D9;
142 | }
143 |
144 | .infotext h1 {
145 | color: #3084BF;
146 | }
147 |
148 | /* FEEDBACK SECTION */
149 |
150 | .feedback h1 {
151 | color: #3084BF;
152 | }
153 |
154 | .says {
155 | background-color: #EBF5FC;
156 | border: 0.0625rem dashed #ACC5D9;
157 | font-style: italic;
158 | }
159 |
160 | .source {
161 | color: #3084BF;
162 | }
163 |
164 | /* FOOTER */
165 |
166 | .footer {
167 | background-color: #3084BF;
168 | color: white;
169 | }
170 |
171 | .copyright {
172 | font-size: 1rem;
173 | }
174 |
175 | .icon a,
176 | .icon a:link,
177 | .icon a:visited,
178 | .icon a:hover,
179 | .icon a:active {
180 | color: white;
181 | }
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/responsive-web-design-revisited/9be2dceee38fc0cda94cdcc7772d9ff20d1bd27a/6. Optimization Stage/6.2 Autoprefix Combine Minify/img/logo.png
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/img/logo_retina.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/responsive-web-design-revisited/9be2dceee38fc0cda94cdcc7772d9ff20d1bd27a/6. Optimization Stage/6.2 Autoprefix Combine Minify/img/logo_retina.png
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Start Up - Welcome
7 |
8 |
9 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
START UP
26 |
27 |
28 |
29 |
30 | Main Navigation
31 |
32 |
33 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
Become More Awesome Instantly
56 |
Start Up will upgrade your awesomeness to twice the level you have now.
57 |
61 |
62 |
63 |
64 |
65 |
66 | Why Start Up is Amazing
67 |
68 |
69 |
Takes Effect Instantly
70 |
You don’t want to wait to become more awesome, you want it right now! And that’s exactly what you’ll get.
71 |
How it works ›››
72 |
73 |
74 |
75 |
Works for Everyone
76 |
It doesn’t matter how awesome you are already, the increase you get will take you up to maximum potential.
77 |
How you're covered ›››
78 |
79 |
80 |
81 |
Permanent Upgrade
82 |
There is no expiry date on your new awesomeness upgrade. It will stay active from the moment you equip it, forever.
83 |
Lifetime awesomeness ›››
84 |
85 |
86 |
87 |
Proven Formula
88 |
80,000 people have already upgraded their awesomeness. Our track record makes us trusted worldwide.
89 |
Method for success ›››
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
Welcome to Start Up
103 |
We are excited to launch our new company and product Start Up. After being featured in too many magazines to mention and having created an online stir, we know that Start Up is going to be big. You may have seen us in the Dinosaurs’ Den where we were we told that we didn’t need them because we were already doing it so well ourselves, so that’s what we have continued to do. We also hope to win Fictional Business of the Year this year.
104 |
Browse our site and see for yourself why you need Start Up.
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 | What People Are Saying
113 |
114 |
115 |
“It’s just brilliant. I will recommend Start Up to everyone I know!”
116 |
117 |
- A. Girl
118 |
119 |
120 |
121 |
“I’m really glad these guys got Start Up out there. I’ve bought it and now think perhaps I should have invested!”
122 |
123 |
- A. Dinosaur
124 |
125 |
126 |
127 |
“What a product. Why didn’t someone think of it sooner?”
128 |
129 |
- One of the Magazines
130 |
131 |
132 |
133 |
“Get out there and buy it if you’re a customer and stock it if you’re a retailer – you’d be mad not to!”
134 |
135 |
- Some other Magazine
136 |
137 |
138 |
139 |
140 |
141 |
142 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/6. Optimization Stage/6.2 Autoprefix Combine Minify/js/modernizr.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-audio-video-shiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-css_remunit-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var I in r)A(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f