-
-
Notifications
You must be signed in to change notification settings - Fork 459
Scotland class 5 — CSS zoo project #74
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,9 @@ header { | |||||||||
| width: 100%; | ||||||||||
| padding: 20px; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| #logo{ | ||||||||||
| border:none; | ||||||||||
| } | ||||||||||
|
Comment on lines
+11
to
+13
Contributor
Author
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.
Suggested change
Instead of adding -img {
- border: 5px solid #8075ff;
-} |
||||||||||
| nav { | ||||||||||
| display: inline-block; | ||||||||||
| width: 100%; | ||||||||||
|
|
@@ -76,6 +78,8 @@ footer { | |||||||||
| } | ||||||||||
|
|
||||||||||
| .introduction { | ||||||||||
| background-color:#fff ; | ||||||||||
| line-height: 1.5; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| #badge { | ||||||||||
|
|
@@ -85,13 +89,14 @@ footer { | |||||||||
| border-radius: 50%; | ||||||||||
| display: inline-block; | ||||||||||
| position: fixed; | ||||||||||
| bottom: 20px; | ||||||||||
| top: 20px; | ||||||||||
| right: 20px; | ||||||||||
|
|
||||||||||
| display: flex; | ||||||||||
| justify-content: center; | ||||||||||
| align-content: center; | ||||||||||
| flex-direction: column; | ||||||||||
| transition: ease 2s; | ||||||||||
|
Contributor
Author
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.
Suggested change
The documentation says we should provide the properties in this order |
||||||||||
| } | ||||||||||
|
|
||||||||||
| #badge:hover { | ||||||||||
|
|
@@ -105,25 +110,44 @@ footer { | |||||||||
|
|
||||||||||
| .image-container img { | ||||||||||
| vertical-align: top; | ||||||||||
| border: 5px solid #747c92; | ||||||||||
| border: 5px solid #3660d3; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .image-container img:nth-child(2) { | ||||||||||
| vertical-align: top; | ||||||||||
| border: 5px solid #dd2626; | ||||||||||
| } | ||||||||||
| .image-container img:first-of-type { | ||||||||||
| vertical-align: bottom; | ||||||||||
| vertical-align: top; | ||||||||||
| border: 5px solid #abdf88; | ||||||||||
|
|
||||||||||
|
|
||||||||||
| } | ||||||||||
|
|
||||||||||
| .tigers { | ||||||||||
| background-color: #0b3c49; | ||||||||||
| color: #f0e100; | ||||||||||
| } | ||||||||||
| .tigers h2, h3{ | ||||||||||
|
Contributor
Author
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.
Suggested change
The |
||||||||||
| color:#F9CDCD !important; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .giraffe { | ||||||||||
| background-color: #465775; | ||||||||||
| color: #56e39f; | ||||||||||
| background-color: #483C46; | ||||||||||
| color: #BEEE62; | ||||||||||
| } | ||||||||||
| .giraffe p:nth-child(1){ | ||||||||||
| font-size:larger ; | ||||||||||
|
|
||||||||||
| } | ||||||||||
|
|
||||||||||
| .giraffe h2 { | ||||||||||
| color: #ef6f6c; | ||||||||||
| color: #F4743B; | ||||||||||
| } | ||||||||||
| .news h2{ | ||||||||||
| display: flex; | ||||||||||
| justify-content: center; | ||||||||||
| align-items: center; | ||||||||||
|
Comment on lines
+148
to
+150
Contributor
Author
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.
Suggested change
Alternatively, we could use |
||||||||||
| } | ||||||||||
|
|
||||||||||
| .card { | ||||||||||
|
|
@@ -166,18 +190,32 @@ footer { | |||||||||
| background-color: rgba(255, 255, 255, 0.75); | ||||||||||
| padding: 50px; | ||||||||||
| max-width: 400px; | ||||||||||
| border-radius: 30px; | ||||||||||
|
|
||||||||||
| } | ||||||||||
|
|
||||||||||
| .education-container h3, | ||||||||||
| .education-container p { | ||||||||||
| margin-bottom: 1em; | ||||||||||
| } | ||||||||||
| .education-container button{ | ||||||||||
|
|
||||||||||
| font-size: larger; | ||||||||||
|
|
||||||||||
| } | ||||||||||
| .education-container button:hover{ | ||||||||||
|
Contributor
Author
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.
Suggested change
We should add a focus style too for keyboard users who use the |
||||||||||
| background-color: #ccc8f5; | ||||||||||
| color: #6320ee; | ||||||||||
|
|
||||||||||
| } | ||||||||||
|
|
||||||||||
| /*Membership*/ | ||||||||||
|
|
||||||||||
| .membership { | ||||||||||
| text-align: center; | ||||||||||
| background-color: #fffffc; | ||||||||||
| width: 700px; | ||||||||||
| margin: auto; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .membership h2 { | ||||||||||
|
|
@@ -191,5 +229,6 @@ footer { | |||||||||
| /*Programs*/ | ||||||||||
|
|
||||||||||
| .programs .card { | ||||||||||
| display: block; | ||||||||||
| display: inline-block; | ||||||||||
| width: 25%; | ||||||||||
| } | ||||||||||
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.
Software teams normally delete commented code, so we shouldn't commit commented code