Skip to content
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
19 changes: 9 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
</head>

<body>
<header>
<header class="top-header">
<h1>Brittney Dalby</h1>
<nav>
<button><a href="index.html">Home</a></button>
<button><a href="about.html">About</a></button>
<button><a href="projects.html">Projects</a></button>
<button><a href="contact.html">Contact</a></button>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="projects.html">Projects</a>
<a href="contact.html">Contact</a>
</nav>
</header>
<section class="top-section">
Expand All @@ -24,8 +24,7 @@ <h1>Brittney Dalby</h1>
<a href="projects.html">My Projects</a>
</button>
</section>
<section>
<div class="row">
<section class="project-section">
<div class="port-element">
<img src="https://picsum.photos/300" alt="random generated image">
<p>My Project</p>
Expand All @@ -38,8 +37,8 @@ <h1>Brittney Dalby</h1>
<img src="https://picsum.photos/300" alt="random generated image">
<p>My Project</p>
</div>
</div>
<div class="row">


<div class="port-element">
<img src="https://picsum.photos/300" alt="random generated image">
<p>My Project</p>
Expand All @@ -52,7 +51,7 @@ <h1>Brittney Dalby</h1>
<img src="https://picsum.photos/300" alt="random generated image">
<p>My Project</p>
</div>
</div>

</section>
<footer>
<button><a href="contact.html">Contact Me</a></button>
Expand Down
65 changes: 59 additions & 6 deletions style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,28 @@ header{
}
h1{
display:flex;
justify-content:flex-start;
justify-content:center;
font-size:5rem;
text-transform: uppercase;
}
nav a{
nav{
width: 50%;
display:flex;
justify-content:flex-end;
justify-content:space-between;
}
nav a{
display:inline-block;
text-decoration: none;
align-items:flex-start;
color:#4f4f4f;
padding:5%;
padding:2%;
width:25%;
border:2px solid #4f4f4f;
border-radius:10px;
text-align:center;
letter-spacing:1.5px;
font-size:2rem;
}

.top-section{
display:flex;
justify-content:center;
Expand All @@ -73,9 +83,10 @@ nav a{
height:40rem;
text-decoration: none;
}
.row{
.project-section{
display:flex;
flex-direction:row;
flex-wrap:wrap;
justify-content: space-evenly;
padding:2rem;
}
Expand All @@ -98,3 +109,45 @@ footer a{
text-decoration:none;
}

@media (max-width: 800px){
*{
max-width:100%;
}
h1{
font-size:3rem;
}
nav a{
display: flex;
justify-content:space-around;
width:100%;
}


}

@media (max-width: 500px){
*{
max-width:100%;
}
.top-header{
display:flex;
flex-direction: column;
align-items:center;
}
h1{
font-size:4rem;
}
nav{
display:flex;
flex-direction:column;
align-content:center;
}
nav a{
margin:2% auto;
}
.image-button{
width:40rem;
height:30rem;
}

}