This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if ($_POST['who'] == 'robot') { | |
header('Refresh: 5; URL=https://www.site.ru'); | |
echo ('<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head> | |
<body><h1 style="color:red">Ошибка!</h1> | |
<p><b>Не отправлено,</b> так как вы являетесь роботом!<br> | |
Через 5 секунд вы вернетесь на главную страницу.</body></p>'); | |
} elseif ($_POST['mail'] == true) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimal-ui"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,400italic,700,700italics"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$base-font-size: 16px; | |
$heading-scale: 6; | |
@for $i from 1 through 6 { | |
h#{$i} { | |
font-size: $base-font-size + $heading-scale * (6 - $i); | |
} | |
} | |
// sizes 46px, 40px, 34px, 28px, 22px, 16px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const | |
gulp = require('gulp'), | |
pug = require('gulp-pug'), | |
sourcemaps = require('gulp-sourcemaps'), | |
concat = require('gulp-concat'), | |
cleanCSS = require('gulp-clean-css'), | |
mmq = require('gulp-merge-media-queries'), | |
babel = require('gulp-babel'), |
OlderNewer