ross9527's picture
support Chinese and English
32bc664 verified
Raw History Blame Contribute Delete
957 Bytes
/* Custom styles that extend Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
}
/* Custom animation for featured articles */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.featured-article {
animation: float 6s ease-in-out infinite;
}
/* Custom hover effect for cards */
.article-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Custom gradient text */
.gradient-text {
background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Responsive tweaks */
@media (max-width: 640px) {
.hero-title {
font-size: 2rem;
}
}