pixelwanderer / style.css
yuanyizhang's picture
我想创建一个直接部署在github上的个人网页,有我的照片作品集,随笔作品集,vibe coding 作品集,我目前的主营业务,个人的审美偏好,兴趣。我希望文字改成中文,增加一个我的简历的页面,增加我的小红书主页,邮箱,LinkedIn主页
c853853 verified
Raw
History Blame Contribute Delete
1.04 kB
/* 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', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Custom gradient text */
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Animation for portfolio cards */
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 6s ease-in-out infinite;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #8b5cf6, #ec4899);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(to bottom, #7c3aed, #db2777);
}