-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #736 from MOHIT-IITP/contact-us-page
Contact us page Created
- Loading branch information
Showing
3 changed files
with
165 additions
and
1 deletion.
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,139 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: "Poppins", sans-serif; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-image: linear-gradient(to bottom right , blue, violet); | ||
backdrop-filter: blur(10px); | ||
} | ||
|
||
.container { | ||
display: flex; | ||
width: 500px; | ||
background: rgba(0, 0, 0, 0.6); | ||
padding: 40px; | ||
border-radius: 12px; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | ||
overflow: hidden; | ||
position: relative; | ||
height: 520px; | ||
} | ||
|
||
.container form { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 15px; | ||
flex-wrap: wrap; | ||
padding: 20px; | ||
} | ||
|
||
.container form h1 { | ||
color: #fff; | ||
font-weight: 500; | ||
margin: 5px 0 10px; | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.container form input { | ||
width: calc(50% - 20px); | ||
height: 40px; | ||
padding-left: 10px; | ||
outline: none; | ||
border: none; | ||
font-size: 15px; | ||
margin-bottom: 10px; | ||
background: none; | ||
border-bottom: 2px solid #fff; | ||
color: #fff; | ||
} | ||
|
||
.container form input::placeholder { | ||
color: #ddd; | ||
} | ||
|
||
.container form input#lastName, | ||
.container form input#mobile { | ||
margin-left: 20px; | ||
} | ||
|
||
.container form h4 { | ||
color: #ffffffd5; | ||
font-weight: 300; | ||
width: 100%; | ||
margin-top: 20px; | ||
text-align: center; | ||
} | ||
|
||
.container form textarea { | ||
background: none; | ||
border: none; | ||
border-bottom: 2px solid #fff; | ||
color: #fff; | ||
font-weight: 200; | ||
font-size: 15px; | ||
padding: 10px; | ||
outline: none; | ||
width: 100%; | ||
height: 80px; | ||
resize: none; | ||
} | ||
|
||
textarea::-webkit-scrollbar { | ||
width: 1em; | ||
} | ||
|
||
textarea::-webkit-scrollbar-thumb { | ||
background-color: rgba(194, 194, 0, 0.7); | ||
} | ||
|
||
.container form #button { | ||
border: none; | ||
background: #fff; | ||
border-radius: 5px; | ||
margin-top: 20px; | ||
font-weight: 600; | ||
font-size: 20px; | ||
color: #333; | ||
width: 100px; | ||
padding: 6px; | ||
transition: opacity 0.3s; | ||
} | ||
|
||
.container form #button:hover { | ||
opacity: 0.7; | ||
} | ||
|
||
/* Responsive Styles */ | ||
@media (max-width: 768px) { | ||
.container { | ||
width: 70%; | ||
padding: 20px; | ||
height: auto; | ||
} | ||
|
||
.container form input, | ||
.container form textarea { | ||
width: 70%; | ||
} | ||
|
||
.container form input#lastName, | ||
.container form input#mobile { | ||
margin-left: 0; | ||
} | ||
|
||
.container form { | ||
padding: 10px; | ||
} | ||
} |
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,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Contact Us</title> | ||
<link rel="stylesheet" href="./contact.css"> | ||
<link rel="icon" href="../favicon.png" type="image/png"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<form> | ||
<h1>Contact Us </h1> | ||
<input type="text" id="firstName" placeholder="First Name" required> | ||
<input type="text" id="lastName" placeholder="Last Name" required> | ||
<input type="email" id="email" placeholder="Email" required> | ||
<input type="text" id="mobile" placeholder="Mobile" required> | ||
|
||
<h4>Type Your Message Here</h4> | ||
<textarea></textarea> | ||
<input type="submit" value="Send" id="button"> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
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