Skip to content

Commit

Permalink
complete top/heading section
Browse files Browse the repository at this point in the history
  • Loading branch information
sudosign committed Dec 24, 2024
1 parent 67f1867 commit 68046f8
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 0 deletions.
60 changes: 60 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class = "top">
<div class ="header">
Header Logo
<div>
<ul class = "header-links">
<li> <a href="#">header link one</a></li>
<li> <a href="#">header link two</a></li>
<li> <a href="#">header link three</a></li>
</ul>
</div>
</div>
<div class ="front">
<div class = "text-container">
This website is awesome
<p>This website has some subtext that goes here under the main title. It's a smaller font and the color is lower contrast.</p>
<button>Sign Up</button>
</div>
<div class ="image-container"> this is a placeholder for an image</div>
</div>
</div>
<!-- <div class = "gallery">
Some random information.
<div class = "cards">
<div class = "card-container">
<div class ="card"></div>
this is some subtext under an illustration or image
</div>
<div class = "card-container">
<div class ="card"></div>
this is some subtext under an illustration or image
</div>
<div class = "card-container">
<div class ="card"></div>
this is some subtext under an illustration or image
</div>
<div class = "card-container">
<div class ="card"></div>
this is some subtext under an illustration or image
</div>
</div>
</div>
<div class = "quote-container">
</div>
<div class = "advertisement-section">
<div class = "advertisement-container">
</div>
</div> -->
</body>
</html>
81 changes: 81 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
font-family: Roboto;
margin: 0px;
border: 0px;
}

ul{
list-style: none;
}

a{
text-decoration: none;
}

body{
display:flex;
flex-direction: column;
}

.top{
background-color: #1F2937;
color: #F9FAF8;
padding: 16px 150px 150px;
}

.header{
font-size: 24px;
font-weight: 900;
display:flex;
justify-content: space-between;
align-items: center;
padding-bottom:100px;
}

.header-links{
display:flex;
flex-direction: row;
justify-content: center;
gap: 16px;
}

.header-links a{
font-weight: 100;
font-size: 18px;
color: #E5E7Eb;
}

.front{
display:flex;
gap: 50px;
}

.front .text-container{
font-size:48px;
font-weight: 900;
flex:1;
}

.front .text-container p{
font-size:18px;
color: #E5E7Eb;
font-weight: 100;
}

button{
padding:10px 30px;
background-color:#3882F6;
border-radius: 5px;
color:#E5E7Eb

}

.front .image-container{
background-color: slategray;
display:flex;
align-items: center;
justify-content: center;
flex: 1;
}

0 comments on commit 68046f8

Please sign in to comment.