Skip to content
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

UI-III-Flexbox #1547

Open
wants to merge 3 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
205 changes: 204 additions & 1 deletion great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ footer, header, hgroup, menu, nav, section {
display: block;
}
body {

line-height: 1;
}
ol, ul {
Expand Down Expand Up @@ -63,4 +64,206 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Interface 2 css */
.navbar{

padding-bottom:20px;
background-color:khaki ;
}

nav{
margin-right:80px;
font-size: 16px;
width: 100%;
display:inline-block;
}

nav a{
color:gray;
line-height: 30px;
padding-right:40px;
padding-left:40px;
}

.logo{
display:inline-block;
margin-left:
}

.centertop{
padding-top:70px;
padding-left:9%;
}
.inno{
display:inline-block;
text-align:center;
font-size:60px;
padding-left:30%;
padding-bottom:5%;

}

button{
margin:10px;
}

.img{
display:inline-block;
padding-left:65px;
}

.middle-img_v1{
display:block;
}

.Bottom-content{
padding-left:30%;
padding-top:20px;
}

.features{
display:inline-block;
width:450px;
margin-left:20px;
padding-bottom:40px;

}

.about{
display:inline-block;
width:450px;
padding-bottom: 40px;

}

.services_v1{
display:inline-block;
width: 300px;
padding-left:20px;
padding-top:20px;
}

.product{
display:inline-block;
width: 300px;
padding-left:20px;
padding-top:20px;
}

.vision{
display:inline-block;
width: 300px;
padding-left:20px;
padding-top:20px;
padding-bottom:20px;

}

address{
padding-top:22px;
padding-left:31%;
}

footer{
text-align:center;
}

/* Interface 2 css*/


/* Interface 3 flexbox*/
nav{
margin-right:80px;
font-size: 16px;
width: 100%;
padding-top:30px;
padding-bottom:30px;
display:flex;
justify-content:center;
background-color:khaki;
}

nav a{
color:gray;
line-height: 30px;
padding-right:40px;
padding-left:40px;
}


.items{
width:350px;
border: 1px solid black;
background-color:gainsboro;
margin-bottom:30px;
}

.flex-container{
display:flex;
flex-flow:row wrap;
width: 800px;
justify-content: space-evenly;
margin: 0 auto;
padding-top:35px;
}

.items-p{
padding:20px;

}

#Head-pic{
display:flex;
justify-content:center;
padding-top:30px;
}

#Ser-pic{
display:flex;
justify-content:flex-end;
}


.services{
margin: 0 auto;
width:690px;
padding-top:20px;
padding-bottom:20px;
}

.facts{
width:500px;
padding:20px;

}


.facts_container{
display:flex;
justify-content:center;
padding:30px;
margin:20px;

}


li{
padding-top:10px;
display: list-item;

}

button{
background-color:whitesmoke;
color:black;
padding: 10px 20px;
text-align:center;
border-radius:20px;
cursor: pointer;
}

footer{
padding-top:35px;
}
/* Interface 3 flexbox*/
79 changes: 75 additions & 4 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,80 @@
</head>

<body>

<!-- Copy and paste your HTML from the first UI project here -->
<section class="navbar">
<nav>
<a href="services.html">Services</a>
<a href="#">Product</a>
<a href="#">Vision</a>
<a href="#">Features</a>
<a href="index.html">About</a>
<a href="#">Contact</a>
<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</nav >

</section>

<section class="centertop">
<div class="inno">
<h1>Innovation<br>
On<br>Demand</h1>
<button>Get Started</button>
</div>

<div class="img">
<img src="img/header-img.png" alt="Image of a code snippet.">
</div>

</section>
<hr style="width:50%">

<section class="Bottom-content">
<div class="features">
<h2>Features</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div>

<div class="about">
<h2>About</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div>

<img class="middle-img_v1" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">

<div class="services_v1">
<h2>Services</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div>

<div class="product">
<h2>Product</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div>

<div class="vision">
<h2>Vision</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div>


<hr>


</section>
<address>
<h2>Contact</h2>
123 Way 456 Street</br>
Somewhere, USA</br>
</br>
1 (888) 888-8888</br>
</br>
[email protected]

</address>


</body>
<footer>
<p>Copyright Great Idea! 2018</p>
</footer>
</div>
</body>
</html>
Loading