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
88 changes: 87 additions & 1 deletion great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,90 @@ 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 */
nav{
display: flex;
justify-content: space-around;
}
a{
margin-top: 10px;
}

.main{
margin:15px;
display:flex;
justify-content: space-evenly;

}
.title{
width:30%;
display:flex;
margin:20px;
padding:15px;
font-size: 80px;
flex-direction: column;
justify-content: center;
align-items: center;
}
h5{
font-size: 20px;
padding:3px 15px;
border: 1px inset gray;
display:inline;
text-align: center;
}
.innovation{
margin-left: 15px;
display: flex;
justify-content: center;
}
.on{
margin-left: 115px;
}
.de{
margin-left: 35px;
}
.mid{
display: flex;
justify-content: space-evenly;

}
.features{
margin:5%;
font-size: 25px;
}
.about{
margin:5%;
font-size: 25px;
}
.middle-img{
width:100%;
height:25%;
margin-top: 20px;
margin-bottom: 20px;
display: flex;
}
.bottom{
display: flex;
justify-content: space-around;
}
.services{
margin:1.5%;
font-size: 25px;
}
.product{
margin:1.5%;
font-size: 25px;
}
.vision{
margin:1.5%;
font-size: 25px;
}
footer{
line-height: 30px;
width:100%;
}
.copy{
text-align: center;
border: none;
}
163 changes: 163 additions & 0 deletions great-idea/css/services.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
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: flex;
}
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;
}
body{
margin: 50px;
}

nav{
display: flex;
justify-content: space-between;
margin:15px;
}

a{
margin-top: 10px;
text-decoration: none;
color:gray;

}

.services-header-img{
width:100%;
height: 200px;
display:flex;
}

h3{
margin:5px;
font-size: 30px;
padding:5px 0px;
}
.services{
display:flex;
width:100%;
flex-direction: column;
margin:20px 0px 30px 0px;
}

p{
font-size: 20px;
line-height: 30px;
}
.main{
display:flex;
justify-content: space-between;
flex-wrap: wrap;
margin:50px 0px;
}
.box{
display:flex;
flex-direction: column;
border: 1px black solid;
padding:15px;
line-height: 25px;
width: 49%;
align-items:left;
Margin:15px 0px;
background: lightgray;
}

h5{
border: 1px black solid;
border-radius: 5px;
padding:3px 15px;
margin:15px;
display:inline;
text-align: center;
background: white;
}
.text{
padding:20px;
}
.container{
display: flex;
width: 100%;
justify-content: space-between;
margin-top: 50px;
}

.foottext{
display: flex;
flex-direction: column;
margin:20px 0px;
font-size: 30px;
padding:5px;
width:50%;
height:550px;
}
.services-info-img{
display: flex;
width:49%;
}
.facts{
padding:10px 0px;
margin:15px 0px;
}
.list{
margin:20px 0px;
font-size: 20px;
line-height: 30px;
}
.copy{
width:100%;
margin:30px;
text-align: center;
border:none;
}
67 changes: 67 additions & 0 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,74 @@
<body>

<!-- Copy and paste your HTML from the first UI project here -->
<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>
<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</nav>

<section class="main">
<div class="title">
<div class="innovation">
<h1><span class="in">Innovation</span><br/>
<span class="on">On</span><br/>
<span class="de">Demand</span><br/>
</h1>
</div>
<div>
<h5>Get Started</h5>
</div>
</div>
<img class="code" src="img/header-img.png" alt="Image of a code snippet.">
</section>
<hr>
<section class="mid">
<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>
<hr>

<footer>
<h3>Contact</h3>

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

<div class="copy">Copyright Great Idea 2018</div>
</footer>

</body>
</html>
Loading