Skip to content
Merged
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
119 changes: 117 additions & 2 deletions great-idea-website/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
border: 1px solid red;
font-size: 100%;
font: inherit;
vertical-align: baseline;
Expand Down Expand Up @@ -63,4 +63,119 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Your code starts here! */
/* Your code starts here! */
.container {
width: 800px;
margin: auto;
}

.top-nav {
margin: 0 auto;
}

nav {
display: inline-block;
margin: 0 0 10px;
}

nav a {
/* TB LR */
margin: 20px;
color: lightgray;
text-decoration: none;
}

.logo {
display: inline-block;
margin: 20px 0 -11px 50px;
}

.header-content {
display: block;
}

.billboard {
margin-top: 50px;
display: inline-block;
}

.main-heading {
width: 400px;
margin: 5px;
display: inline-block;
}

.main-heading h1 {
padding: 0px;
margin: 80px;
font-size: 60px;
text-align: center;
}

.main-heading button {
margin: -29px 78px 54px 100px;
padding: 5px 33px;
font-size: 13px;
text-align: center;
border: 1px solid black;
}

.main-img {
display: inline-block;
width: 400px;
}

.top-content {
width: 800px;
border-top: 1px solid black;
margin-top: 20px;
}

.top-left {
display: inline-block;
width: 380px;
margin: 20px 0;
}

.top-right {
display: inline-block;
width: 380px;
}

.middle-img {
width: 100%;
}

.bottom-content {
width: 800px;
margin-top: 20px;
}

.bottom-left {
display: inline-block;
width: 250px;
margin-right: 13px;
}

.bottom-middle {
display: inline-block;
width: 250px;
margin-right:13px;
}

.bottom-right {
display: inline-block;
width: 250px;
margin-right: 0;
}

address h2 {
margin: 20px;
}

footer p {
margin: 30px 0;
text-align: center;
}


126 changes: 95 additions & 31 deletions great-idea-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,114 @@
<![endif]-->
</head>

<div class="container">

<body>

<section class="top-nav">

<nav>

<a href="#">Services</a>
<a href="#">Product</a>
<a href="#">Vision</a>
<a href="#">Features</a>
<a href="#">About</a>
<a href="#">Contact</a>

Services
Product
Vision
Features
About
Contact
</nav>

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

Get Started
</section>

<header class="header-content">

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

Features
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.
<section class="main-heading">

<h1>Innovation On Demand</h1>

About
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.
<button>Get Started</button>

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

Services
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.
</section>
</section>
<img class="main-image" src="img/header-img.png" alt="Image of a code snippet.">
</header>

<main>

Product
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.
<section class="top-content">

Vision
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.
<div class="top-left">

Contact
123 Way 456 Street
Somewhere, USA
1 (888) 888-8888
[email protected]
<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="top-right">

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

</section>

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

<section class="bottom-content">

<div class="bottom-left">

<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="bottom-middle">

<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="bottom-right">

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

</main>

<address>

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

</address>

<footer>

<p class="copyright">Copyright Great Idea! 2018</p>

</footer>

Copyright Great Idea! 2018

</body>

</div>

</html>