Skip to content

Jason thornton #1309

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 2 commits 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
42 changes: 31 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,30 @@

<link href="https://fonts.googleapis.com/css?family=Roboto|Rubik" rel="stylesheet">
<link rel="stylesheet" href="style/index.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
<header class="main-header">
<nav>
<div class="logo">
<img src="./assets/lambda-black.png" alt="lambda logo"/>
</div>

<div class="links">
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="products.html">Products</a>
<a href="blog.html">Blog</a>
<a href="Contact.html">Contact</a>
</div>
</nav>
</header>
<div class="wide-image">
<img src="./assets/jumbo.jpg" alt="lambda logo"/>
</div>


<div class="container">

<section class="top-content">
Expand All @@ -30,16 +50,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="box1">Box 1</div>
<div class="box2">Box 2</div>
<div class="box3">Box 3</div>
<div class="box4">Box 4</div>
<div class="box5">Box 5</div>
<div class="box6">Box 6</div>
<div class="box7">Box 7</div>
<div class="box8">Box 8</div>
<div class="box9">Box 9</div>
<div class="box10">Box 10</div>
</div>

</section>
Expand Down
156 changes: 143 additions & 13 deletions style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ time, mark, audio, video {
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
vertical-align: baseline;

}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
line-height: 1;
background-color: #FFFFFF;
}
ol, ul {
list-style: none;
Expand All @@ -48,7 +50,10 @@ table {
}

* {
box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
max-width: 100%;
}

html, body {
Expand All @@ -67,54 +72,60 @@ p {
}

.container {
width: 800px;
width: 80%;
margin: 0 auto;
}

.top-content {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin-bottom: 20px;
margin-bottom: 0px;
border-bottom: 1px dashed black;
padding: 5%;
}

.top-content .text-container {
width: 48%;
padding: 0 1%;
padding-bottom: 20px;
padding-bottom: 2rem;
}

.middle-content {
margin-bottom: 20px;
border-bottom: 1px dashed black;
margin-bottom: 1.25rem;
border-bottom: .0625rem dashed black;
padding: 0 5%;
}

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

.middle-content .boxes {
.middle-content .boxes{
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;

}

.middle-content .boxes .box {
.middle-content .boxes div{
width: 12.5%;
height: 100px;
height: 6.25rem;
background: black;
margin: 20px 2.5%;
color: white;
display: flex;
align-items: center;
justify-content: center;
padding: 1%;

}

.bottom-content {
display: flex;
margin: 0 2% 20px;
margin: 0 2% 1.25rem;
padding: 3%;
justify-content: space-around;
}

Expand All @@ -132,7 +143,7 @@ footer {
}

footer nav {
width: 60%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -143,4 +154,123 @@ footer nav {
footer nav a {
color: white;
text-decoration: none;
}

/* My Lines */





a {
text-decoration: none;
color: #2E2E2E;
}

header nav{
width: 80%;
padding:0 5% 0 20%;
display:flex;
justify-content:space-between;
align-items:center;

}
.logo{
width:20%;

}
.logo img{
max-width: 100%;

}
.links{
width: 80%;
padding:5%;
display:flex;
justify-content: space-around;
align-items: center;
flex-direction: row;
}
.wide-image img{
padding:0 20% 0 20%;
width:100%;
display: flex;
align-items: center;


}
.container{
padding: 5%;

}
.middle-content .boxes .box1{
background-color:#008080;
}
.middle-content .boxes .box2{
background-color:#FFD700;
}
.middle-content .boxes .box3{
background-color:#5F9EA0;
}
.middle-content .boxes .box4{
background-color:#FF7F50;
}
.middle-content .boxes .box5{
background-color: #DC143C;
}
.middle-content .boxes .box6{
background-color:#228B22;
}
.middle-content .boxes .box7{
background-color:#9932CC;
}
.middle-content .boxes .box8{
background-color:#FF69B4;
}
.middle-content .boxes .box9{
background-color:#4B0082;
}
.middle-content .boxes .box10{
background-color:#1E90FF;
}
.middle-content h2{
padding: 2%;
}


/* media */

@media(max-width: 450px){
header nav{
display:flex;
flex-direction:column;
align-items:center;


}
}
.links{
width:100%



}
.top-content{
width:100%;
display: flex;
flex-direction: column;
align-items: center;
}
.container .top-content div{
width:90%;
}

.bottom-content{
width:100%;
display: flex;
flex-direction: column;
align-items: center;
}
.bottom-content .text-container div{
width:90%;
}