Skip to content
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
2 changes: 1 addition & 1 deletion week-1/9-git-branch/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Add your own CSS code below */
.link {
color: #4491db;
color: green;
font-weight: 700;
text-decoration: none;
}
11 changes: 11 additions & 0 deletions week-2/10-media-queries/columns.css
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
/* Add your own CSS code below */
@media (min-width: 768px) {
.countries {
columns: 2;
}
}

@media (min-width: 1200px) {
.countries {
columns: 3;
}
}
9 changes: 9 additions & 0 deletions week-2/11-flexbox/flexbox.css
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/* Add your own CSS code below */
.countries.countries--first {
display: flex;
flex-direction: row-reverse;
}

.countries.countries--third {
display: flex;
flex-direction: column-reverse;
}
15 changes: 15 additions & 0 deletions week-2/12-justify-content/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@
}

/* Add your own CSS code below */
.countries--first {
justify-content: center;
padding: auto;
}
.countries--second {
justify-content: space-evenly;
}
.countries--third {
justify-content: end;
flex-direction: column;
}
.countries--fourth {
flex-direction: column;
justify-content: space-evenly;
}
18 changes: 18 additions & 0 deletions week-2/13-align-items/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,21 @@
display: flex;
}
/* Add your own CSS code below */
.countries--first {
align-items: center;
justify-content: center;
}
.countries--second {
flex-direction: row-reverse;
justify-content: end;
align-items: flex-end;
}
.countries--third {
flex-direction: column;
align-items: flex-end;
}
.countries--fourth {
flex-direction: column-reverse;
justify-content: end;
align-items: center;
}
22 changes: 22 additions & 0 deletions week-2/14-order/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,25 @@
}

/* Add your own CSS code below */
.countries--first > .country--brazil {
order: 5;
}
.countries--second > .country--brazil {
order: 4;
}

.countries--second > .country--uganda {
order: 5;
}
.countries--third > .country--brazil {
order: 5;
}
.countries--third > .country--croatia {
order: 4;
}
.countries--third > .country--ethiopia {
order: 3;
}
.countries--third > .country--laos {
order: 2;
}
32 changes: 32 additions & 0 deletions week-2/15-align-self/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,35 @@
}

/* Add your own CSS code below */

.countries--first > .country--ethiopia {
align-items: baseline;
align-self: flex-end;
}

.countries--second {
align-items: center;
align-self: flex-end;
}
.countries--second > .country--ethiopia {
align-items: baseline;
align-self: flex-end;
}

.countries--third {
align-items: flex-end;
align-self: flex-end;
}
.countries--third > .country--brazil {
align-self: flex-start;
}
.countries--third > .country--uganda {
align-self: flex-start;
}
.countries--fourth {
flex-direction: column;
align-items: flex-start;
}
.countries--fourth > .country--uganda {
align-self: center;
}
40 changes: 40 additions & 0 deletions week-2/16-more-flexbox/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,43 @@
}

/* Add your own CSS code below */
.countries--first {
align-items: flex-end;
justify-content: end;
}
.countries--second {
align-items: flex-end;
justify-content: center;
}
.countries--third {
align-items: flex-start;
justify-content: center;
}
.countries--third > .country--brazil {
align-self: flex-end;
}
.countries--fourth {
flex-direction: column;
align-items: flex-end;
justify-content: center;
}
.countries--fourth > .country--ethiopia {
align-self: center;
}
.countries--fourth > .country--laos {
align-self: center;
}

.countries--fifth {
flex-direction: column-reverse;
justify-content: space-between;
align-items: flex-end;
}

.countries--fifth > .country--laos {
order: 4;
}

.countries--fifth > .country--uganda {
align-self: center;
}
17 changes: 17 additions & 0 deletions week-2/17-nav-menu/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
/* Write your media queries and flexbox CSS below */
@media (min-width: 480px) {
.site-header__nav {
display: flex;
flex-direction: row;
}
}
@media (min-width: 700px) {
.site-header {
display: flex;
}
}
@media (min-width: 992px) {
.site-header {
display: flex;
justify-content: space-between;
}
}