Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dark Mode And Light Mode it added a cool impact on the website #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Binary file added Glassmorphism_Cards/Metamask-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Glassmorphism_Cards/chip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions Glassmorphism_Cards/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html>

<head>
<title>

</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

</head>

<body>
<nav id='menu'>
<input type='checkbox' id='responsive-menu' onclick='updatemenu()'><label></label>
<ul>
<li><a href='index.html'>Home</a></li>
<li><a href='https://github.com/shashank-iter' target="_blank">Contact Us</a></li>
<li><a href="login_page.html"></a></li>
</ul>

</nav>
<div class="main">
<label for="switch" style="float: right; padding-left: 20px;">
<input type="checkbox" id="switch" class="switch">
<label for="switch"></label>
</label>
<script>
const $html = document.querySelector("html");
const $checkbox = document.querySelector("#switch");

$checkbox.addEventListener("change", function() {
$html.classList.toggle("light-mode");
});
</script>
<h1 class="main-heading">Glassmorphic Credit Card</h1>
<div class="box-1">
<div class="card-logo">
<img class="relief" src="Untitled_design_1_-removebg-preview.631ca0cce58337.11261255.png"
alt="relief">
<img class="chip" src="chip.png" alt="chip">
</div>
<div class="card-number">3256 2335 5669 4566</div>
<div class="name">SHASHANK PANDEY</div>
</div>

<h1 class="main-heading">Glassmorphic Identity Card</h1>
<div class="box-2">
<div class="card2-logo"><img
src="Untitled_design_1_-removebg-preview.631ca0cce58337.11261255.png" alt="relief"></div>
<div class="img"><img src="Metamask-icon.png" alt="Picture"></div>
<div class="card-name">SHASHANK PANDEY</div>
<div class="card-profes">B.TECH CSE </div>
<div class="college"> Institute of Technical Research and Education</div>
<div class="university">Siksha 'O' Anusandhan University</div>
</div>

<h1 class="main-heading">Glassmorphic Banner</h1>
<div class="box-3"> <img src="Untitled_design_1_-removebg-preview.631ca0cce58337.11261255.png"
alt="banner text"> </div>

<h1 class="main-heading">Glassmorphic Circle</h1>
<div class="circle"><img src="Metamask-icon.png" alt="metamask"></div>

<h1 class="main-heading">Glassmorphic Visiting Card</h1>
<div class="box-4">
<div class="visiting-logo">
<img src="Untitled_design_1_-removebg-preview.631ca0cce58337.11261255.png" alt="chip">
</div>
<div class="details">
<img src="phone.png" alt="">
<p> +917428730894</p>
</div>
</div>
<h1 class="main-heading">Glassmorphic Voucher</h1>
<div class="box-5">
<div class="left-voucher">
<h2>VOUCHER</h2>
<p class="valid">Valid Until <span>24 July 2025</span></p>
<hr>
<p class="lorem">Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae incidunt magnam dolorem.</p>
</div>
<div class="right-voucher">
<hr>
<h2>VOUCHER</h2>
<h3>$25</h3>
</div>
</div>
</div>
<footer>
<div class="foot">
<span class="footer-text">Made by SHASHANK PANDEY | © All rights reserved 2022</span>

</div>
</footer>

</body>

</html>
49 changes: 49 additions & 0 deletions Glassmorphism_Cards/login_page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!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>Login Page</title>

<link rel="stylesheet" href="login_page_style.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
</head>

<body>
<div class="wrapper">
<form action="">
<h1>Login</h1>
<div class="input-box">
<input type="text" name="username" placeholder="Username">
<i class='bx bxs-user' ></i>
</div>
<div class="input-box">
<input type="password" name="pswd" placeholder="Password">
<i class='bx bxs-lock-alt' ></i>
</div>

<div class="remember-forgot">
<label input type="checkbox">Remember me</label>
<a href="#">Forgot password?</a>
</div>

<button type="submit" class="btn">Login</button>

<div class="register-link">
<p>Don't have an account?<a href="#">Register</a></p>
</div>

<div class="about-me">
<span id="me">Designed by Alisha Subhamayee Pradhan</span>
<button><a href="https://github.com/alisha-pradhan" target="_blank" id="git_icon"><i class='bx bxl-github'></i></a></button>
</div>

</form>
</div>

</body>

</html>
143 changes: 143 additions & 0 deletions Glassmorphism_Cards/login_page_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&&display=swap');

*{
margin:0;
padding:0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body{
display:flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: url('science-fiction-1819026_1280.png') no-repeat;
background-size: cover;
background-position: center;
}

.wrapper{
width:420px;
background: transparent;
border: 2px solid rgba(255, 255, 255, .2);
backdrop-filter: blur(15px);
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
color: #fff;
border-radius: 10px;
padding: 30px 40px;
}

.wrapper h1{
font-size: 36px;
text-align:center;
color: rgb(64, 36, 36);
}

.wrapper .input-box{
position: relative;
width:100%;
height:50px;
margin: 30px 0px;
}

.input-box input{
height:100%;
width:100%;
background:transparent;
border:none;
outline:none;
border: 2px solid rgba(255, 255, 255, .2);
border-radius: 40px;
font-size: 16px;
color:#fff;
padding: 20px 25px 20px 20px;
}

.input-box input::placeholder{
color:#fff;
}

.input-box i{
position: absolute;
right:20px;
top:50%;
transform: translateY(-50%);
font-size: 20px;
}

.wrapper .remember-forgot{
display: flex;
justify-content: space-between;
font-size: 14.5px;
margin: -15px 0 15px;
}

.remember-forgot label input{
color:#fff;
margin-right: 3px;
}

.remember-forgot a{
color:#fff;
text-decoration: none;
}

.remember-forgot a:hover{
text-decoration: underline;
}

.wrapper .btn{
width:100%;
height:45px;
background:#fff;
border: none;
outline: none;
border-radius:40px;
box-shadow: 0 0 10px rgba(0, 0, 0, .1);
cursor: pointer;
font-size: 16px;
color:#333;
font-weight: 600;
}

.wrapper .register-link{
font-size:14.5px;
text-align:center;
margin: 20px 0 15px;
}

.register-link p a{
color: #fff;
text-decoration: none;
font-weight: 600;
}

.register-link p a:hover{
text-decoration: underline;
}

.about-me{
text-align: center;
}

#me{
width:100%;
font-weight: 300;
font-size: 12px;
}

#git_Icon{
display:flex;
justify-content: center;
}

.about-me button{
border:none;
padding:5px;
padding-top: 2px;
padding-bottom: 2px;
border-radius:100%;
}

Binary file added Glassmorphism_Cards/phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading