Pug - это препроцессор HTML и шаблонизатор, который был написан на JavaScript для Node.js.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* http://meyerweb.com/eric/tools/css/reset/ | |
| v2.0-modified | 20110126 | |
| License: none (public domain) | |
| */ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| —– BEGIN LICENSE —– | |
| Andrew Weber | |
| Single User License | |
| EA7E-855605 | |
| 813A03DD 5E4AD9E6 6C0EEB94 BC99798F | |
| 942194A6 02396E98 E62C9979 4BB979FE | |
| 91424C9D A45400BF F6747D88 2FB88078 | |
| 90F5CC94 1CDC92DC 8457107A F151657B | |
| 1D22E383 A997F016 42397640 33F41CFC | |
| E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A collection of helper prototype for everyday DOM traversal, manipulation, | |
| * and event binding. Sort of a minimalist jQuery, mainly for demonstration | |
| * purposes. MIT @ m3g4p0p | |
| */ | |
| window.$ = (function (undefined) { | |
| /** | |
| * Duration constants | |
| * @type {Object} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'), | |
| coffee = require('gulp-coffee'), | |
| sass = require('gulp-sass'), | |
| pug = require('gulp-pug'), | |
| browserSync = require('browser-sync') | |
| gulp.task('pug', function () { | |
| return gulp.src( 'src/pug/**/*.pug' ) | |
| .pipe( pug() ) | |
| .pipe( gulp.dest( './src/' ) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <main class="cd-main-content"> | |
| <section class="center"> | |
| <h1>SVG Modal Window</h1> | |
| <a href="#0" class="cd-btn" id="modal-trigger" data-type="cd-modal-trigger">Fire Modal Window</a> | |
| </section> | |
| </main> <!-- .cd-main-content --> | |
| <div class="cd-modal" data-modal="modal-trigger"> | |
| <div class="cd-svg-bg" | |
| data-step1="M-59.9,540.5l-0.9-1.4c-0.1-0.1,0-0.3,0.1-0.3L864.8-41c0.1-0.1,0.3,0,0.3,0.1l0.9,1.4c0.1,0.1,0,0.3-0.1,0.3L-59.5,540.6 C-59.6,540.7-59.8,540.7-59.9,540.5z" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Браузерное кеширование | |
| Включение кеша браузера | |
| Вариант 1 | |
| <ifModule mod_headers.c> | |
| <FilesMatch "\.(js|css|txt)$"> | |
| Header set Cache-Control "max-age=604800" | |
| </FilesMatch> | |
| <FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png)$"> |