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 1 commit
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
Prev Previous commit
finished with mobile to 450
  • Loading branch information
Jason-Thornton committed May 8, 2020
commit 3533d98be6166fcea60bfba7607cd9d54a058989
20 changes: 11 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@

<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 id="header">
<nav>
<img src="./assets/lambda-black.png" alt="lambda logo"/>

<div class="links">
<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>
</div>
</nav>
</header>
<div class="wide image">
<div class="wide-image">
<img src="./assets/jumbo.jpg" alt="lambda logo"/>
</div>

Expand Down
144 changes: 122 additions & 22 deletions style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ 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,
Expand Down Expand Up @@ -71,57 +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;
}

.boxes, div{
.middle-content .boxes{
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
flex-direction: column ;
align-items: center;

}

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

}

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

Expand Down Expand Up @@ -164,13 +168,109 @@ a {
}

header nav{
width:100%;
width: 80%;
padding:0 5% 0 20%;
display:flex;
justify-content: space-between;
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: 60%;
display: flex;
justify-content: space-around;
}
}
.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%;
}