.project-list-container { padding: 24px; } .project-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .project-list-header h2 { margin: 0; font-size: 24px; font-weight: 600; color: var(--text-color); } .project-card { text-align: center; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; background: var(--card-bg); border-color: var(--border-color); } .project-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .project-card-public-badge { position: absolute; top: 8px; right: -28px; background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%); color: white; padding: 2px 32px; font-size: 11px; font-weight: 500; transform: rotate(45deg); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); z-index: 1; } .project-card-icon { margin-bottom: 16px; } .project-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-color); } .project-description { font-size: 14px; color: var(--text-color-secondary); margin-bottom: 12px; min-height: 40px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .project-meta { font-size: 12px; color: var(--text-color-secondary); } /* 圆点分页指示器样式 */ .dot-pagination.ant-pagination { display: flex; align-items: center; } .dot-pagination .ant-pagination-item { border: none !important; background: transparent !important; min-width: 16px !important; height: 16px !important; line-height: 16px !important; margin: 0 4px !important; } .dot-pagination .ant-pagination-item a { display: none !important; } .dot-pagination .pagination-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background-color: var(--text-color-secondary); opacity: 0.3; margin: 4px auto; transition: all 0.3s; } .dot-pagination .ant-pagination-item-active .pagination-dot { background-color: var(--link-color); opacity: 1; transform: scale(1.2); } .dot-pagination .ant-pagination-prev, .dot-pagination .ant-pagination-next { min-width: 24px !important; height: 24px !important; line-height: 24px !important; }