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
206 changes: 201 additions & 5 deletions great-idea/css/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* http://meyerweb.com/eric/tools/css/reset/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
Expand All @@ -12,8 +12,8 @@ b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
Expand All @@ -24,7 +24,7 @@ time, mark, audio, video {
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
Expand Down Expand Up @@ -63,4 +63,200 @@ 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 */

.container {
margin: 26px auto;
width: 876px;
}


.navigation a{
border-radius: 2px;
color: grey;
font-size: 15px;
padding: 5px 8px;
text-decoration: none;
}

.navigation a:hover {
background-color: green;
color: white;
}

.navigation{
display: flex;
align-items: center;
justify-content: space-between;
}

.navigation img {

display: inline-block;
margin-left: 170px;
padding:11px;
vertical-align: middle;
}

.main-header section {
width: 490px;
height: 372px;
margin-top: 120px;
margin-bottom: 50px;
text-align:center;
vertical-align:top;
display: inline-block;
}

.main-header section h2 {
font-size: 80px;
}

.main-header section button{
border: 1px solid green;
border-radius: 5px;
color: black;
padding: 5px 40px;
text-decoration: none;
}

.main-header section button:hover {
background-color: green;
color: white;
}

.main-header img {
margin-top: 70px;
}

main {

border-top: 1px solid black;
margin-bottom: 40px;
padding: 40px 0 40px;
border-bottom: 1px solid black;
}

main img {
margin: 50px 0 50px
}


.content {
display: flex;
justify-content: space-between;
align-content: center;
width: 870px;
}

.content:first-child section {
width: 430px;
}

.content section:first-child {
margin: 0;
}

.content section p {
line-height: 1.25em;
}

footer p{
font-size: 13px;
margin: 55px 0 120px;
text-align: center;
}

/* services */


.nav{
display: flex;
justify-content: space-between;
align-items:center;
font-size: 15px;
margin-top: 20px;
}
.navigationservices a{
border-radius: 4px;
color: grey;
font-size: 15px;
padding: 5px 8px;
margin-right: 25px;
text-decoration: none;
}



.services{

padding: 40px 0 40px;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-flow: row wrap;
}

.services section{

width: 418px;
border: solid 1px green;
padding: 20px;
margin-bottom: 40px;
background-color: lightgrey;

}

.services-header-img{
margin: 30px 0 30px;
}

.container2{
width:876px;
margin: 0 auto;
}

.services-facts{
display:flex;
justify-content: space-between;

}

.services-facts section{
padding-right: 20px;

}

.services-facts section p{
margin-bottom: 20px;
}

ul {
list-style-type: square;
margin-left: 20px;
line-height: 1.5em;

}

footer{
margin: 50px 0 100px;
text-align: center;
}

.topservices{
margin-bottom: 40px;
}

.services section a{
display: inline-block;
border: solid 1px black;
padding: 8px 35px;
margin-top: 20px;
border-radius: 5px;
text-decoration: none;
color:inherit;

}



97 changes: 91 additions & 6 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,97 @@
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
</head>

<body>
<!doctype html>

<html lang="en">
<head>
<meta charset="utf-8">

<title>Great Idea!</title>

<link href="https://fonts.googleapis.com/css?family=Bangers|Titillium+Web" rel="stylesheet">
<link rel="stylesheet" href="css/index.css">

<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
</head>

<body>

<div class="container">
<header>
<a href="services.html">
<nav class="navigation">
<a href="services.html">Services</a>
<a href="#">Product</a>
<a href="#">Vision</a>
<a href="#">Features</a>
<a href="#">About</a>
<a href="#">Contact</a>
</a>

<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</nav>

<section class="main-header">
<section>
<h2>Innovation</h2>
<h2>On</h2>
<h2>Demand</h2>
<br>
<button>Get Started</button>
</section>


<img src="img/header-img.png" alt="Image of a code snippet.">
</section>
<header>
<main>
<section class="content">
<section>
<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>
</section>
<section>
<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>
</section>
</section>
<img class="middle-img" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">
<section class="content">
<section>
<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>
</section>
<section>
<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>
</section>
<section>
<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>
</section>
</section>
</main>
<section>
<h4>Contact</h4>
<address>
123 Way 456 Street <br>
Somewhere, USA <br> <br>
1 (888) 888-8888 <br><br>
sales@greatidea.io
</address>
</section>

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


<!-- Copy and paste your HTML from the first UI project here -->


</body>
</html>
</html>
Loading