-
Notifications
You must be signed in to change notification settings - Fork 114
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
Гафурова Софья #124
base: master
Are you sure you want to change the base?
Гафурова Софья #124
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,21 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > input:first-child | ||
{ | ||
border: 3px solid #ff6698; | ||
} | ||
|
||
article > input:last-child | ||
{ | ||
border: 3px solid #98ff66; | ||
} | ||
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. должно зависеть именно от валидности введенного емэйла |
||
|
||
article > input:first-child:focus | ||
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. фокус должен работать на обоих инпутах |
||
{ | ||
border: 3px solid #6698ff; | ||
} | ||
|
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,32 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div | ||
{ | ||
background: #ff6; | ||
} | ||
|
||
article > div:nth-child(1) | ||
{ | ||
background: #ffb366; | ||
} | ||
|
||
article > div:nth-child(3) | ||
{ | ||
background: #ffb366; | ||
} | ||
|
||
article > div:nth-child(7) | ||
{ | ||
background: #ffb366; | ||
} | ||
|
||
article > div:nth-child(9) | ||
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. можно гораздо проще, обрати внимание на то, чем отличаются дивы в верстке |
||
{ | ||
background: #ffb366; | ||
} | ||
|
||
|
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,21 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div:first-child > div:first-child | ||
{ | ||
background: #ff6698; | ||
} | ||
|
||
article > div:nth-child(5) > div:first-child | ||
{ | ||
background: #ff6698; | ||
} | ||
|
||
article > div:nth-child(9) > div:first-child | ||
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. можно гораздо проще, обрати внимание что этот див единственный такого типа в своем родителе |
||
{ | ||
background: #ff6698; | ||
} | ||
|
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
ul li:before | ||
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. кажется, уточнение ul лишнее |
||
{ | ||
content: '+'; | ||
margin-right: 5px; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
ul > li > a[href$='.zip']::after | ||
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. кажется, уточнение ul > li лишнее |
||
{ | ||
content: '↓'; | ||
margin-left: 3px; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,25 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div:first-child | ||
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. можно без first-child |
||
{ | ||
background: #ff6698; | ||
} | ||
|
||
article > div:nth-child(2) | ||
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. можно без nth-child |
||
{ | ||
background: #6698ff; | ||
} | ||
|
||
#id1 | ||
{ | ||
background: #ffb366; | ||
} | ||
|
||
article > div:last-child | ||
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. можно без last-child |
||
{ | ||
background: #ff6 !important; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
input:checked | ||
{ | ||
outline: none !important; | ||
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. надо сделать без important, important - зло, так как его сложно переопределить потом |
||
} | ||
|
||
input:checked ~ input | ||
{ | ||
outline: 1px solid #ff6698; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,21 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div | ||
{ | ||
opacity: .5; | ||
} | ||
|
||
article > div:hover | ||
{ | ||
opacity: 1; | ||
|
||
} | ||
|
||
article:hover > div:not(:hover) | ||
{ | ||
opacity: .25; | ||
} | ||
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. 👍 |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,36 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div | ||
{ | ||
background: #ffb366; | ||
} | ||
|
||
article > div > div | ||
{ | ||
background: white; | ||
} | ||
|
||
article > div:nth-child(1) > div:nth-child(4) | ||
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. можно использовать first-child last-child |
||
{ | ||
background: #98ff66; | ||
} | ||
|
||
article > div:nth-child(2) > div:nth-child(even) | ||
{ | ||
background: #ff6698; | ||
} | ||
|
||
article > div:nth-child(3) > div:nth-child(odd) | ||
{ | ||
background: #6698ff; | ||
} | ||
|
||
article > div:nth-child(4) > div:first-child | ||
{ | ||
background: #ff6; | ||
} | ||
|
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,21 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope > .red-gt2 > div | ||
{ | ||
background: #ff6698; | ||
} | ||
|
||
.global-scope > .red-gt2 > div:nth-child(1):nth-last-child(1) | ||
{ | ||
background: white; | ||
} | ||
|
||
.global-scope > .red-gt2 > div:nth-child(1):nth-last-child(2), | ||
.global-scope > .red-gt2 > div:nth-child(2):nth-last-child(1) | ||
{ | ||
background: white; | ||
} | ||
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. 👍 |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,20 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > article:nth-child(even) | ||
{ | ||
background: #ff6; | ||
} | ||
|
||
article > article | ||
{ | ||
border-top: 1px solid black; | ||
} | ||
|
||
p + hr + article | ||
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. плохо привязывать к тому, что до article, так как это может поменяться |
||
{ | ||
border-top: none; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
#checkbox:checked + br + .tab | ||
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. тут та же проблема, а что если br уберем или добавим еще один? |
||
{ | ||
color: white; | ||
background: black; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,20 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
[href='https://vk.ru'] | ||
{ | ||
color: #6698ff; | ||
} | ||
|
||
[href='https://yandex.ru'] | ||
{ | ||
color: #ff6698; | ||
} | ||
|
||
[href='https://market.yandex.ru/'] | ||
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. можно сделать проверку не на полное совпадение и объединить с предыдущим |
||
{ | ||
color: #ff6698; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article > div:nth-child(2) | ||
{ | ||
opacity: .5; | ||
} | ||
|
||
article > div:nth-child(3) | ||
{ | ||
opacity: .5; | ||
} | ||
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. можно проще, обрати внимание, чем отличаются картинки в верстке |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
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.
можно объединить с первым