Skip to content

Sprint Challenge #1303

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 1 commit into
base: master
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
41 changes: 31 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,30 @@
</head>

<body>
<header class=".header">
<nav>
<div class="lambda">
<img src="/Sprint-Challenge--User-Interface/assets/lambda-black.png">
</div>
<ul class="nav">
<li><a href="#">Home</a></li>
<li> <a href="#">About</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>

<div class="container">

<div class=".jumbo">
<img src="/Sprint-Challenge--User-Interface/assets/jumbo.jpg">
</div>

<section class="top-content">


<div class="text-container">
<h2>The Future</h2>
<p>Proin sed quam sed tellus vestibulum ultrices quis in nunc. Phasellus id dui id tortor tincidunt efficitur. Proin faucibus imperdiet erat, non varius lacus. Maecenas non nisl id turpis egestas tincidunt. Nam condimentum venenatis magna eget finibus.</p>
Expand All @@ -30,16 +51,16 @@ <h2>The Past</h2>
<h2>Why Did It Have To Be Boxes...</h2>

<div class="boxes">
<div class="box">Box 1</div>
<div class="box">Box 2</div>
<div class="box">Box 3</div>
<div class="box">Box 4</div>
<div class="box">Box 5</div>
<div class="box">Box 6</div>
<div class="box">Box 7</div>
<div class="box">Box 8</div>
<div class="box">Box 9</div>
<div class="box">Box 10</div>
<div class="box box1 column1">Box 1</div>
<div class="box box2 column1">Box 2</div>
<div class="box box3 column1">Box 3</div>
<div class="box box4 column1">Box 4</div>
<div class="box box5 column1">Box 5</div>
<div class="box box6 column2">Box 6</div>
<div class="box box7 column2">Box 7</div>
<div class="box box8 column2">Box 8</div>
<div class="box box9 column2">Box 9</div>
<div class="box box10 column2">Box 10</div>
</div>

</section>
Expand Down
99 changes: 98 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,45 @@ h1, h2, h3, h4, h5 {
p {
line-height: 1.4;
}
/*-----Nav Bar*-----*/

.nav,.lambda,nav,.header{

width:100%;
display:flex;
flex-direction: row;
justify-content: center;
margin: 1% 0 2% 0;

}




li{
list-style:none;
}

a{
color:black;
text-decoration:none;
padding:17px 15px;
display:inline-block;
text-transform:uppercase;
}



/*-----Nav Bar*-----*/


/*boxes*/


/*boxes*/




.container {
width: 800px;
Expand Down Expand Up @@ -112,6 +151,9 @@ p {
justify-content: center;
}




.bottom-content {
display: flex;
margin: 0 2% 20px;
Expand Down Expand Up @@ -143,4 +185,59 @@ footer nav {
footer nav a {
color: white;
text-decoration: none;
}
}


/*----Media Queries----*/

@media (max-width: 800px) {

.middle-content {
margin-bottom: 20px;
border-bottom: 1px dashed black;
}

.middle-content h2 {
padding: 0 2%;
margin-bottom: 0;
}

.middle-content .boxes {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;


}
.middle-content .boxes .box {
width: 12.5%;
height: 100px;
background: black;
margin: 20px 2.5%;
color: white;
display: flex;
flex-direction: column;
justify-content: center;

}

.boxes{
display: flex;
align-items: center;
justify-content: center;
flex-flow: column wrap;
align-content: stretch;
}

.bottom-content{

display: flex;
flex-wrap: wrap;

}




}