Skip to content

first commit #622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
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
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ You **must** use the Google Chrome developer tools during your HTML/CSS implemen
Review the provided design file for the home page.
* [ ] Build the HTML and CSS to create the missing header and footer sections.
* [ ] Link the h1 page title to the [index.html](index.html) page.
* [ ] Link the `Menu` navigation item to the [menu.html](menu.html) page.
* [ ] Create social media buttons on header for Facebook, Twitter, and Instagram with icons from [FontAwesome](https://fontawesome.com/search). *NOTE: * ENSURE that the icon name includes "facebook", "twitter", or "instagram" respectively.
* [ ] Build the rest of the home page layout to match the design. Much of it has already been implemented; you should only need to fix the header, footer, and gallery portions.
* [X] Build the HTML and CSS to create the missing header and footer sections.
* [X] Link the h1 page title to the [index.html](index.html) page.
* [X] Link the `Menu` navigation item to the [menu.html](menu.html) page.
* [X] Create social media buttons on header for Facebook, Twitter, and Instagram with icons from [FontAwesome](https://fontawesome.com/search). *NOTE: * ENSURE that the icon name includes "facebook", "twitter", or "instagram" respectively.
* [X] Build the rest of the home page layout to match the design. Much of it has already been implemented; you should only need to fix the header, footer, and gallery portions.
Colors and fonts:
Light text: rgb(225, 239, 230);
Expand All @@ -85,13 +85,13 @@ Dark transparency: background-color: rgb(0, 4, 17, .8);
Review the provided design files for the menu page.
* [ ] Copy and paste your home page header and footer into the menu page.
* [ ] Update the header image with the menu page image.
* [ ] Use the article element for the menu and a div inside of it; change the div's class to "menu-container"
* [ ] Create a container for each section (e.g. drinks or entrees) with class "menu-section"
* [ ] Create a container for each item (e.g. soda or burger) with class "menu-item"
* [ ] Add an H4 for every price and title of the menu, two h4 for each menu
* [ ] Add a p element for every description, second line such as (v) will require it's own p
* [X] Copy and paste your home page header and footer into the menu page.
* [X] Update the header image with the menu page image.
* [X] Use the article element for the menu and a div inside of it; change the div's class to "menu-container"
* [X] Create a container for each section (e.g. drinks or entrees) with class "menu-section"
* [X] Create a container for each item (e.g. soda or burger) with class "menu-item"
* [X] Add an H4 for every price and title of the menu, two h4 for each menu
* [X] Add a p element for every description, second line such as (v) will require it's own p
Colors and fonts for desktop:
Light text: rgb(225, 239, 230);
Expand Down
145 changes: 134 additions & 11 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
/* border: 0; */
font-size: 100%;
font: inherit;
vertical-align: baseline;
Expand Down Expand Up @@ -49,6 +49,7 @@ table {

* {
box-sizing: border-box;
/* border: 1px solid white; */
}

html {
Expand All @@ -68,21 +69,25 @@ h1, h2, h3, h4, h5, h6, p, a, i {
}

h1 {
font-size: 7.5rem;
font-size: 6rem;
}

h2 {
font-size: 6rem;
font-size: 4rem;
}

h3 {
font-size: 5rem;
font-size: 3.5rem;
}

p, a {
h4 {
font-size: 3rem;
}

p, a {
font-size: 2rem;
}

/* header section */
header {
width: 100%;
Expand All @@ -93,16 +98,63 @@ header {
background-repeat: no-repeat;
}

header h1 {
display: flex;
color: rgb(225, 239, 230);
background-color: rgb(0, 4, 17, .8);
justify-content: center;
align-items: center;
}

header a {
text-decoration: none;
color: rgb(225, 239, 230);
}

header nav {
display: flex;
flex-flow: column;
flex-wrap: wrap;
font-size: 3rem;
background-color: rgb(0, 4, 17, .8);
}

nav div {
display: flex;
flex-direction: row;
justify-content: space-around;
text-decoration: none;
color: rgb(225, 239, 230);
}

.socials {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
}

i {
padding: 1%;
height: auto;
width: auto;
font-size: 2rem;
}


/* spacers */
.spacer {
width: 100%;
height: 20vh;
height: 40vh;
background-color: rgb(0, 4, 17);
}
.spacer-sm {
width: 100%;
height: 10vh;
background-color: rgb(0, 4, 17);
color: rgb(225, 239, 230);
padding: 2.5%;
padding-bottom: 2.5%;
}

/* gallery section */
Expand All @@ -111,17 +163,26 @@ header {
height: 100vh;
text-align: center;
background-color: rgb(0, 4, 17);
color: rgb(225, 239, 230);
padding: 1%;
padding-bottom: 2.5%;
}

img {
padding: 1% 1%;
width: 30%;
}

/* about us section */
.about {
width: 100%;
height: 75vh;
height: 90vh;
text-align: center;
background-image: url("../img/staff-cooks.jpg");
background-size: cover;
background-position: top;
background-repeat: no-repeat;
color: rgb(225, 239, 230);
}

.about-container {
Expand All @@ -131,14 +192,15 @@ header {
justify-content: center;
align-items: center;
background-color: rgb(0, 4, 17, .8);
padding-top: 5%;
}

.about h2 {
width: 100%;
}

.about-container .text {
width: 50%;
width: 75%;
}

/* contact us section */
Expand All @@ -149,6 +211,7 @@ header {
background-position: center;
background-repeat: no-repeat;
background-color: rgb(0, 4, 17);
color: rgb(225, 239, 230);
}

.contact-container {
Expand All @@ -157,16 +220,26 @@ header {
background-color: rgb(0, 4, 17, .8);
}

.contact a {
text-decoration: none;
justify-content: space-around;
color: rgb(225, 239, 230);
font-size: 3rem;
}

.contact h2 {
padding-top: 5vh;
font-size: 5rem;
}

.contact h3 {
padding-top: 2.5vh;
font-size: 4rem;
}

.contact p {
padding: .5vh 0;
font-size: 3rem;
}

.info {
Expand All @@ -176,16 +249,17 @@ header {
}

.address {
width: 25%;
width: 30%;
}

.hours {
width: 25%;
width: 30%;
padding-bottom: 2.5vh;
}

.contacts {
width: 25%;
width: 30%;
justify-content: center;
}

/* footer section */
Expand All @@ -194,11 +268,60 @@ footer {
height: 15vh;
padding-top: 2.5vh;
font-size: 3rem;
background-color: rgb(0, 4, 17);
color: rgb(225, 239, 230);
text-decoration: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

footer a {
text-decoration: none;
color: rgb(225, 239, 230);
}

footer div {
display: flex;
flex-direction: column;
margin-right: 2%;
}

footer nav {
display: flex;
justify-content: space-around;
width: 70%;
}

footer .copyright {
font-size: 2rem;
width: 100%;
height: auto;
display: flex;
justify-content: flex-end;
padding-left: 60%;
}

/* mobile media query */
@media (max-width: 428px) {
/* header section */
header {
width: 100%;
display: flex;
}

header a {
width: 100%;
text-align: center;
justify-content: center;
}

header nav div {
width: 100%;
text-align: center;
flex-direction: column;
justify-content: center;
}


/* gallery section */
Expand Down
Loading