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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
96 changes: 96 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.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: -15px;
right: -10px;
}

.grid {
max-width: 800px;
display: grid;
grid-template-columns: 1000px;
}

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

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

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


.item2{
display: inline-block;
float: right;
width:35%;
height:90%;
background: lightgrey;
padding: 16px;
}

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

.link1{
color: orange;
}

.link2{
color: orange;
}

.link3{
color: orange;
}

.link4{
color: orange;
}

.Yoursite{
color: orange;
}
80 changes: 80 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<!DOCTYPE html>
<html>

<head>
<title>Kim's Website</title>
<link rel="stylesheet" href="index.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="grid">
<div class="item1">
<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>
</div>
</div>

<div class="item2">
<nav>
<!-- <div class="sidenav1"> -->
<h3 class="Side Heading1">Sidebar Links</h3>
<p class="link1">Link 1</p>
<p class="link1">Link 2</p>
<p class="link1">Link 3</p>
<p class="link1">Link 4</p>
<!-- </div> -->
</nav>

</section>
<!-- <div class="sidenav2"> -->
<h3 class="Side Heading2">Other Widgets</h3>
<p class="paragraph">She sat in the darkened room waiting. It was now a standoff. He had the power to put her in the room, but not the power to make her repent. It wasn no matter how long she had to endure the darkness, she wouldn change her attitude. At three years old, Sandy stubborn personality had already bloomed into full view.
lt in the determination that is exactly as meaningless a phrase as it seems to be, and that none of us is actually meant to be doing anything at all. But that my existential underpants underpinnings showing. It the way the cookie crumbles. And now I want a cookie.</p>
<!-- </div> -->
</section>
</div>
</div>
</div>
<footer>
<p>&copy;Copyright MySite All Rights Reserved</p>
</footer>
</body>
</html>