diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ce3a206 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# Файл с настройками для редактора. +# +# Если вы разрабатываете в редакторе WebStorm, BBEdit, Coda или SourceLair +# этот файл уже поддерживается и не нужно производить никаких дополнительных +# действий. +# +# Если вы ведёте разработку в другом редакторе, зайдите +# на https://editorconfig.org и в разделе «Download a Plugin» +# скачайте дополнение для вашего редактора. + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..91a6d99 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +* text eol=lf + +*.png binary +*.jpg binary +*.jpeg binary +*.webp binary +*.woff binary +*.woff2 binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f510ab4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +.DS_Store +.idea +*.ai +*.log +*.pdf +*.psd +*.sublime* +node_modules/ +npm-debug.* +Thumbs.db diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..189e393 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,159 @@ +{ + "rules": { + "block-no-empty": true, + "comment-no-empty": true, + "declaration-block-no-duplicate-custom-properties": true, + "declaration-block-no-shorthand-property-overrides": true, + "font-family-no-duplicate-names": true, + "function-calc-no-unspaced-operator": true, + "function-linear-gradient-no-nonstandard-direction": true, + "media-feature-name-no-unknown": true, + "named-grid-areas-no-invalid": true, + "no-duplicate-selectors": true, + "no-empty-source": true, + "no-extra-semicolons": true, + "no-invalid-double-slash-comments": true, + "no-irregular-whitespace": true, + "property-no-unknown": true, + "selector-pseudo-class-no-unknown": true, + "selector-pseudo-element-no-unknown": true, + "string-no-newline": true, + "unit-no-unknown": true, + "font-family-no-missing-generic-family-keyword": true, + "no-descending-specificity": null, + "color-hex-case": "lower", + "color-hex-length": "long", + "font-family-name-quotes": "always-unless-keyword", + "function-comma-newline-after": "always-multi-line", + "function-comma-newline-before": "never-multi-line", + "function-comma-space-after": "always-single-line", + "function-comma-space-before": "never", + "function-max-empty-lines": 0, + "function-name-case": "lower", + "function-parentheses-space-inside": "never-single-line", + "function-url-quotes": "always", + "function-whitespace-after": "always", + "number-leading-zero": "always", + "number-no-trailing-zeros": true, + "length-zero-no-unit": true, + "string-quotes": "double", + "unit-case": "lower", + "value-keyword-case": "lower", + "value-list-comma-newline-after": "always-multi-line", + "value-list-comma-newline-before": "never-multi-line", + "value-list-comma-space-after": "always-single-line", + "value-list-comma-space-before": "never", + "value-list-max-empty-lines": 0, + "value-no-vendor-prefix": true, + "property-case": "lower", + "property-no-vendor-prefix": true, + "keyframe-declaration-no-important": true, + "declaration-no-important": true, + "declaration-bang-space-after": "never", + "declaration-bang-space-before": "always", + "declaration-colon-space-after": "always-single-line", + "declaration-colon-space-before": "never", + "declaration-block-no-duplicate-properties": true, + "declaration-block-semicolon-newline-after": "always", + "declaration-block-semicolon-newline-before": "never-multi-line", + "declaration-block-semicolon-space-after": "always-single-line", + "declaration-block-semicolon-space-before": "never", + "declaration-block-trailing-semicolon": "always", + "block-closing-brace-empty-line-before": "never", + "block-closing-brace-newline-after": "always", + "block-closing-brace-newline-before": "always", + "block-closing-brace-space-after": "always-single-line", + "block-closing-brace-space-before": "always-single-line", + "block-opening-brace-newline-after": "always", + "block-opening-brace-space-after": "always-single-line", + "block-opening-brace-space-before": "always", + "selector-attribute-brackets-space-inside": "never", + "selector-attribute-operator-space-after": "never", + "selector-attribute-operator-space-before": "never", + "selector-attribute-quotes": "always", + "selector-combinator-space-after": "always", + "selector-combinator-space-before": "always", + "selector-descendant-combinator-no-non-space": true, + "selector-max-id": 0, + "selector-pseudo-class-case": "lower", + "selector-pseudo-class-parentheses-space-inside": "never", + "selector-pseudo-element-case": "lower", + "selector-pseudo-element-colon-notation": "double", + "selector-type-case": "lower", + "selector-type-no-unknown": true, + "selector-max-empty-lines": 0, + "selector-list-comma-newline-after": "always", + "selector-list-comma-newline-before": "never-multi-line", + "selector-list-comma-space-after": "always-single-line", + "selector-list-comma-space-before": "never", + "rule-empty-line-before": [ + "always", + { + "except": [ + "first-nested" + ], + "ignore": [ + "after-comment" + ] + } + ], + "media-feature-colon-space-after": "always", + "media-feature-colon-space-before": "never", + "media-feature-name-case": "lower", + "media-feature-name-no-vendor-prefix": true, + "media-feature-parentheses-space-inside": "never", + "media-feature-range-operator-space-after": "always", + "media-feature-range-operator-space-before": "always", + "media-query-list-comma-newline-after": "always-multi-line", + "media-query-list-comma-newline-before": "never-multi-line", + "media-query-list-comma-space-after": "always-single-line", + "media-query-list-comma-space-before": "never-single-line", + "at-rule-empty-line-before": [ + "always", + { + "except": [ + "first-nested", + "blockless-after-blockless" + ], + "ignore": [ + "after-comment" + ] + } + ], + "at-rule-name-case": "lower", + "at-rule-name-space-after": "always", + "at-rule-no-unknown": [ + true, + { + "ignoreAtRules": [ + "mixin", + "define-mixin", + "include", + "content", + "rules", + "each" + ] + } + ], + "at-rule-no-vendor-prefix": true, + "at-rule-semicolon-newline-after": "always", + "indentation": 2, + "max-nesting-depth": [ + 2, + { + "ignoreAtRules": [ + "media" + ] + } + ], + "max-empty-lines": 2, + "no-eol-whitespace": true, + "no-missing-end-of-source-newline": true, + "no-duplicate-at-import-rules": true, + "no-invalid-position-at-import-rule": true, + "color-no-invalid-hex": true, + "color-no-hex": null, + "color-named": "never", + "number-max-precision": 2 + } +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..0a8e1a6 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "EditorConfig.EditorConfig" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..721d26b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,23 @@ +{ + "editor.renderWhitespace": "selection", + "files.exclude": { + "*:Zone.Identifier": true, + "node_modules/": true + }, + "editor.bracketPairColorization.independentColorPoolPerBracketType": true, + "editor.guides.bracketPairs": "active", + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "css.format.spaceAroundSelectorSeparator": true, + "css.lint.compatibleVendorPrefixes": "warning", + "css.lint.duplicateProperties": "warning", + "css.lint.idSelector": "error", + "css.lint.important": "error", + "css.lint.importStatement": "warning", + "css.lint.universalSelector": "warning", + "css.lint.unknownVendorSpecificProperties": "warning", + "css.lint.zeroUnits": "error", + "html.format.endWithNewline": true, + "html.format.indentInnerHtml": true +} diff --git a/Contributing.md b/Contributing.md new file mode 100644 index 0000000..4c37a21 --- /dev/null +++ b/Contributing.md @@ -0,0 +1,21 @@ +# Руководство по внесению изменений + +Поддерживайте ваш репозиторий обновлённым. Когда наставник принимает ваш пулреквест, он попадает в репозиторий Академии, но не в ваш форк. + +#### Прежде чем приступать к новому заданию, обновите `master` + +Обновить свой репозиторий с помощью программы [GitHub Desktop](https://desktop.github.com) можно так: + +- Откройте ваш локальный репозиторий в программе GitHub Desktop. + +- Нажмите на кнопку в верхней панели «Fetch origin». + + + +- Когда вы обновили `master`, приступайте к выполнению следующего задания. + +-- + +#### Есть вопрос? + +Посмотрите [коллекцию часто задаваемых вопросов по Git](http://firstaidgit.ru). diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..91696b5 --- /dev/null +++ b/Readme.md @@ -0,0 +1,43 @@ +# Личный проект «{{projectTitle}}» + +* Студент: [{{userName}}]({{userProfile}}). +* Наставник: `Неизвестно`. + +--- + +_Не удаляйте и не обращайте внимание на файлы:_
+_`.editorconfig`, `.gitattributes`, `.gitignore`, `Contributing.md`, `Readme.md`._ + +--- + +### Памятка + +#### 1. Зарегистрируйтесь на Гитхабе + +Если у вас ещё нет аккаунта на [github.com](https://github.com/join), скорее зарегистрируйтесь. + +#### 2. Создайте форк + +[Откройте мастер-репозиторий]({{homepage}}) и нажмите кнопку «Fork» в правом верхнем углу. Репозиторий из Академии скопируется в ваш аккаунт. + + + +Получится вот так: + + + +#### 3. Клонируйте репозиторий на свой компьютер + +Будьте внимательны: нужно клонировать свой репозиторий (форк), а не репозиторий Академии. Нажмите кнопку «Clone or download», а затем «Open in Desktop», чтобы клонировать репозиторий через программу [GitHub Desktop](https://desktop.github.com): + + + +Программа клонирует репозиторий на ваш компьютер и подготовит всё необходимое для старта работы. + +#### 4. Начинайте обучение! + +--- + +HTML Academy + +Репозиторий создан для обучения на профессиональном онлайн‑курсе «[HTML и CSS. Профессиональная вёрстка сайтов](https://htmlacademy.ru/intensive/htmlcss)» от [HTML Academy](https://htmlacademy.ru). diff --git a/fonts/ptsans-400.woff2 b/fonts/ptsans-400.woff2 new file mode 100644 index 0000000..4bcdea3 Binary files /dev/null and b/fonts/ptsans-400.woff2 differ diff --git a/fonts/ptsans-700.woff2 b/fonts/ptsans-700.woff2 new file mode 100644 index 0000000..3e12332 Binary files /dev/null and b/fonts/ptsans-700.woff2 differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..ccef905 --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + + HTML Academy: {{projectTitle}} + + + +

Репозиторий создан для обучения на профессиональном онлайн‑курсе «HTML и CSS. Профессиональная вёрстка сайтов».

+ + +