Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Week 2 work
  • Loading branch information
dac18026 committed Jan 30, 2021
1 parent 99dbc0d commit fd7cd7f
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 0 deletions.
181 changes: 181 additions & 0 deletions week-2/css/style.css
@@ -0,0 +1,181 @@
h1 {
display: flex;
justify-content: center;
text-decoration: underline red;
}

h2 {
text-decoration: underline red;
margin: 0;
}

ul {
padding: 0;
}

li {
list-style-type: none;
padding: 0;
}

a {
text-decoration: none;
color: black;
padding: 0;
}

nav > ul > li > a {
display: flex;
justify-content: center;
padding: 5px;
}

@media (min-width: 320px) {
main {
display: flex;
justify-content: center;
flex-direction: column;
}
img {
width: 15rem;
height: auto;
}
.photo {
display: flex;
justify-content: center;
}
.container {
display: flex;
justify-content: center;
flex-direction: column;
padding-left: 30px;
padding-right: 30px;
}
.about {
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
align-self: center;
width: 15rem;
padding-left: 30px;
padding-right: 30px;
}
.row-one {
display: flex;
justify-content: center;
flex-direction: column;
}
.row-two {
padding-top: 10px;
}
}

@media (min-width: 375px) {
main {
display: flex;
justify-content: center;
flex-direction: column;
}
img {
width: 15rem;
height: auto;
}
.photo {
display: flex;
justify-content: center;
}
.container {
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
padding-left: 60px;
padding-right: 0;
}
.about {
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
align-self: center;
width: 15rem;
}

.row-one {
display: flex;
justify-content: center;
flex-direction: column;
}
.row-two {
display: flex;
justify-content: center;
flex-direction: column;
padding-top: 10px;
}
}

@media (min-width: 425px) {
.container {
width: 15rem;
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
align-self: center;
padding-right: 60px;
}
nav > ul > li > a {
display: flex;
justify-content: center;
padding: 5px;
}
}

@media (min-width: 768px) {
header {
padding-bottom: 10px;
}
.row-one {
display: flex;
justify-content: space-evenly;
flex-direction: row;
align-self: center;
padding-bottom: 10px;
}
.row-two {
display: flex;
justify-content: space-evenly;
flex-direction: row;
align-self: center;
}
.about {
display: flex;
justify-content: flex-start;
align-items: flex-start;
padding: 0;
padding-right: 5rem;
margin: 0;
}
.container {
padding: 0;
margin: 0;
}
#left-col {
padding-right: 5rem;
}
nav {
align-self: center;
}
nav > ul {
display: flex;
justify-content: center;
flex-direction: row;
align-items: center;
align-self: center;
}
nav > ul > li > a {
padding: 0;
padding-right: 60px;
}
}
Binary file added week-2/images/picture.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions week-2/index.html
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style.css" />
<title>Week 2</title>
</head>
<body>
<header>
<h1>Dan Collette</h1>
<div class="nav-container">
<nav>
<ul>
<li>
<a href="https://www.instagram.com/dcollette.design/"
>Instagram</a
>
</li>
<li>
<a href="www.linkedin.com/in/daniel-m-collette">Linkedin</a>
</li>
<li><a href="https://github.com/DanC29">GitHub</a></li>
</ul>
</nav>
</div>
</header>
<main>
<div class="row-one">
<div class="about">
<h2>About Me</h2>
<p>
My name is Dan Collette, I am a sophmore at the University of
Connecticut majoring in Digital Media and Design with a
Concentration in Web and Interactive Design. I'm from Middlebury, CT
which is a very small town with a population just under 8,000. In my
free time I enjoy skatboarding, hanging out with friends, or working
on personal projects. I'm looking forward to this semester and am
excited to develop my web design skills.
</p>
</div>
<div class="photo">
<img src="images/picture.jpg" alt="A photo of me and a friend" />
</div>
</div>
<div class="row-two">
<div class="container" id="left-col">
<h2>My Interests</h2>
<ul>
<li>Skateboarding</li>
<li>Snowboarding</li>
<li>Mountian Biking</li>
<li>Photography</li>
<li>Visual Effects / Video Editing</li>
</ul>
</div>
<div class="container">
<h2>Favorite Websites</h2>
<ul>
<li><a href="https://www.youtube.com/">Youtube</a></li>
<li><a href="https://www.apple.com/">Apple</a></li>
<li><a href="https://www.coolmathgames.com/">Cool Math</a></li>
<li><a href="https://www.adobe.com/">Adobe</a></li>
</ul>
</div>
</div>
</main>
<footer></footer>
</body>
</html>

0 comments on commit fd7cd7f

Please sign in to comment.