mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
- Implemented login and registration forms with validation. - Created dashboard layout to display user account information and pastes. - Added JavaScript functionality for fetching account data and pastes. - Styled authentication and dashboard pages with CSS. - Introduced modals for logout and account deletion confirmation. - Included error handling for user actions and API responses. ### Copilot generated commit message
139 lines
2.7 KiB
CSS
139 lines
2.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Noto Sans Mono", "Consolas", "SF Mono", monospace;
|
|
color: white;
|
|
}
|
|
|
|
:root {
|
|
--neutral-50: #fafafa;
|
|
--neutral-100: #f5f5f5;
|
|
--neutral-200: #e5e5e5;
|
|
--neutral-300: #d4d4d4;
|
|
--neutral-400: #a3a3a3;
|
|
--neutral-500: #737373;
|
|
--neutral-600: #525252;
|
|
--neutral-700: #404040;
|
|
--neutral-800: #262626;
|
|
--neutral-900: #171717;
|
|
--neutral-950: #0a0a0a;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color: var(--neutral-950);
|
|
height: 100vh;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.main-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: var(--neutral-900);
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-800);
|
|
width: 80%;
|
|
}
|
|
|
|
.create-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.create-form input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-800);
|
|
background-color: var(--neutral-800);
|
|
color: var(--neutral-50);
|
|
transition: border 0.3s;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.create-form input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.create-form input:hover {
|
|
border: 1px solid var(--neutral-600);
|
|
}
|
|
|
|
.create-form textarea {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: 2.5rem;
|
|
min-height: 2.5rem;
|
|
font-size: 1rem;
|
|
max-height: 40%;
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-800);
|
|
background-color: var(--neutral-800);
|
|
color: var(--neutral-50);
|
|
transition: border 0.3s;
|
|
}
|
|
|
|
.create-form textarea:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.create-form textarea:hover {
|
|
border: 1px solid var(--neutral-600);
|
|
}
|
|
|
|
.create-form button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-800);
|
|
background-color: var(--neutral-800);
|
|
color: var(--neutral-50);
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.create-form button:hover {
|
|
background-color: var(--neutral-700);
|
|
}
|
|
|
|
select {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-800);
|
|
background-color: var(--neutral-800);
|
|
color: var(--neutral-50);
|
|
transition: border 0.3s;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
select:hover {
|
|
outline: none;
|
|
border: 1px solid var(--neutral-600);
|
|
}
|
|
select:focus {
|
|
outline: none;
|
|
border: 1px solid var(--neutral-600);
|
|
}
|
|
|
|
#syntax {
|
|
padding-left: 14rem;
|
|
}
|