Skip to content

Commit

Permalink
second commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gyke committed Oct 18, 2018
1 parent dc3bb25 commit 737622b
Show file tree
Hide file tree
Showing 19 changed files with 172 additions and 60 deletions.
18 changes: 15 additions & 3 deletions tasks/1.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,21 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
.c1 {background-color: #ff6698}
#id {background-color: #98ff66}
div, aside{background-color: #6698ff}
.c1
{
background-color: #ff6698;
}

#id
{
background-color: #98ff66;
}

div,
aside
{
background-color: #6698ff;
}
</style>

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

<main class="global-results">
<style>
.title::first-letter{
.title::first-letter
{
color: #ff6698;
}
.description:first-line{

.description:first-line
{
color: #6698ff;
}
</style>
Expand Down
11 changes: 8 additions & 3 deletions tasks/11.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
input:first-child{
input:first-child
{
border: 3px solid #ff6698;
}
input{

input
{
border: 3px solid #98ff66;
}
input:focus{

input:focus
{
border: 3px solid #6698ff;
}

Expand Down
17 changes: 12 additions & 5 deletions tasks/12.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
div{
background-color: #ffff66;
div
{
background-color: #ff6;
}
div:nth-child(4n-1){

div:nth-child(4n-1)
{
background-color: #ffb366;
}
div:last-child{

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

div:first-child
{
background-color: #ffb366;
}

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

<main class="global-results">
<style>
div:nth-child(4n + 1) > div:first-child{
div:nth-child(4n + 1) > div:first-child
{
background-color: #ff6698;
}
</style>
Expand Down
12 changes: 8 additions & 4 deletions tasks/14.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
article{
article
{
margin-left: 15px;
}
ul{
list-style-type: square !important;
/*вместо плюсиков, хотя можно использовать list-style-image и дать свою картинку, ну ты понял..*/

ul
{
list-style-type: square !important;
/*вместо плюсиков, хотя можно использовать list-style-image
и дать свою картинку, ну ты понял..*/
}
</style>

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

<main class="global-results">
<style>
[href*=".zip."]{
background-color: #ffffff !important;
[href*='.zip.']
{
background-color: #fff !important;
}
[href*=".zip"]{

[href*='.zip']
{
/*чем мне их выделять?*/
background-color: #cacaca;
}
Expand Down
19 changes: 13 additions & 6 deletions tasks/16.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
div{
div
{
background-color: #ff6698 !important;
}
.c1{

.c1
{
background-color: #6698ff !important;
}
#id1{
background-color: #ffb366 !important;

#id1
{
background-color: #ffb366 !important;
}
.c7{
background-color: #ffff66 !important;

.c7
{
background-color: #ff6 !important;
}
</style>

Expand Down
9 changes: 6 additions & 3 deletions tasks/17.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
input:checked{
outline: 0px !important;
input:checked
{
outline: none !important;
}
input:checked ~ input{

input:checked ~ input
{
outline: 1px solid #ff6698;
}
</style>
Expand Down
7 changes: 5 additions & 2 deletions tasks/18.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
.global-scope > div{
.global-scope > div
{
opacity: 0.3;
}
.global-scope > div:hover{

.global-scope > div:hover
{
opacity: 1 !important;
}
</style>
Expand Down
22 changes: 16 additions & 6 deletions tasks/19.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,33 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
.global-scope > div{
.global-scope > div
{
background-color: #ffb366;
}
.global-scope > div > div{

.global-scope > div > div
{
background-color: #ffffff;
}
.global-scope > div:first-child > div:last-child{

.global-scope > div:first-child > div:last-child
{
background-color: #98ff66;
}
.global-scope > div:last-child > div:first-child{

.global-scope > div:last-child > div:first-child
{
background-color: #ffff66;
}

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

.global-scope > div:nth-child(2) > div:nth-child(2n)
{
background-color: #ff6698;
}
</style>
Expand Down
19 changes: 16 additions & 3 deletions tasks/2.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,22 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
div.c1.c2 {background-color: #6698ff; border: 2px solid #000000}
.c1 {background-color: #ff6698; border: 2px solid #000000}
.c2 {background-color: #ffb366}
div.c1.c2
{
background-color: #6698ff;
border: 2px solid #000000;
}

.c1
{
background-color: #ff6698;
border: 2px solid #000000;
}

.c2
{
background-color: #ffb366;
}
</style>

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

<main class="global-results">
<style>
div{border: 2px solid #000000;}
article.global-scope.global-scope_3 > div > div {background-color: #6698ff; border: 0px;}
div
{
border: 2px solid #000000;
}

article.global-scope.global-scope_3 > div > div
{
background-color: #6698ff;
border: 0px;
}
</style>

<section class="global-result">
Expand Down
17 changes: 14 additions & 3 deletions tasks/4.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,20 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
article:not(:first-child) + article{border-top: 1px solid #000000}
article > article {background-color: #ffff66}
article:nth-child(2n) + article{background-color: #ffffff}
article:not(:first-child) + article
{
border-top: 1px solid #000000;
}

article > article
{
background-color: #ffff66;
}

article:nth-child(2n) + article
{
background-color: #ffffff;
}
</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>
input#checkbox:checked ~ div{background-color: black; color: #ffffff;}
input#checkbox:checked ~ div
{
background-color: black;
color: #ffffff;
}
</style>

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

<main class="global-results">
<style>
.global-scope > a:first-child{
color: #6698ff
.global-scope > a:first-child
{
color: #6698ff;
}
.global-scope > a:not(:first-child){
color: #ff6698

.global-scope > a:not(:first-child)
{
color: #ff6698;
}
</style>

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

<main class="global-results">
<style>
article > div{
article > div
{
opacity: 0.3;
}
article > div:first-child{

article > div:first-child
{
opacity: 1;
}
article > div:last-child{

article > div:last-child
{
opacity: 1;
}
</style>
Expand Down
7 changes: 5 additions & 2 deletions tasks/8.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
[href*="//"]{
[href*="//"]
{
color: #ff6698;
}
[href*="my-site.ru"]{

[href*="my-site.ru"]
{
color: blue;
}
</style>
Expand Down
Loading

0 comments on commit 737622b

Please sign in to comment.