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

Галиакбаров Эдуард #129

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 :first-child
{
background-color: #668ef9;
}

.c1
{
background-color: #f54d90;
}

#id
{
background-color: #9bff6d;
}

aside
{
background-color: #668ef9;
}
</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: #ff6698;
}

.description::first-line
{
color: #6698ff;
}
</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 */
input[value='invalid-email']
{
border: 3px solid #ff6698;
}

input[value='invalid-email']:focus
{
border: 3px solid #6698ff;
}

input[value='[email protected]']
{
border: 3px solid #98ff66;
}
</style>

<section class="global-result">
Expand Down
10 changes: 9 additions & 1 deletion tasks/12.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 */
div
{
background: #ffb366;
}

div:empty
{
background: #ff6;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/13.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 */
div > div:only-of-type
{
background-color: #ff6698;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/14.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 */
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
{
background-color: #ff6698;
}

.global-scope .c1
{
background-color: #6698ff;
}

#id1
{
background-color: #ffb366;
}

.c7
{
background-color: #ff6 !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:checked ~ input:not(:checked)
{
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 */
div
{
opacity: .5;
}

div:hover
{
opacity: 1;
}
</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 */
article div
{
background-color: #ffb366;
}

div div
{
background-color: white;
}

div:first-child div:last-child
{
background-color: #98ff66;
}

div:nth-child(2) div:nth-child(2n)
{
background-color: #ff6698;
}

div:nth-child(3) div:nth-child(2n-1)
{
background-color: #6698ff;
}

div:last-child div:first-child
{
background-color: #ff6;
}
</style>

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

<main class="global-results">
<style>
/* your styles here */
div:first-child
{
background-color: #668ef9;
border: 2px solid #000;
}

div:nth-child(2)
{
background-color: #f54d90;
border: 2px solid #000;
}

div:nth-child(3)
{
background-color: #f7a767;
}

div:last-child
{
background-color: #f54d90;
border: 2px solid #000;
}
</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 */
div:nth-child(n+3) div
{
background-color: #ff6698;
}
</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 */
div > div
{
background-color: #668ef9;
}

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 */
article:nth-child(2n)
{
background-color: #fdff71;
}

article:nth-child(n+5)
{
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:checked + br + div
{
background: #000;
color: #fff;
}
</style>

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

<main class="global-results">
<style>
/* your styles here */
a[href='https://vk.ru']
{
color: #698ef9;
}

a[href='https://yandex.ru'],
a[href='https://market.yandex.ru/']
{
color: #f54d90;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/7.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 */
.global-scope img:not([alt])
{
opacity: .3;
}
</style>

<section class="global-result">
Expand Down
7 changes: 6 additions & 1 deletion tasks/8.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 */
a[rel='external'],
a[href^='http://']:not([href*='my-site.ru']),
a[href^='https://']:not([href*='my-site.ru'])
{
color: #ff6698;
}
</style>

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

<main class="global-results">
<style>
/* your styles here */
a[href='https://ya.ru']
{
color: #6698ff;
}

a[href='https://ya.ru']:hover
{
color: #ff6698;
}

a:not([href='https://ya.ru']):hover
{
opacity: .6;
}

a[href='https://ya.ru']:visited
{
color: #ffb366;
}

a[href='https://ya.ru']:active
{
color: #98ff66;
}
</style>

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