style: Style login/signup page to use light theme and accent colors
This commit is contained in:
1 parent
63b611ffde
commit
1817dd0f54
2 files changed
+74
-11
No files matched your search
@@ -269,3 +269,70 @@ body {
|
||||
.date-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Login/Signup Page Specific Styles */
|
||||
/* Ensure body padding override is removed if navbar isn't present */
|
||||
body.login-signup-page {
|
||||
padding-top: 0; /* Remove navbar padding */
|
||||
}
|
||||
|
||||
/* Style the boxes containing the forms */
|
||||
.login-signup-page .box {
|
||||
background-color: #ffffff; /* Keep the standard white box */
|
||||
border: 1px solid #dbdbdb; /* Default Bulma box border */
|
||||
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); /* Default shadow */
|
||||
}
|
||||
|
||||
/* Style the titles (Login/Sign Up) */
|
||||
.login-signup-page .title {
|
||||
color: #38315f; /* Use accent color for titles */
|
||||
margin-bottom: 1.5rem; /* Add some space below titles */
|
||||
}
|
||||
|
||||
/* Style form labels */
|
||||
.login-signup-page .label {
|
||||
color: #363636; /* Default Bulma label color is fine */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Style form inputs */
|
||||
.login-signup-page .input {
|
||||
border-color: #dbdbdb; /* Default border */
|
||||
}
|
||||
.login-signup-page .input:focus {
|
||||
border-color: #38315f; /* Use accent color for focus */
|
||||
box-shadow: 0 0 0 0.125em rgba(56, 49, 95, 0.25); /* Accent color focus shadow */
|
||||
}
|
||||
|
||||
/* Style buttons */
|
||||
.login-signup-page .button.is-primary {
|
||||
background-color: #38315f; /* Use accent color for primary button (Login) */
|
||||
border-color: transparent;
|
||||
}
|
||||
.login-signup-page .button.is-primary:hover {
|
||||
background-color: #2c264a; /* Darken accent color slightly on hover */
|
||||
}
|
||||
|
||||
.login-signup-page .button.is-link {
|
||||
background-color: #5a5fcf; /* A slightly lighter purple/blue for Signup */
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
}
|
||||
.login-signup-page .button.is-link:hover {
|
||||
background-color: #4a4fbf; /* Darken link button slightly on hover */
|
||||
}
|
||||
|
||||
/* Center the reCAPTCHA section */
|
||||
.recaptcha-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
.recaptcha-container .g-recaptcha {
|
||||
display: inline-block; /* Ensure reCAPTCHA aligns correctly */
|
||||
}
|
||||
.recaptcha-container .help {
|
||||
text-align: center; /* Center the error message */
|
||||
width: 100%; /* Ensure it takes full width for centering */
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
Reference in new issue
Block a user