Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Week 4 Project
  • Loading branch information
dac18026 committed Feb 11, 2021
1 parent 5f97832 commit 989566f
Show file tree
Hide file tree
Showing 7 changed files with 279 additions and 0 deletions.
Binary file added week-4/.DS_Store
Binary file not shown.
212 changes: 212 additions & 0 deletions week-4/css/style.css
@@ -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 added week-4/images/.DS_Store
Binary file not shown.
Binary file added week-4/images/back2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions week-4/images/inbox-solid.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions week-4/images/smile-regular.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions week-4/index.html
@@ -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>

0 comments on commit 989566f

Please sign in to comment.