Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

london8-Ezgi Gunes-HTML/CSS-Week3 #251

Open
wants to merge 1 commit 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
40 changes: 40 additions & 0 deletions css/footer.css
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 {

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.

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;

}
55 changes: 55 additions & 0 deletions css/navigation.css
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 {

Choose a reason for hiding this comment

The 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";
}

Choose a reason for hiding this comment

The 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.
*/

}

183 changes: 183 additions & 0 deletions css/style.css
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;


}


5 changes: 5 additions & 0 deletions design/facebook-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions design/instagram-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions design/twitter-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading