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
243 changes: 242 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,242 @@
/* Use your CSS from RWD - I here. IF you don't have CSS, use the solution CSS from RWD - I*/
/* Use your CSS from RWD - I here. IF you don't have CSS, use the solution CSS from RWD - I*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
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;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* Set every element's box-sizing to border-box */
* {
box-sizing: border-box;
}

html, body {
height: 100%;
font-family: 'Titillium Web', sans-serif;
}


h1, h2, h3, h4, h5 {
font-family: 'Bangers', cursive;
letter-spacing: 1px;
margin-bottom: 15px;
}

/* Your code starts here! */


html {
font-size: 62.5%;
}

.container {
width: 100%;
max-width: 800px;
margin: 0 auto;
}
header {
width: 97%;
margin-top: 1%;
display: flex;
justify-content: space-evenly;
margin-bottom: 20px;
}


.navigation {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: space-evenly;
width: 80%;
}

.navigation a {
font-weight: bold;
color: silver;
text-decoration: none;
padding: 0 1% 0 1%;
font-weight: bold;
}




.innovation-section {
margin-bottom: 40px 0;
display: flex;
flex-direction: row;
justify-content: space-around;
}

.innovation-block {
align-self: center;
}

.innovation-text {
font-size: 7rem;
text-align: center;
}

.button {
margin-left: 90px;
padding: 0 20px;
border: 1px solid black;
}


.upper-section {
display: flex;
flex-direction: row;
margin: 30px 0;
}

.features {
margin-right: 20px;
}

/*
.middle-img {
margin-bottom: 50px;
} */


.lower-section {
display: flex;
flex-direction: row;
margin: 30px 0;
}

.services, .product {
padding-right: 20px;

}


.contact {
margin: 30px 0;

}

footer {
text-align: center;
}

@media (max-width: 800px) {
.container {
width: 760px;
}
header {
display: flex;
flex-direction: column;
align-items: center;
}
.logo {
order: -1;
margin: 20px 0;
}
.innovation-block {
margin: 30px 0;
margin-left: 50%;
}
.header-img {
visibility: hidden;
}
.middle-img {
width: 100%;
}

}

@media (max-width: 500px) {
.container {
width: 400px;
border: 1px solid grey;
}
article {
padding: 10px;
}
.logo {
width: 40%;
}
header {
width: 100%;
}
.navigation {
display: flex;
flex-direction: column;
width: 100%;

}
.navigation a {
border-top: 1px solid black;
border-bottom: 1px solid black;
padding: 20px;
margin: 0 auto;
text-align: center;
}


.innovation-block {

margin-left: 80%;
}

.upper-section {
display: flex;
flex-direction: column;
width: 400px;
padding: 20px 0;
}
.features, .services, .product, .vision {
margin-bottom: 20px;
}

.lower-section {
display: flex;
flex-direction: column;

}
109 changes: 108 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,113 @@
</head>

<body>
<!-- Use your own code or past solution here! -->
<div class="container">
<header>
<nav class="navigation">
<a href="">Services</a>
<a href="">Product</a>
<a href="">Vision</a>
<a href="">Features</a>
<a href="">About</a>
<a href="">Contact</a>

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

<section class="innovation-section">
<div class="innovation-block">
<h1 class="innovation-text">
Innovation<br/>
On<br/>
Demand
</h1>
<button class="button">Get Started</button>

</div>


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






</section>

<hr>
<article>
<section class="upper-section">

<div class="features">
<h1>Features</h1>
<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">
<h1>About</h1>
<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>

</section>

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


<section class="lower-section">

<div class="services">

<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>


</section>

<section class="contact">

<h3>Contact</h3>

<address>
<br>123 Way 456 Street</br>

Somewhere, USA<br/>
</address>

<br>1 (888) 888-8888<br/>

<br>sales@greatidea.com<br/>

</section>

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