Moved CSS into style.css

This commit is contained in:
Your Name committed 2025-04-27 20:39:14 +08:00
1 parent e42f7a80b6
commit 16dc22e735
3 files changed
+191 -194

No files matched your search

-68
View File
@@ -6,74 +6,6 @@
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
<link rel="stylesheet" href="style.css">
<title>Login / Signup - Behind the Desk</title>
<style>
/* Add specific styles for login page if needed */
.login-container {
max-width: 450px; /* Increased width for longer fields */
margin-top: 2rem;
}
.login-container h2 {
font-size: 1.2rem;
margin-bottom: 1rem;
color: #38315f; /* Updated text color */
}
.login-container .field {
margin-bottom: 0.75rem;
}
.login-container .label {
font-size: 0.9rem;
font-weight: normal;
color: #38315f; /* Updated text color */
margin-bottom: 0.25rem;
display: inline-block; /* HN style labels */
width: 100px; /* Align inputs */
}
.login-container .input {
font-size: 0.9rem;
max-width: 250px; /* Increased max-width for longer fields */
display: inline-block; /* Align with label */
width: calc(100% - 110px); /* Adjust width */
background-color: #ffffff; /* Ensure white background */
color: #363636; /* Default input text color */
border: 1px solid #dbdbdb; /* Standard Bulma border */
}
.login-container .input:focus {
border-color: #38315f; /* Highlight focus */
box-shadow: 0 0 0 0.125em rgba(56, 49, 95, 0.25);
}
.login-container .button.is-link { /* Target the specific button */
font-size: 0.9rem;
margin-left: 100px; /* Align button with inputs */
margin-top: 0.5rem;
background-color: #38315f; /* Updated button color */
color: #ffffff; /* White text for contrast */
border-color: transparent; /* Remove default border */
}
.login-container .button.is-link:hover {
background-color: #2d274a; /* Slightly darker on hover */
}
.recaptcha-placeholder {
margin-left: 100px; /* Align with inputs */
margin-top: 0.75rem;
font-size: 0.8rem;
color: #6c757d;
border: 1px dashed #ccc;
padding: 10px;
display: inline-block;
width: 250px; /* Match input width */
text-align: center;
background-color: #f5f5f5; /* Light background for placeholder */
}
.form-section {
margin-bottom: 2rem;
}
.login-container p a {
color: #38315f; /* Link color */
}
.login-container p a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">