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
69 changes: 66 additions & 3 deletions great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,72 @@ html, body {
}

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

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Your code starts here! */

body{
width: 876px;
margin: 50px;
}

.links, .head, .top, .bottom{
display: flex;
}

.links{
justify-content: space-around;
}

.menu nav a{
margin: 0 25px;;
}

.head div{
width: 49%;
margin: 50px 0;
}

h1{
font-size:60px;
text-align: center;
margin:50px 100px 10px 100px;

}

.title p{
text-align: center;
margin: 10px 145px 70px 145px;
border: solid 2px black;
padding: 5px;
}

.line{
border-top: solid 1px black;
padding-top: 35px;
}

.top div{
width: 49%;
}

.middle-img{
margin:50px 0px;
}

.bottom div{
width: 33%;
}

.contact{
margin:50px 0px;
border-top: solid 1px black;
padding-top: 40px;
}

footer{
margin:10% 38%;
}
126 changes: 126 additions & 0 deletions great-idea/css/services.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/* 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;
border:1px solid red;

}

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

/* Your code starts here! */

body{
width: 880px;
flex-direction: column;
}

section{
display:flex;
flex-wrap: wrap;
justify-content: space-around;

}

.top .menu nav{
display: flex;
justify-content: space-between;
}

nav a{
margin:2% 32px;
}

.services{
margin:3% 0;
}

h1{
font-size: 25px;
}

.main{
border-top: 1px solid black;
border-bottom: 1px solid black;
padding:2% 0;
}

.main div{
width: 45%;
border: 1px solid black;
margin: 2%;
padding: 2%;
background-color: rgb(207, 230, 231);
}

.bottom div{
width: 45%;
margin:30px 15px 0 0;
}

.end{
margin-top:7%;
}






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

<body>
<section class="links">
<div class="menu">
<nav>
<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>
</nav>
</div>
<div class="logo">
<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</div>
</section>
<header class="head">
<div class="title">
<h1>Innovation
On
Demand</h1>

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

<!-- Copy and paste your HTML from the first UI project here -->
<div class="line"></div>

<section class="top">
<div class="features">
<h3>Features</h3>
<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">
<h3>About</h3>
<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">
<div class="services">
<h3>Services</h3>
<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">
<h3>Product</h3>
<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">
<h3>Vision</h3>
<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">
<h4>Contact</h4>
123 Way 456 Street<br>
Somewhere, USA<br><br>
1 (888) 888-8888<br><br>
sales@greatidea.io
</section>

<footer>
Copyright Great Idea! 2018
</footer>

</body>
</html>
Loading