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
95 changes: 95 additions & 0 deletions css/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
*{

/* padding: 0; */
margin: 0;


}

.col1 {
float: left;
width: 75%;
padding-top:30px;
/* display: flex; */
/* padding-right: 10px; */
}

.col2 {
float: right;
width: 25%;
height: 900px;
background-color: #ddd;
/* padding: 10px 5px 50px; */
/* background-size: cover; */
}

img {
float: left;
padding: 0 30px;
}

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

ul {
list-style: none;

}
h3{
padding: 28px 0 18px 30px;

}
p{

padding: 15px 0 0 25px;
line-height: 1.6;

}

hr{
margin:20px;

}
a {
color: orange;
text-decoration: none;
/* padding: 75px 0 75px 0; */
padding: 0;
/* margin: 15px; */
line-height: 3;
}

h1 {
display: flex;
color: orange;
background-color: #3d3d3d;
/* background-size: cover; */
padding: 30px;
/* margin: 0 0 5px 0; */
/* left: 0; */
/* width: 100%; */
/* flex-direction: row; */
}

/* h2 {
margin-top: 0;
} */

body {
font-family: sans-serif;
}

footer {
background-color: #3d3d3d;
color: white;
text-align: center;
/* padding: 15px; */
padding: 30px 0 15px 0;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
Binary file added img/Bridge.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<hmml>
<head>
<link rel="stylesheet" href="css/stylesheet.css">
<title>MyWebsite</title>
</head>

<body>
<header>
<h1>MyWebsite</h1>
</header>

<main class="clearfix">
<div class="col1">
<img src="img/Bridge.PNG">
<h2>This is a header 2</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop.</p>
<a href="#">Read More</a>
</div>

<div class="col2">
<h3>Side Bar Links</h3>
<hr>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
<h3>Other Widgets</h3>
<hr>
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p><br>
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
</div>
</main>


<footer>&copy;<span style="color:orange"> MyWebsite </span> All rights reserved.</footer>
</body>
</hmml>