Skip to content

Commit

Permalink
First Commit, Added header and subheader information
Browse files Browse the repository at this point in the history
  • Loading branch information
DipRRai committed Jun 28, 2022
1 parent e6b4bb4 commit 4773e25
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
52 changes: 52 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
* {
background-color: #1F2937;
}
h1, h2, a {
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
color: #F9FAF8;
font-size: 38px;
}

a {
text-decoration: none;
}

h2 {
font-size: 30px;
}

.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
margin-bottom: 30px;
}

.right {
display: flex;
gap: 35px;
}

.header-title {
justify-content: center;
}

.subheader-info {
display: flex;
justify-content: space-evenly;
align-items: center;
gap: 100px;
}

.floppa-subheader {
width: 400px;
}

.left-subheader {
margin-left: 50px;
}

.right-subheader{
margin-right: 100px;
}
Binary file added images/mario-esposito-9E2AztouXeM-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/styles.css">
<title>Floppa</title>
</head>
<body>
<div class="header">
<div class="left">
<h1 class="header-title">Floppa</h1>
</div>
<div class="right">
<a class="header-text" href="">About us</a>
<a class="header-text" href="">Our mission</a>
<a class="header-text" href="">Floppa facts</a>
</div>
</div>
<div class="subheader-info">
<div class="left-subheader">
<h1>Floppa facts</h1>
<h2>This is a picture of a caracal cat, more commonly known as "floppa". Although this cute specimen seems like a welcome addition to the home, it is unfortunately banned from private ownership in Australia.</h2>
</div>
<div class="right-subheader">
<img class="floppa-subheader"src="./images/mario-esposito-9E2AztouXeM-unsplash.jpg">
</div>
</div>
</body>
</html>

0 comments on commit 4773e25

Please sign in to comment.