This commit is contained in:
2026-01-28 21:06:16 +11:00
parent 109e463724
commit a7669d9014
3 changed files with 303 additions and 0 deletions

View File

@@ -647,4 +647,89 @@ p {
.nav-btn.active svg {
stroke: var(--text-main);
stroke-width: 2.5px;
}
/* --- CREATE POST VIEW --- */
#create-post-view {
width: 100%;
max-width: 480px;
min-height: 100vh;
background: var(--bg-dark);
position: relative;
z-index: 200;
/* Above everything */
}
.text-btn {
background: none;
border: none;
color: var(--text-main);
font-size: 16px;
font-weight: 500;
cursor: pointer;
}
.text-btn.accent {
color: #3B82F6;
font-weight: 600;
}
.header-title {
font-weight: 700;
font-size: 16px;
}
.post-creation-area {
display: flex;
flex-direction: column;
}
.image-upload-wrapper {
width: 100%;
aspect-ratio: 1/1;
background: #111;
position: relative;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
overflow: hidden;
}
.upload-placeholder {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
color: var(--text-muted);
}
#image-preview {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.caption-wrapper {
display: flex;
gap: 12px;
padding: 20px;
border-top: 1px solid var(--glass-border);
}
#post-caption-input {
flex: 1;
background: none;
border: none;
color: var(--text-main);
font-family: inherit;
font-size: 15px;
resize: none;
height: 100px;
outline: none;
padding-top: 8px;
/* Align with avatar */
}