This repository was archived by the owner on Jan 14, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 609
london8-Ezgi Gunes-HTML/CSS-Week3 #251
Open
Ezgi3406
wants to merge
1
commit into
CodeYourFuture:master
Choose a base branch
from
Ezgi3406:london8-Ezgi-Gunes-HTML/CSS-week3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* FOOTER STYLING */ | ||
.footer-border-line { | ||
border-top: 2px solid #dfdfdf; | ||
margin: 0 150px 0 150px; | ||
width: 100%; | ||
margin-left: auto; | ||
background-color: rgb(244, 114,208); | ||
margin-right: auto; | ||
|
||
} | ||
|
||
.footer h1 { | ||
text-align: center; | ||
font-size: 23px; | ||
font-weight: 400; | ||
color: black; | ||
margin-bottom: 20px; | ||
margin-top: 30px; | ||
|
||
|
||
|
||
} | ||
|
||
.footer-content { | ||
margin-bottom: 20px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-evenly; | ||
color: black; | ||
|
||
|
||
} | ||
|
||
|
||
.copyright { | ||
text-align: center; | ||
color: black; | ||
margin-bottom: 100px; | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* HEADER*/ | ||
.header2 { | ||
display: flex; | ||
justify-content:space-evenly; | ||
} | ||
|
||
.header-image { | ||
height: 50px; | ||
width: 50px; | ||
|
||
|
||
} | ||
|
||
/* NAVIGATION */ | ||
|
||
.nav-list { | ||
display: flex; | ||
list-style: none; | ||
padding-right: 100px; | ||
|
||
} | ||
|
||
.nav-item { | ||
padding: 17px; | ||
} | ||
|
||
.nav-link:hover { | ||
color: #eb6728; | ||
} | ||
|
||
.nav-link { | ||
text-decoration: none; | ||
color: #888; | ||
} | ||
|
||
/* TABLET: */ | ||
@media screen and (min-width: 550px) { | ||
.homepage-main { | ||
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. I couldn't find .homepage-main class in HTML. Am I missing it ? |
||
/* we need more columns for a more complex layout */ | ||
grid-template-columns: repeat(6, 1fr); | ||
/* we need less rows now */ | ||
grid-template-rows: 140px 100px 80px; | ||
/* our template now has 6 columns and 3 rows */ | ||
grid-template-areas: | ||
"hero hero hero hero hero hero" | ||
"feature feature feature . aside aside" | ||
"product product product . aside aside"; | ||
} | ||
|
||
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. These grid area names don't seem to exist in CSS . |
||
/* | ||
We don't need to re-define the grid-area for each block because these haven't changed. The hero is still the hero, the feature is still the feature etc. | ||
*/ | ||
|
||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
/* Add your styling here */ | ||
body { | ||
font-family: 'Roboto', sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
font-family: "Roboto", sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
} | ||
|
||
.page-top-half { | ||
position: relative; | ||
} | ||
|
||
.page-top-half .large-text { | ||
position: absolute; | ||
z-index: 999; | ||
margin: 0 auto; | ||
left: 0; | ||
right: 0; | ||
color: whitesmoke; | ||
text-align: center; | ||
} | ||
|
||
.page-top-half h1 { | ||
display: block; | ||
margin-block-start: 1em; | ||
margin-block-end: 1em; | ||
margin-inline-start: 0px; | ||
margin-inline-end: 0px; | ||
font-size: 60px; | ||
top: 34%; | ||
font-weight: 100; | ||
} | ||
|
||
.page-top-half h2 { | ||
font-size: 34px; | ||
top: 45%; | ||
font-weight: 100; | ||
} | ||
|
||
.background-image { | ||
width: 50%; | ||
} | ||
|
||
button { | ||
padding: 15px 40px; | ||
background-color: rgb(244,114,208); | ||
color: white; | ||
border: none; | ||
border-radius: 4px; | ||
} | ||
|
||
.page-top-half button { | ||
position: absolute; | ||
left: 46%; | ||
top: 59%; | ||
} | ||
|
||
/* BOTTOM HALF OF PAGE STYLING */ | ||
.page-bottom-half { | ||
margin-top: 30px; | ||
margin-bottom: 1px; | ||
text-align: center; | ||
} | ||
|
||
.page-bottom-half h1 { | ||
display: block; | ||
margin-block-start: 1em; | ||
margin-block-end: 1em; | ||
margin-inline-start: 0px; | ||
margin-inline-end: 0px; | ||
font-size: 60px; | ||
font-weight: 300; | ||
color: #3c3b3b; | ||
} | ||
|
||
.icon-container { | ||
display: flex; | ||
justify-content: space-evenly; | ||
margin-top: 50px; | ||
|
||
|
||
} | ||
|
||
.icon { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.icon .img { | ||
max-width: 200px; | ||
} | ||
|
||
.icon .txt { | ||
font-size: 35px; | ||
color: #3c3b3b; | ||
} | ||
|
||
/* EXTENDED HOMEPAGE STYLING */ | ||
.extended-feature { | ||
background-color: #f7ece8; | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 120px; | ||
} | ||
|
||
.feature-img { | ||
width: 640px; | ||
padding-right: 50px; | ||
} | ||
|
||
.txt-and-button-container { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.txt-and-button-container p { | ||
text-align: center; | ||
} | ||
|
||
.txt-quote { | ||
font-style: italic; | ||
font-weight: normal; | ||
font-size: 30px; | ||
/* line-height: 100%; */ | ||
color: #E0633A; | ||
padding-left: 4em; | ||
|
||
} | ||
|
||
q { | ||
display: inline; | ||
} | ||
|
||
q::before { | ||
content: open-quote; | ||
} | ||
|
||
q::after { | ||
content: close-quote; | ||
} | ||
|
||
.txt-quote em { | ||
font-size: 20px; | ||
/* line-height: 60px; */ | ||
color:#3c3b3b; | ||
} | ||
|
||
.button-alignment { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 30px; | ||
} | ||
h1{ | ||
font-size: 30px; | ||
text-align: center; | ||
} | ||
|
||
.header2 img { | ||
float: left; | ||
height: 150px; | ||
width:100%; | ||
|
||
} | ||
|
||
.header2 h1 { | ||
position: relative; | ||
top: 40px; | ||
left: 10px; | ||
z-index: 100; | ||
position: absolute; | ||
color: black; | ||
font-size: 30px; | ||
font-weight: bold; | ||
padding: 10px; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
|
||
|
||
} | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It makes me confused as footer and h1 are element names in HTML, may be it would be better rename for this class.