v0.0.1
This commit is contained in:
BIN
static/blank_profile.jpg
Normal file
BIN
static/blank_profile.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
13
static/card.css
Normal file
13
static/card.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.card {
|
||||
background: rgba(
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
0.8
|
||||
); /* Semi-transparent white for light theme */
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
BIN
static/crayon_icon.png
Normal file
BIN
static/crayon_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
116
static/login_page.css
Normal file
116
static/login_page.css
Normal file
@@ -0,0 +1,116 @@
|
||||
#logo_image {
|
||||
position: fixed;
|
||||
width: 300px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
#login_card {
|
||||
/* The Magic Three */
|
||||
display: flex;
|
||||
flex-direction: column; /* Stack vertically */
|
||||
gap: 15px; /* Space between inputs */
|
||||
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
|
||||
background-color: var(--bg-card);
|
||||
border: 1px solid var(--border-subtle);
|
||||
padding: 2.5rem;
|
||||
border-radius: 8px;
|
||||
width: 350px;
|
||||
|
||||
/* Soft shadow for depth in light mode */
|
||||
box-shadow:
|
||||
0 4px 12px rgba(0, 0, 0, 0.05),
|
||||
0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#login_card input {
|
||||
padding: 12px;
|
||||
background-color: var(--bg-input);
|
||||
border: 1px solid var(--border-subtle);
|
||||
color: var(--text-main);
|
||||
border-radius: 6px;
|
||||
width: 324px;
|
||||
}
|
||||
|
||||
#login_card input::placeholder {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
#login_card button {
|
||||
padding: 12px;
|
||||
background-color: var(--primary-accent); /* Our Teal/Blue */
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#login_card div {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#action-buttons {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
#signup_button {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#login_button {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
#login_card button:hover {
|
||||
background-color: var(--primary-hover);
|
||||
}
|
||||
|
||||
.login_text {
|
||||
color: var(--text-muted);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#welcome_text {
|
||||
font-weight: 700;
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
#incorrect_password_text {
|
||||
background-color: var(--error-red) !important;
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
border-style: solid;
|
||||
border-color: var(--error-border-red);
|
||||
border-width: 1px;
|
||||
box-sizing: border-box;
|
||||
font-size: 12px;
|
||||
position: relative;
|
||||
color: white;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#incorrect_password_close_button {
|
||||
position: absolute !important;
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
padding: 0px !important;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
color: black !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
#incorrect_password_close_button:hover {
|
||||
cursor: default;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
105
static/profile_page.css
Normal file
105
static/profile_page.css
Normal file
@@ -0,0 +1,105 @@
|
||||
#logo_image {
|
||||
position: fixed;
|
||||
width: 300px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
#main_content {
|
||||
position: fixed;
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
#profile_picture {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--primary-accent);
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.profile-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 50px;
|
||||
background-color: var(--bg-main);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
#user-card {
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
text-align: center;
|
||||
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.profile-pic {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--primary-accent);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.data-label {
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 4px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.data-value {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-main);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#edit_picture_button {
|
||||
position: absolute;
|
||||
|
||||
aspect-ratio: 1 / 1;
|
||||
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
/* move to circle edge at 45° */
|
||||
transform: translate(-50%, -50%) translate(42px, 42px);
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: rgba();
|
||||
|
||||
background-color: var(--primary-accent);
|
||||
border-radius: 50%;
|
||||
border: none;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#edit_picture_button:hover {
|
||||
background-color: var(--primary-hover);
|
||||
}
|
||||
|
||||
#edit_picture_image {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#picture_holder {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
#signout_button:hover {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
29
static/style.css
Normal file
29
static/style.css
Normal file
@@ -0,0 +1,29 @@
|
||||
:root {
|
||||
/* Backgrounds */
|
||||
--bg-main: #f7fff7; /* Soft Mint White */
|
||||
--bg-card: #ffffff; /* Pure White Card */
|
||||
--bg-input: #f0f4f8; /* Light Gray-Blue Inset */
|
||||
|
||||
/* Text & Lines */
|
||||
--text-main: #1a202c; /* Deep Charcoal (Better than pure black) */
|
||||
--text-muted: #718096; /* Cool Gray for placeholders */
|
||||
--border-subtle: #e2e8f0; /* Light Gray border */
|
||||
|
||||
/* Action Colors */
|
||||
--primary-accent: #1a535c; /* Deep Teal (Trustworthy/Secure) */
|
||||
--primary-hover: #14434a; /* Darker Teal for hover */
|
||||
|
||||
--error-red: #ef4444; /* Professional Red */
|
||||
--error-border-red: #e22d2d;
|
||||
|
||||
font-family: "Inter", sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-main);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user