Skip to content

Commit beb5046

Browse files
enhanced ui for blog page
1 parent 74e4897 commit beb5046

File tree

4 files changed

+2278
-42
lines changed

4 files changed

+2278
-42
lines changed

src/css/custom.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,62 @@ html.theme-light .text-gray-900 {
186186
color: #1a1a1a !important;
187187
}
188188

189+
/* Modern Blog Enhancements */
190+
.modern-gradient-bg {
191+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
192+
}
193+
194+
.modern-card-shadow {
195+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
196+
}
197+
198+
.modern-card-shadow-hover {
199+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
200+
}
201+
202+
.modern-backdrop-blur {
203+
backdrop-filter: blur(10px);
204+
-webkit-backdrop-filter: blur(10px);
205+
}
206+
207+
.modern-text-gradient {
208+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
209+
-webkit-background-clip: text;
210+
-webkit-text-fill-color: transparent;
211+
background-clip: text;
212+
}
213+
214+
.modern-transition {
215+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
216+
}
217+
218+
.modern-hover-lift:hover {
219+
transform: translateY(-4px);
220+
}
221+
222+
.modern-hover-scale:hover {
223+
transform: scale(1.02);
224+
}
225+
226+
/* Smooth scrolling for the entire page */
227+
html {
228+
scroll-behavior: smooth;
229+
}
230+
231+
/* Enhanced focus styles */
232+
*:focus {
233+
outline: 2px solid #667eea;
234+
outline-offset: 2px;
235+
}
236+
237+
/* Custom selection colors */
238+
::selection {
239+
background: rgba(102, 126, 234, 0.2);
240+
color: inherit;
241+
}
242+
243+
::-moz-selection {
244+
background: rgba(102, 126, 234, 0.2);
245+
color: inherit;
246+
}
247+

0 commit comments

Comments
 (0)