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
98 changes: 98 additions & 0 deletions Mywebsite.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@


.heading1{
margin-top: 17%;
color: orange;
text-align: left;
width: 100%;
height: 15%;
padding: 7px;
margin: 30px;
font-size: 50;
}

.heading2 {
margin-left: 170px;
margin-bottom: 10px;
font-size: 30;
}

.image {
position: relative;
top: -35px;
right: 20px;
}

.main{
margin: 0px 0px;
}
.main::after{
content: "";
clear: both;
display: table;
}
section{
float: left;
width: 65%;
height: 100%;
background: white;
}

.paragraph{
position: relative;
margin-left: 170px;
top: -170px;
}

.readmore {
position: relative;
margin-left: 170px;
top: -150;
font-weight: bold;
color: orange;
}

.sidenav1{
float:right;
width:35%;
height:50%;
background: lightgrey;
padding: 16px;
}

.sidenav2{
float: right;
background-color: lightgrey;
height: 62.5%;
width:35%;
padding: 16px;
margin-top: -390;
}

.link1{
color: orange;
}

.link2{
color: orange;
}

.link3{
color: orange;
}

.link4{
color: orange;
}

.Yoursite{
color: orange;
}








87 changes: 87 additions & 0 deletions Mywebsite.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@

<!DOCTYPE html>
<html>

<head>
<title>Jamar Website</title>
<link rel="stylesheet" href="Mywebsite.css">




<style>
*{
box-sizing: border-box;
}
.TextWrap{
float: left;
margin: 10px;
}
header{
text-align: left;
padding: 2px;
background-color: black;
}
footer{
text-align: center;
padding: 2px;
background-color: black;
color: white;
}
</style>
</head>

<body>
<header>
<h1 class="heading1">MyWebsite</h1>
</header>

<div class="main">
<section>

<h2 class="Heading2">This is a lorem Ipsum Heading</h2>

        <img src="http://placeimg.com/150/150/tech" alt="My favorite image" class="image" width="150" height="150">

<p class="paragraph">Sed non mauris vitae erat consequat auctor eu in elit. class aptent taciti<br>
soiosqu ad sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
<br> Mauris in erat justo. </p>


<p><a style="text-decoration: none" href="read more" class="readmore">Read More</a></p>
</section>

<aside class="sidenav1">
<h3>Sidebar Links</h3>
<hr>

<p><a style="text-decoration:none" href="Link 1" class="link1">Link 1</a></p>
<p><a style="text-decoration:none" href="Link 2" class="link2">Link 2</a></p>
<p><a style="text-decoration:none" href="Link 3" class="link3">Link 3</a></p>
<p><a style="text-decoration:none" href="Link 4" class="link4">Link 4</a></p>

</aside>
</div>

<aside class="sidenav2">
<h3>Other Widgets</h3>
<hr>

<p>This is Photoshop’s version  of Lorem<br>
Ipsum. Proin gravida nibh vel velit auctor<br>
aliquet. Aenean sollicitudin, lorem quis<br>
bibendum auctor, nisi elit consequat ipsum,<br>
nec sagittis sem nibh id elit<br><br>
Duis sed odio sit amet nibh vulputate cursus<br>
a sit amet mauris.</p>

</aside>
<footer>
<p>copyright <a style="text-decoration:none" href="Your site" class="Yoursite">Your site</a>. All right reserved.

</p>
</footer>

</body>
</html>