Skip to content
Open

? #2

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
142 changes: 142 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
/* Global Layout Set-up */
* {
margin: 0;
padding: 0;
box-sizing: border-box
}

header {
text-align: left;
background: #323232;
color: #e9863e;
width: 100%;
overflow: hidden;
padding-top: 5px;
padding-left: 20px;
padding-bottom: 30px;
}

body {
margin: 0;
padding: 0;
text-align: left;
font-family: Roboto, sans-serif;
color: #222;
background: #fff
}

main {
/* width: 90vw; -- Keep For later */
margin: 0 auto;
padding: 0px 0px;
min-height: calc(100vh - 89.88px - 55px);
}

.box1 {
float: left;
width: 70%;
padding: 30px;
}

.box2 {
float: right;
width: 30%;
margin: 0;
margin-right: 0 auto;
background-color: #e5e5e5;
min-height: calc(100vh - 89.88px - 55px);
}

.box3 {
float: left;
width: 70%;
padding: 30px;
min-height: calc(100vh - 89.88px - 238.81px - 55px);
}

.clearfix::after {
content: "";
clear: both;
display: table;
}

.textcolor {
color: orange;
}

.textcolor2 {
color: rgb(85, 85, 85);
}

.textcolor3 {
color: lightgray;
}

footer {
text-align: center;
background: #323232;
color:#e9863e;
width: 100%;
overflow: hidden;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
}

/* Link Styles */

h1 {
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
padding-top: 35px;
}

h2 {
text-align: left;

padding-top: 0px;
padding-bottom: 5px;
}

.box2 h3 {
text-align: left;
margin: 20px;
}


ul {
list-style: none;
padding-top: 10px;
}

li {
color: orange;
text-decoration: none;
padding: 5px;
padding-top: 5px;
padding-left: 35px;
}

img {
float: left;
margin: 0;
padding-top: 5px;
padding-left: 10px;
padding-right: 20px;
}

hr {
border-top: 1px solid lightgray;

}

.space {
padding-left: 20px;
padding-right: 10px;
padding-top: 10px;
}

/* Styles for larger screens ----*/
@media screen and (min-width: 720px) {

}
Binary file added images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
49 changes: 49 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My WebSite</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header>
<div>
<h1> MyWebsite</h1>
</div>
</header>
<main>
<div class="box1">
<img src="images/image.png" alt="mockup image">
<h2>This is a Lorem Ipsum Heading </h2>
<p> Sed non mauris vitae erat consequat auctor eu in elit.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris in erat justo. </p>
<br> <br>
<p class="textcolor"> Read More</p>
</div>
<div class="box2">
<h3> Sidebar Links </h3>

<hr width="90%">
<ul>
<li>Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
<li>Link 4</li>
</ul>
<h3>Other Widgets</h3>
<hr width="90%">

<p class="space textcolor2"> This is Photoshop's version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet.
Aenean solicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.</p>
<p class="space textcolor2"> Duis sed odio sit amet nibh vulputate cursus a sit amet mauris.</p>
</div>
<div class="box3"></div>
</main>
<footer>
<div>
<p class="textcolor3">Copyright<span style='color:#e9863e'> YourSite.</span> All rights reserved.</p>
</div>
</footer>
</body>
</html>