Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Week 4 Project
- Loading branch information
Showing
7 changed files
with
279 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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,212 @@ | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
main { | ||
background-image: url("../images/back2.jpg"); | ||
background-size: cover; | ||
background-position: center; | ||
} | ||
|
||
h1 { | ||
font-family: Arial, Helvetica, sans-serif; | ||
padding: 5px; | ||
margin: 0; | ||
} | ||
|
||
h3 { | ||
font-family: Arial, Helvetica, sans-serif; | ||
font-weight: 100; | ||
padding: 5px; | ||
margin: 0; | ||
text-align: center; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#three { | ||
font-family: Arial, Helvetica, sans-serif; | ||
font-size: larger; | ||
background-image: linear-gradient(to right, #496f80, #603d70); | ||
color: whitesmoke; | ||
padding: 0; | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
margin: 0; | ||
} | ||
|
||
nav { | ||
background-color: #496f80; | ||
} | ||
|
||
ul { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
li { | ||
font-family: Arial, Helvetica, sans-serif; | ||
font-size: large; | ||
color: #d3d3d3; | ||
padding: 10px; | ||
list-style: none; | ||
} | ||
|
||
li:hover { | ||
background-color: #2c424d; | ||
padding: 10px; | ||
border-radius: 5px; | ||
} | ||
|
||
button { | ||
background-color: deepskyblue; | ||
color: whitesmoke; | ||
border: none; | ||
border-radius: 5px; | ||
padding: 10px; | ||
margin: 10px; | ||
opacity: 0.7; | ||
} | ||
|
||
.rows { | ||
background-color: white; | ||
} | ||
|
||
#inbox { | ||
width: 2rem; | ||
height: 3rem; | ||
filter: invert(85%) sepia(4%) saturate(15%) hue-rotate(2deg) brightness(100%) | ||
contrast(92%); | ||
} | ||
|
||
#smile { | ||
width: 7rem; | ||
height: 7rem; | ||
filter: invert(85%) sepia(4%) saturate(15%) hue-rotate(2deg) brightness(100%) | ||
contrast(92%); | ||
opacity: 0.8; | ||
} | ||
|
||
.sec-1 h1 { | ||
color: whitesmoke; | ||
opacity: 0.7; | ||
} | ||
.sec-1 h3 { | ||
color: whitesmoke; | ||
opacity: 0.7; | ||
} | ||
|
||
footer { | ||
background-color: #496f80; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
footer p { | ||
font-size: small; | ||
font-family: Arial, Helvetica, sans-serif; | ||
color: #d3d3d3; | ||
padding: 10px; | ||
} | ||
|
||
@media (min-width: 320px) { | ||
nav { | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.sec-1 { | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
align-items: center; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
padding-top: 25px; | ||
padding-bottom: 5px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.sec-2 { | ||
display: flex; | ||
justify-content: space-around; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
.rows { | ||
width: 15rem; | ||
box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.06); | ||
margin-bottom: 20px; | ||
} | ||
.rows p { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
.rows #three { | ||
padding-left: 10px; | ||
} | ||
} | ||
|
||
@media (min-width: 768px) { | ||
nav { | ||
display: flex; | ||
justify-content: space-between; | ||
flex-direction: row; | ||
align-items: center; | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
} | ||
ul { | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: row; | ||
align-items: center; | ||
} | ||
|
||
.sec-1 { | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
align-items: center; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
padding-top: 25px; | ||
padding-bottom: 5px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.sec-2 { | ||
display: flex; | ||
justify-content: space-evenly; | ||
flex-direction: row; | ||
align-items: center; | ||
} | ||
.rows { | ||
width: 14rem; | ||
height: 12rem; | ||
box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.06); | ||
margin-bottom: 20px; | ||
} | ||
.rows p { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
} | ||
.rows #three { | ||
padding-left: 10px; | ||
} | ||
} | ||
|
||
@media (min-width: 1024px) { | ||
body { | ||
margin-right: auto; | ||
margin-left: auto; | ||
max-width: 1024px; | ||
} | ||
nav { | ||
padding-left: 75px; | ||
padding-right: 75px; | ||
} | ||
} |
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,65 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="css/style.css" /> | ||
<title>Week 4</title> | ||
</head> | ||
<body> | ||
<header> | ||
<nav> | ||
<ul> | ||
<li><img id="inbox" src="images/inbox-solid.svg" /></li> | ||
<li>Inbox</li> | ||
<li>Sent</li> | ||
<li>Trash</li> | ||
</ul> | ||
<ul> | ||
<li>Settings</li> | ||
<li>Log out</li> | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<main> | ||
<div class="back"> | ||
<section> | ||
<div class="sec-1"> | ||
<img id="smile" src="images/smile-regular.svg" /> | ||
<h1>Welcome to the app!</h1> | ||
<h3>Thanks for signing up. Let's take a look around.</h3> | ||
<button>Begin tour</button> | ||
</div> | ||
</section> | ||
<section class="sec-2"> | ||
<div class="rows"> | ||
<h2 id="three">Bristol</h2> | ||
<p> | ||
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga | ||
deleniti facilis ullam excepturi molestiae suscipit veritatis | ||
doloremque sequi, maxime non quod eligendi molestias fugit quia | ||
eum optio ducimus velit sunt. | ||
</p> | ||
</div> | ||
<div class="rows"> | ||
<h2 id="three">Harbour Cranes</h2> | ||
<p> | ||
Lorem ipsum dolor sit amet consectetur, adipisicing elit. In a, | ||
enim ducimus dolorum eum quis amet. | ||
</p> | ||
</div> | ||
<div class="rows"> | ||
<h2 id="three">Striped Balloon</h2> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p> | ||
</div> | ||
</section> | ||
</div> | ||
</main> | ||
|
||
<footer> | ||
<p>Dan Collette DMD3470 2021</p> | ||
</footer> | ||
</body> | ||
</html> |