forked from urfu-2016/markup-task-4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request urfu-2016#1 from mokhov/master
Добавлена задача
- Loading branch information
Showing
15 changed files
with
199 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_size = 4 | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
|
||
[*.json] | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
.git | ||
.idea | ||
|
||
*.log | ||
*.swp | ||
|
||
node_modules |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"attr-bans": [ | ||
"align", | ||
"background", | ||
"bgcolor", | ||
"border", | ||
"frameborder", | ||
"style" | ||
], | ||
"attr-name-style": "lowercase", | ||
"attr-no-dup": true, | ||
"attr-quote-style": "double", | ||
"attr-req-value": false, | ||
"class-no-dup": true, | ||
"class-style": false, | ||
"doctype-first": true, | ||
"doctype-html5": true, | ||
"fig-req-figcaption": true, | ||
"focusable-tabindex-style": true, | ||
"head-req-title": true, | ||
"html-req-lang": true, | ||
"id-class-style": false, | ||
"id-no-dup": true, | ||
"img-req-src": true, | ||
"img-req-alt": "allownull", | ||
"indent-width": 4, | ||
"indent-width-cont": true, | ||
"label-req-for": true, | ||
"line-max-len": 110, | ||
"spec-char-escape": true, | ||
"tag-bans": [ | ||
"b", | ||
"i", | ||
"u", | ||
"center", | ||
"style", | ||
"marquee", | ||
"font", | ||
"s" | ||
], | ||
"tag-name-lowercase": true, | ||
"tag-name-match": true, | ||
"tag-self-close": "never", | ||
"title-no-dup": true | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
save=true | ||
save-exact=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "stylelint-config-hrundel" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- "6" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,62 @@ | ||
# markup-task-4 | ||
# Задача «DeLorean DMC-12» | ||
|
||
Перед выполнением задания внимательно прочитайте: | ||
|
||
- [О всех этапах проверки задания](https://github.com/urfu-2016/guides/blob/master/workflow/extra.md) | ||
- [Как отправить пулл](https://github.com/urfu-2016/guides/blob/master/workflow/pull.md) | ||
- [Как пройти тесты](https://github.com/urfu-2016/guides/blob/master/workflow/test.md) | ||
- Правила оформления [JavaScript](https://github.com/urfu-2016/guides/blob/master/codestyle/js.md), [HTML](https://github.com/urfu-2016/guides/blob/master/codestyle/html.md) и [CSS](https://github.com/urfu-2016/guides/blob/master/codestyle/css.md) кода | ||
|
||
## Основное задание | ||
|
||
:warning: Задание необходимо решить __без использования JS__ | ||
|
||
Ровно год назад Марти МакФлай прилетел из прошлого. Там в прошлом у него не было ни | ||
планшетов, ни летающих машин, ни самозашнуровывающихся кроссовок, а вся | ||
информация поступала из газет и телевизора. | ||
|
||
Марти покупает электронную газету в ближайшей РосЭлектроПечати, но не может | ||
понять как ей пользоваться. Вам нужно сверстать эту электронную газету так, | ||
чтобы она выглядела максимально похоже на газету из 85 года. | ||
|
||
Вот некоторые особенности газетной вёрстки того времени: | ||
|
||
* Первая буква первого параграфа в статье обычно заметно выделяется | ||
* А текст разбивается на колонки | ||
* Есть, конечно, картинки и подписи к ним, иногда они занимают несколько колонок | ||
* Часто в тексте выделяют цитаты | ||
* Обычно используют много разных нестандартных шрифтов | ||
* В тексте используются переносы | ||
* Изредка текст пишут: | ||
В | ||
О | ||
Т | ||
|
||
Т | ||
А | ||
К | ||
|
||
Фантазия в данной задаче приветствуется, главное чтобы Марти сразу почуствовал | ||
себя как дома, и в руках у него тёплая ламповая печатная газета. | ||
|
||
Пример современной газеты (так себе): | ||
|
||
![](https://cloud.githubusercontent.com/assets/4534405/10664713/f61a3486-78de-11e5-83fe-f8d43be81b10.jpg) | ||
|
||
Пример старинной газеты (вот, гораздо лучше): | ||
|
||
![](https://cloud.githubusercontent.com/assets/4534405/10664851/398f1820-78e0-11e5-96a9-347f14ba9875.jpg) | ||
|
||
### Дополнительное задание (+1 к удаче на экзамене по матану) | ||
|
||
:warning: Задание необходимо решить __без использования JS__ | ||
|
||
Вечером мы с Марти идём пить чай с печенюшками к моей бабуленьке. Она тоже не | ||
прочь почитать свежих газеток. Будет очень любезно с вашей стороны, сделать | ||
газетку настраиваемой: | ||
|
||
* Возможность увеличить/уменьшить шрифт | ||
* Возможность поменять шрифт на другой, другого типа | ||
* Возможность поменять «черные буквы на белом» на «белые буквы на чёрном» (или другую цветовое тему). | ||
|
||
![](https://cloud.githubusercontent.com/assets/4534405/10665968/1a048d34-78e8-11e5-9c98-59c790acc8df.jpg) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
<html lang="ru"> | ||
<head> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"test": "npm run lint && mocha ./node_modules/html-tests/task-stub/test", | ||
"lint": "stylelint *.css **/*.css && html-validator --file index.html --verbose && htmllint *.html" | ||
}, | ||
"dependencies": { | ||
"html-tests": "latest", | ||
"html-validator-cli": "3.0.2", | ||
"htmllint-cli-alpha": "0.0.6", | ||
"mocha": "3.1.0", | ||
"should": "11.1.0", | ||
"stylelint": "7.3.1", | ||
"stylelint-config-hrundel": "latest" | ||
} | ||
} |