Skip to content

Commit 80d7bc9

Browse files
committed
🎨 Enhance upload area: larger size, better visibility, improved hierarchy
- Increase upload area size (min-height: 250px, padding: 5rem) - Larger upload icon (6rem) - Bigger text (1.75rem) - Add gradient background to upload section - Improve card styling with better shadows - Enhanced visual hierarchy
1 parent 51618f1 commit 80d7bc9

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

‎docs/assets/style.css‎

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,16 @@ body {
109109

110110
/* Upload Section */
111111
.upload-section {
112-
padding: 3rem 0;
112+
padding: 4rem 0 3rem;
113+
background: linear-gradient(to bottom, var(--background) 0%, var(--surface) 100%);
113114
}
114115

115116
.upload-card {
116-
background: var(--surface);
117-
padding: 3rem;
118-
border-radius: 20px;
119-
box-shadow: 0 4px 20px var(--shadow);
120-
max-width: 900px;
117+
background: var(--background);
118+
padding: 3.5rem;
119+
border-radius: 24px;
120+
box-shadow: 0 8px 32px var(--shadow-lg);
121+
max-width: 950px;
121122
margin: 0 auto;
122123
border: 1px solid var(--border);
123124
transition: all 0.3s ease;
@@ -140,15 +141,15 @@ body {
140141
}
141142

142143
.upload-area {
143-
border: 3px dashed var(--upload-border);
144-
border-radius: 16px;
145-
padding: 4rem 2rem;
144+
border: 4px dashed var(--upload-border);
145+
border-radius: 20px;
146+
padding: 5rem 2rem;
146147
text-align: center;
147148
cursor: pointer;
148149
transition: all 0.3s ease;
149150
background: var(--upload-bg);
150-
margin-bottom: 1.5rem;
151-
min-height: 220px;
151+
margin-bottom: 2rem;
152+
min-height: 250px;
152153
display: flex;
153154
align-items: center;
154155
justify-content: center;
@@ -173,25 +174,27 @@ body {
173174
}
174175

175176
.upload-icon {
176-
font-size: 5rem;
177-
margin-bottom: 1.5rem;
178-
filter: grayscale(0.3);
177+
font-size: 6rem;
178+
margin-bottom: 2rem;
179+
filter: grayscale(0.2);
179180
transition: transform 0.3s ease;
181+
opacity: 0.8;
180182
}
181183

182184
.upload-area:hover .upload-icon {
183185
transform: scale(1.1);
184186
}
185187

186188
.upload-text {
187-
font-size: 1.5rem;
189+
font-size: 1.75rem;
188190
color: var(--text);
189-
margin-bottom: 0.75rem;
191+
margin-bottom: 1rem;
190192
display: flex;
191193
align-items: center;
192194
justify-content: center;
193195
gap: 0.5rem;
194196
flex-wrap: wrap;
197+
font-weight: 500;
195198
}
196199

197200
.upload-main-text {

0 commit comments

Comments
 (0)