-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add landing page : index.html and it css file
- Loading branch information
Showing
3 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
text-decoration: none; | ||
} | ||
|
||
.logo { | ||
order: 1; | ||
font-size: 2rem; | ||
font-weight: 800; | ||
} | ||
|
||
nav { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
height: 64px; | ||
margin-left: 50px; | ||
margin-right: 50px; | ||
|
||
} | ||
|
||
nav ul { | ||
display: flex; | ||
order: 2; | ||
} | ||
|
||
nav ul a { | ||
color: #000000; | ||
font-size: 1.6rem; | ||
margin-left: 2rem; | ||
z-index: 5; | ||
} | ||
|
||
.container { | ||
height: 600px; | ||
padding: 20px; | ||
margin-left: 40px; | ||
margin-right: 40px; | ||
display: flex; | ||
flex-direction: row-reverse; | ||
justify-content: space-between; | ||
align-items: center; | ||
gap: 40px; | ||
} | ||
|
||
.container img { | ||
width: 100%; | ||
/* height: 500px; */ | ||
z-index: -1; | ||
} | ||
|
||
.hero-text { | ||
width: 80%; | ||
} | ||
|
||
.hero-text h1 { | ||
font-size: 3.3rem; | ||
margin-bottom: 12px; | ||
color: #8b4513; | ||
} | ||
|
||
.hero-text p { | ||
font-size: 1.4rem; | ||
margin-bottom: 12px; | ||
} | ||
|
||
button { | ||
padding: 1em 2.1em 1.1em; | ||
border-radius: 4px; | ||
margin: 8px; | ||
border: none; | ||
background-color: #e2e273; | ||
color: #000000; | ||
font-weight: 800; | ||
font-size: 0.85em; | ||
text-transform: uppercase; | ||
text-align: center; | ||
box-shadow: 0em -0.2rem 0em #e2e273 inset; | ||
transition: color 3s ease-in-out; | ||
} | ||
|
||
button:hover { | ||
background-color: transparent; | ||
color: #8b4513; | ||
border: 3px solid #e2e273; | ||
cursor: pointer; | ||
} | ||
|
||
/* Media queries */ | ||
|
||
@media (max-width: 884px) { | ||
.container { | ||
margin-top: 10px; | ||
flex-direction: column; | ||
} | ||
.hero-text { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
.hero-text h1 { | ||
font-size: 3rem; | ||
} | ||
} | ||
|
||
@media (max-width: 678px) { | ||
.hero-text h1 { | ||
font-size: 2rem; | ||
} | ||
} | ||
@media (max-width: 428px) { | ||
nav ul { | ||
display: none; | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!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"> | ||
<title>Responsive Hero</title> | ||
<link rel="stylesheet" href="css/landing page.css"> | ||
</head> | ||
<body> | ||
<header> | ||
<nav> | ||
<ul> | ||
<li><a href="https://www.google.com/">Login</a></li> | ||
<li><a href="#">Registration</a></li> | ||
</ul> | ||
<h1 class="logo">Exam Evolved</h1> | ||
</nav> | ||
</header> | ||
<main> | ||
<div class="container"> | ||
<!-- <img src="res-img.png" alt=""> --> | ||
<img src="exams-animate.svg" alt=""> | ||
<div class="hero-text"> | ||
<h1>Unleash Exam Potential</h1> | ||
<p>Sharpen your skills with a variety of question formats on our secure online testing platform ! | ||
</p> | ||
<button>Get Started</button> | ||
</div> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |