Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI III Project #1542

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
107 changes: 106 additions & 1 deletion great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,109 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
nav{
/*margin: 20px;
padding: 20px;
word-spacing: 50px;
text-align: center;*/
display: flex;
justify-content: space-around;
align-items: center;
}

a{
text-decoration: none;
color: darkgrey;
}

.nav-links{
margin: 20px;
}

header{
/*margin: 20px;
padding: 20px;
text-align: center;*/
width: 600px;
height: 400px;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}

h1{
margin: 50px;
width: 300px;
height: 200px;
font-size: 75px;
}
button{
font-size: 30px;
font-family: 'Titillium Web', sans-serif;
padding: 3px 30px;
border: 1px solid black;
}

/*div{
display: inline-block;
}*/

.top-content{
height: 200px;
display: flex;
justify-content: space-evenly;
}

.items {
display: flex;
flex-direction: column;
width: 525px;
height: 200px;
margin: 50px;
padding: 25px;
}

/*.top-content .items{
width: 525px;
height: 200px;
padding: 25px;
margin: 50px;
box-align: center;
}*/

.middle-img{
width: 1100px;
margin-left: 125px;
margin-right:125px;
}

.bottom-content{
height: 200px;
display: flex;
justify-content: space-evenly;
}

.item{
display: flex;
flex-direction: column;
width: 290px;
height: 200px;
padding: 25px;
}
/*.bottom-content .item{
width: 290px;
height: 200px;
padding: 25px;
margin: 50px;
display: inline-block;
}*/

address{
margin: 75px;
}

footer{
text-align: center;
}
134 changes: 134 additions & 0 deletions great-idea/css/services.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/* 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;
}

nav{
margin: 20px;
padding: 20px;
word-spacing: 50px;
display: flex;
justify-content: space-evenly;
}

a{
text-decoration: none;
color: darkgrey;
}

.nav-links{
margin: 20px;
}

.services-header-img{
margin-left: 215px;
margin-right: 215px;
}

header{
margin: 50px 215px;
font-size: 20px;
}

h1{
font-size: 30px;
}

.blocks{
border: 1px solid black;
height: 250px;
width: 425px;
margin: 25px;
padding: 15px;
font-size: 20px;
}

content{
margin: 25px 190px;
display: flex;
flex-wrap: wrap;
}

section{
margin: 25px 190px;
font-size: 20px;
display: flex;
}

section .text{
margin: 25px;
width: 400px;
}

.services-info-img{
margin: 25px;
}

ul{
list-style-type: square;
margin-left: 20px;
}

footer{
text-align: center;
}
72 changes: 69 additions & 3 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,75 @@
</head>

<body>

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

<nav>
<a href="service.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>

<header>
<h1>
Innovation<br>
On<br>
Demand
</h1>
<button>
Get Started
</button>
<img src="img/header-img.png" alt="Image of a code snippet.">
</header>

<hr style="width:90%; height:1px; background-color: black; border:none;" />

<section class="top-content">
<div class="items">
<h5>Features</h5>
<div>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>
</div>
<div class="items">
<h5>About</h5>
<div>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>
</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="item">
<h5>Services</h5>
<div>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>
</div>

<div class="item">
<h5>Product</h5>
<div>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>
</div>

<div class="item">
<h5>Vision</h5>
<div>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>
</div>
</section><br>
<br>
<br>
<hr style="width:90%; height:1px; background-color: black; border:none;" />

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

<footer>
Copyright Great Idea! 2018
</footer>
</body>
</html>
Loading