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

Radhika143789 patch 1 #369

Open
wants to merge 2 commits 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
8 changes: 7 additions & 1 deletion signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="containers">
<div class="container">
<h2>Sign Up</h2>
<form id="signUpForm">
<input type="text" id="signUpUsername" placeholder="Username" required>
Expand All @@ -17,6 +17,12 @@ <h2>Sign Up</h2>
<button type="submit">Sign Up</button>
</form>
<p id="signUpError" class="error-message"></p>
<p>Or sign up with:</p>
<div class="social-buttons">
<button id="googleSignUp" class="social-button google">Google</button>
<button id="appleSignUp" class="social-button apple">Apple</button>
<button id="microsoftSignUp" class="social-button microsoft">Microsoft</button>
</div>
<p>Already have an account? <a href="signin.html">Sign In</a></p>
</div>
<script src="script.js"></script>
Expand Down
208 changes: 207 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -661,4 +661,210 @@ button {
.dark-theme {
background-color: #333;
color: #fff;
}
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
background-color: #121212;
color: #ffffff;
}

.container {
background-color: #fff;
padding: 20px 30px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
text-align: center;
transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .container {
background-color: #1e1e1e;
}

h2 {
margin-bottom: 20px;
}

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

input[type="text"],
input[type="password"] {
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 4px;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="password"] {
background-color: #333;
color: #fff;
border-color: #555;
}

button[type="submit"],
.oauth-button,
#toggleDarkMode {
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 4px;
background-color: #007bff;
color: #fff;
cursor: pointer;
transition: background-color 0.3s;
}

button[type="submit"]:hover,
.oauth-button:hover,
#toggleDarkMode:hover {
background-color: #0056b3;
}

.oauth-buttons {
display: flex;
flex-direction: column;
margin-top: 20px;
}

.oauth-button {
background-color: #db4437; /* Default color for Google */
}

#appleSignIn {
background-color: #000; /* Color for Apple */
}

#microsoftSignIn {
background-color: #00a2ed; /* Color for Microsoft */
}

.error-message {
color: red;
margin: 10px 0;
}

p {
margin-top: 20px;
}

a {
color: #007bff;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

.container {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 300px;
}

h2 {
margin-bottom: 20px;
color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}

button[type="submit"] {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #4CAF50;
color: #fff;
font-size: 16px;
cursor: pointer;
}

button[type="submit"]:hover {
background-color: #45a049;
}

.error-message {
color: red;
margin-top: 10px;
}

.social-buttons {
display: flex;
justify-content: space-around;
margin: 20px 0;
}

.social-button {
width: 30%;
padding: 10px;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
font-size: 14px;
}

.google {
background-color: #dd4b39;
}

.apple {
background-color: #000;
}

.microsoft {
background-color: #0078d7;
}

.social-button:hover {
opacity: 0.8;
}

p {
margin-top: 20px;
}

a {
color: #0078d7;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}