-
Notifications
You must be signed in to change notification settings - Fork 99
Потапов Лев #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
malaev
wants to merge
3
commits into
urfu-2018:master
Choose a base branch
from
malaev:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Потапов Лев #92
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| header | ||
| { | ||
| position: relative; | ||
| } | ||
|
|
||
| article | ||
| { | ||
| padding: 10px 20px; | ||
| border: 1px solid #b5b5b5; | ||
| width: 400px; | ||
| margin: auto; | ||
| transition-duration: .5s; | ||
| } | ||
|
|
||
| .name | ||
| { | ||
| width: 400px; | ||
| } | ||
|
|
||
| section | ||
| { | ||
| width: 400px; | ||
| } | ||
|
|
||
| .image_container | ||
| { | ||
| width: 100%; | ||
| height: 400px; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| img | ||
| { | ||
| width: 100%; | ||
| height: 100%; | ||
| } | ||
|
|
||
| .small_description | ||
| { | ||
| display: none; | ||
| } | ||
|
|
||
| .hamburger | ||
| { | ||
| cursor: pointer; | ||
| font-size: 30px; | ||
| display: inline-block; | ||
| transition-duration: .5s; | ||
| } | ||
|
|
||
| .view | ||
| { | ||
| display: none; | ||
| } | ||
|
|
||
| .view:checked ~ header .hamburger | ||
| { | ||
| transform: rotate(90deg); | ||
| } | ||
|
|
||
| .view:checked ~ article | ||
| { | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .view:checked ~ article section .small_description | ||
| { | ||
| display: inline; | ||
| } | ||
|
|
||
| .view:checked ~ article | ||
| { | ||
| border: 1px solid #b5b5b5; | ||
| width: 350px; | ||
| transition-duration: .5s; | ||
| padding: 0; | ||
| margin: 4px; | ||
| } | ||
|
|
||
| .view:checked ~ article section | ||
| { | ||
| padding: 5px; | ||
| } | ||
|
|
||
| .view:checked ~ article:hover | ||
| { | ||
| box-shadow: 0 1px 9px 0 #00000087; | ||
| } | ||
|
|
||
| .view:checked ~ article .image_container | ||
| { | ||
| height: 300px; | ||
| } | ||
|
|
||
| .view:checked ~ article section .description | ||
| { | ||
| display: none; | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,294 @@ | |
| <html lang="ru"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <link href="index.css" rel="stylesheet"> | ||
| <title>Задача «Про котиков»</title> | ||
| </head> | ||
| <body> | ||
| <input type="checkbox" class="view" id="view"> | ||
| <header> | ||
| <label for="view" class="hamburger">☰</label> | ||
| </header> | ||
| <article> | ||
| <div class="image_container"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. А почему этот див это див, а не section? Давай поменяем. |
||
| <img alt="salem" src="https://cdn5.img.ria.ru/images/148839/96/1488399690.jpg"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. title для картинок |
||
| </div> | ||
| <h2 class="name">Сергей</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: 29 лет<br> | ||
| Порода: коттерьер<br> | ||
| Болезни: нет<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Работает менеджером среднего звена в отделе логистики, с 8:00 до 18:00 5 дней в неделю<br> | ||
| Возраст ~ 29 лет<br> | ||
| С другими котами контактирует только в деловых отношениях, личной жизни нет, | ||
| как и времени на обычную жизнь, | ||
| по выходным работает сверхурочно, чтобы погасить кредит за квартиру.<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="http://droplak.ru/wp-content/uploads/2016/04/11-8.jpg"> | ||
| </div> | ||
| <h2 class="name">Альбина</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: 19 лет<br> | ||
| Порода: таксакот<br> | ||
| Болезни: нет<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Учится в университете на гуманитария, но не знает, | ||
| что будет потом делать, возможно, поедет к маме в деревню<br> | ||
| Возраст ~ 19 лет<br> | ||
| Очень много подружек с которыми она общается, ей нравится один парень, | ||
| но она боится к нему подойти, вдруг он подумает, | ||
| что она странная<br> | ||
| <br> | ||
| Статус: все еще учится | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="https://s.tcdn.co/904/84d/90484da5-a17b-38c1-90e3-8270b7cd6771/8.png"> | ||
| </div> | ||
| <h2 class="name">Салем-качек</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестно<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Качается, с 8:00 до 18:00 5 дней в неделю<br> | ||
| Возраст ~ неизвестнот<br> | ||
| Он набирает мышцы<br> | ||
| <br> | ||
| Статус: в качалке. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="https://i.gifer.com/3BEg.gif"> | ||
| </div> | ||
| <h2 class="name">Салем-наМассе</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Для того чтобы накачатся, он набирает массу, | ||
| но всегда останавливается на половине пути...<br> | ||
| Возраст ~ неизвестно<br> | ||
| Ему нужна еда<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" | ||
| src="https://pbs.twimg.com/profile_images/922875413860442112/B3Ty_uQl_400x400.jpg"> | ||
| </div> | ||
| <h2 class="name">Салем-лепс</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| ТОООЛЬКААА<br> | ||
| РЮМКА ВОДКИ НА СТОЛЕЕЕЕ<br> | ||
| ВЕТЕР ПЛАЧЕТ ЗА ОКНООООМ<br> | ||
| ТИХООЙ БООЛЬЮЮ<br> | ||
| <br> | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="https://s.tcdn.co/904/84d/90484da5-a17b-38c1-90e3-8270b7cd6771/10.png"> | ||
| </div> | ||
| <h2 class="name">Салем-афтерлепс</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Болит голова<br> | ||
| Сильно<br> | ||
| И горло болит<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="https://chpic.su/_data/stickers/TearsCatSalem/TearsCatSalem_001.png"> | ||
| </div> | ||
| <h2 class="name">Салем-афтер-афтерлепс</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Голова все еще болит<br> | ||
| Парацетомол не помог<br> | ||
| Таблетки в аптечке заканчиваются<br> | ||
| <br> | ||
| Статус: уже не двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="https://media.tenor.com/images/40ea256e4abe954092bc22698fab069c/tenor.gif"> | ||
| </div> | ||
| <h2 class="name">Салем-привидение</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Поздравляет с хеллуином<br> | ||
| Желает самых страшных дедлайнов<br> | ||
| ВЫ ПРОКЛЯТЫ<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" | ||
| src="https://uproxx.files.wordpress.com/2012/04/sabrina-salem-cat-dj-23.gif?w=500"> | ||
| </div> | ||
| <h2 class="name">РЕПГАД</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Младший брат эминема, несмотря на то что он черный<br> | ||
| Возраст ~ 29 лет<br> | ||
| Тусуется с реперами, не любит белых<br> | ||
| <br> | ||
| Статус: читает реп. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" src="http://telegram.org.ru/uploads/posts/2018-01/1514988451_file_267915.jpg"> | ||
| </div> | ||
| <h2 class="name">9-хвостый</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: студент<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: рожден в дедлайне | ||
| </h4> | ||
| <h4 class="description"> | ||
| Работает менеджером среднего звена в отделе логистики, | ||
| с 8:00 до 18:00 5 дней в неделю<br> | ||
| Возраст ~ 29 лет<br> | ||
| С другими котами контактирует только в деловых отношениях, | ||
| личной жизни нет, как и времени на обычную жизнь, | ||
| по выходным работает сверхурочно, чтобы погасить кредит за квартиру.<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" | ||
| src="http://mega-bitva.ru/wp-content/uploads/2017/03/1kBVC0u4MYo.jpg"> | ||
| </div> | ||
| <h2 class="name">Мой компилятор</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: неизвестнот<br> | ||
| Порода: волшебник<br> | ||
| Болезни: волшебность<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Работает менеджером среднего звена в отделе логистики, с 8:00 до 18:00 5 дней в неделю<br> | ||
| Возраст ~ 29 лет<br> | ||
| С другими котами контактирует только в деловых отношениях, | ||
| личной жизни нет, как и времени на обычную жизнь, | ||
| по выходным работает сверхурочно, чтобы погасить кредит за квартиру.<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| <article> | ||
| <div class="image_container"> | ||
| <img alt="salem" | ||
| src="https://cdn5.img.ria.ru/images/148839/96/1488399690.jpg"> | ||
| </div> | ||
| <h2 class="name">Сергей</h2> | ||
| <section> | ||
| <h4 class="small_description"> | ||
| Возраст: 29 лет<br> | ||
| Порода: коттерьер<br> | ||
| Болезни: нет<br> | ||
| <br> | ||
| Статус: активен | ||
| </h4> | ||
| <h4 class="description"> | ||
| Работает менеджером среднего звена в отделе логистики, с 8:00 до 18:00 5 дней в неделю<br> | ||
| Возраст ~ 29 лет<br> | ||
| С другими котами контактирует только в деловых отношениях, | ||
| личной жизни нет, как и времени на обычную жизнь, | ||
| по выходным работает сверхурочно, чтобы погасить кредит за квартиру.<br> | ||
| <br> | ||
| Статус: пока еще двигается. | ||
| </h4> | ||
| </section> | ||
| </article> | ||
| </body> | ||
| </html> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Всем тегам давай дадим классы, тегов в css остаться не должно.