theflowercat's picture
太丑了,设计好看点。按苹果风格。2.历史和角色列表,能弄为挂件形式么,侧边栏
e900964 verified
Raw History Blame Contribute Delete
1.58 kB
/* Base styles */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.5;
color: #1d1d1f;
background: #f5f5f7;
padding-left: 20px; /* Space for sidebar toggle */
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
padding-left: 40px; /* Account for sidebar */
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #9ca3af;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Animation classes */
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Custom file upload styling */
.file-upload {
transition: all 0.3s ease;
}
.file-upload:hover {
border-color: #8b5cf6;
background-color: #f5f3ff;
}
/* Button hover effects */
.btn-hover {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Character card hover effect */
.character-card {
transition: all 0.3s ease;
}
.character-card:hover {
transform: scale(1.05);
}
/* Video card hover effect */
.video-card {
transition: all 0.3s ease;
}
.video-card:hover {
transform: translateY(-5px);
}