Skip to content
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

Зориков Кирилл #110

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
cedb6b9
Первый вариант решения
agrossers Oct 18, 2018
381c499
Первый вариант решения
agrossers Oct 18, 2018
212b281
Первый вариант решения
agrossers Oct 18, 2018
d3251c7
Первый вариант решения
agrossers Oct 18, 2018
0decc28
Первый вариант решения
agrossers Oct 18, 2018
dbf5ce1
Первый вариант решения
agrossers Oct 18, 2018
6626dd3
Первый вариант решения
agrossers Oct 18, 2018
ee98b92
Первый вариант решения
agrossers Oct 18, 2018
8211ac8
Первый вариант решения
agrossers Oct 18, 2018
1d92d7a
Первый вариант решения
agrossers Oct 18, 2018
f0904bd
Первый вариант решения
agrossers Oct 18, 2018
fbfc80e
Первый вариант решения
agrossers Oct 18, 2018
06c741c
Первый вариант решения
agrossers Oct 18, 2018
9ea4ed2
Первый вариант решения
agrossers Oct 18, 2018
76e81bd
Первый вариант решения
agrossers Oct 18, 2018
3e38b5b
Первый вариант решения
agrossers Oct 18, 2018
2d0eaf4
Первый вариант решения
agrossers Oct 18, 2018
e4a297a
Первый вариант решения
agrossers Oct 18, 2018
2efe7cd
Первый вариант решения
agrossers Oct 18, 2018
2d0e1f1
Первый вариант решения
agrossers Oct 18, 2018
cf2a033
Первый вариант решения
agrossers Oct 18, 2018
de6f54e
Первый вариант решения
agrossers Oct 18, 2018
3d4a30c
Первый вариант решения
agrossers Oct 18, 2018
4ffb529
Первый вариант решения
agrossers Oct 18, 2018
48cc03c
Первый вариант решения
agrossers Oct 18, 2018
fac8bed
Первый вариант решения
agrossers Oct 18, 2018
b7da927
Первый вариант решения
agrossers Oct 18, 2018
2a2dfbb
Первый вариант решения
agrossers Oct 18, 2018
8da144b
Первый вариант решения
agrossers Oct 18, 2018
2568b62
Первый вариант решения
agrossers Oct 18, 2018
b5c2732
Первый вариант решения
agrossers Oct 18, 2018
85e0ef3
Первый вариант решения
agrossers Oct 18, 2018
310d1ea
Первый вариант решения
agrossers Oct 18, 2018
509cc6a
Первый вариант решения
agrossers Oct 18, 2018
5eaa004
Первый вариант решения
agrossers Oct 18, 2018
2dcaac3
Первый вариант решения
agrossers Oct 18, 2018
f93f7cd
Первый вариант решения
agrossers Oct 18, 2018
f6c72b9
Первый вариант решения
agrossers Oct 18, 2018
7198fe2
Первый вариант решения
agrossers Oct 18, 2018
828307a
Первый вариант решения
agrossers Oct 18, 2018
270a343
Первый вариант решения
agrossers Oct 18, 2018
4d6dd5a
Первый вариант решения
agrossers Oct 18, 2018
2d7a11b
Первый вариант решения
agrossers Oct 18, 2018
da527c8
Первый вариант решения
agrossers Oct 18, 2018
dc04879
Первый вариант решения
agrossers Oct 18, 2018
81c14b4
Первый вариант решения
agrossers Oct 18, 2018
b357018
Первый вариант решения
agrossers Oct 18, 2018
2df42b3
Первый вариант решения
agrossers Oct 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion tasks/1.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,25 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
article div:first-child

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно без first-child

{
background: #68a7db;
}

.c1
{
background: #fb68c0;
}

#id
{
background: #85f68f;
}

aside

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

объединить с первым

{
background: #68a7db;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/10.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.title:first-letter
{
color: #f85a81;
}

.description:first-line
{
color: #93bff8;
}
</style>

<section class="global-result">
Expand Down
15 changes: 14 additions & 1 deletion tasks/11.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope input:invalid
{
border: 3px solid #fb77b6;
}

.global-scope input:valid
{
border: 3px solid #54e892;
}

.global-scope input:focus
{
border: 3px solid blue;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

</style>

<section class="global-result">
Expand Down
13 changes: 12 additions & 1 deletion tasks/12.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope div
{
background: yellow;
}

article div:first-child,
article div:nth-child(3),
article div:nth-child(7),
article div:last-child
{
background: orange;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

цвета неправильные
можно гораздо проще
обрати внимание на то, чем отличаются в верстке дивы

</style>

<section class="global-result">
Expand Down
7 changes: 6 additions & 1 deletion tasks/13.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope div:first-child div,
.global-scope div:last-child div,
.global-scope div:nth-child(5) div
{
background: #f7549e;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно гораздо проще, обрати внимание что этот див единственный такого типа в своем родителе

</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/14.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
li
{
list-style-type: none;
}

li:before
{
content: '+ ';
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/15.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
a[href$='.zip']:after
{
content: ' ↓';
}
</style>

<section class="global-result">
Expand Down
20 changes: 19 additions & 1 deletion tasks/16.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,25 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope div:first-child

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем first-child?

{
background: #f7549e;
}

.c1
{
background: #71c1fd !important;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут можно без импортант, не используй его
так как сложно потом переопределять

}

#id1
{
background: orange;
}

.c7
{
background: yellow !important;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/17.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
input[type='checkbox']:checked ~ input
{
outline: 1px solid #ff6698;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/18.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope div
{
opacity: .3;
}

.global-scope div:hover
{
opacity: .66;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

другие квадраты должны тоже менять цвет в зависимости от наведения на какой-то один

</style>

<section class="global-result">
Expand Down
30 changes: 29 additions & 1 deletion tasks/19.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,35 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope div
{
background: white;
}

.global-scope > div
{
background: orange;
}

.global-scope div:first-child div:last-child
{
background: #7df83b;
}

.global-scope div:last-child div:first-child
{
background: yellow;
}

.global-scope div:nth-child(2) div:nth-child(2n)
{
background: #f858ad;
}

.global-scope div:nth-child(3) div:nth-child(2n+1)
{
background: #74adf8;
}
</style>

<section class="global-result">
Expand Down
17 changes: 16 additions & 1 deletion tasks/2.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
div.c1.c2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем уточнение тега?

{
background: #68a7db;
border: 2px solid #000;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем тут бордер?

}

.c1
{
background: #fa71ba;
border: 2px solid #000;
}

.c2
{
background: #eeb87e;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/20.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.red-gt2:nth-child(n+3) div

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выделите все внутренние элементы там, где их больше 2

а не последние два

{
background: #f858ad;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/3.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
article div div
{
background: #53bcf9;
}

article > div
{
border: 2px solid #000;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/4.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope article:nth-child(2n)
{
background: yellow;
}

.global-scope article

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

у первого не должно быть бордера

{
border-top: 1px solid #000;
}
</style>

<section class="global-result">
Expand Down
6 changes: 5 additions & 1 deletion tasks/5.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
input[type='checkbox']:checked + br + div

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

плохо, что зависит от br между ними, вдруг мы его уберем или добавим еще один?

{
color: white;
background: black;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/6.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
article a
{
color: #fb77b6;
}

article a:first-child
{
color: blue;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

должно зависеть от адреса сайта, на вк - синий, на яндекс - красный

</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/7.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.global-scope img
{
opacity: .3;
}

.global-scope img[alt^='css']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно просто смотреть на наличие alt и тогда одного селектора хватит

{
opacity: 1;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/8.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
a[target='_blank']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это не показатель того, что внешний по отношению к my-site

{
color: #fb77b6;
}
</style>

<section class="global-result">
Expand Down
30 changes: 29 additions & 1 deletion tasks/9.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,35 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* your styles here */
.link:hover
{
color: #cccecc;
}

.link:visited
{
color: black;
}

.link:active
{
color: black;
}

.link[href^='https']:visited
{
color: orange;
}

.link[href^='https']:hover
{
color: #fb77b6;
}

.link[href^='https']:active
{
color: #70fd88;
}
</style>

<section class="global-result">
Expand Down