157 lines
2.8 KiB
CSS
157 lines
2.8 KiB
CSS
/* components.css - 组件样式 */
|
|
|
|
/* 开发者卡片 */
|
|
.dev-card {
|
|
background: linear-gradient(145deg, #1e2436, #161b28);
|
|
border-radius: 20px;
|
|
padding: 20px;
|
|
border: 1px solid #2a3040;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dev-card:hover {
|
|
transform: translateY(-8px) scale(1.02);
|
|
border-color: #4a9eff;
|
|
box-shadow: 0 20px 30px -10px rgba(74, 158, 255, 0.3);
|
|
}
|
|
|
|
.dev-card:focus-visible {
|
|
outline: 3px solid #ffd700;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.dev-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.dev-card:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.dev-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 15px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dev-id {
|
|
color: #4a9eff;
|
|
font-weight: bold;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.dev-wins {
|
|
background: rgba(255, 215, 0, 0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 20px;
|
|
color: #ffd700;
|
|
}
|
|
|
|
.dev-name {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
color: #fff;
|
|
}
|
|
|
|
.dev-details {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dev-el {
|
|
background: #2a3040;
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
color: #4a9eff;
|
|
}
|
|
|
|
.dev-module {
|
|
background: #2a3040;
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
color: #a0a0a0;
|
|
}
|
|
|
|
.dev-pca {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 5px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.pca-mini {
|
|
text-align: center;
|
|
padding: 4px 0;
|
|
border-radius: 8px;
|
|
background: rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.pca-mini.EXE { color: #4CAF50; }
|
|
.pca-mini.TEC { color: #2196F3; }
|
|
.pca-mini.SYS { color: #9C27B0; }
|
|
.pca-mini.COL { color: #FF9800; }
|
|
.pca-mini.INI { color: #f44336; }
|
|
|
|
/* 排行榜项 */
|
|
.ranking-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 15px;
|
|
border-bottom: 1px solid #2a3040;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.ranking-item:hover {
|
|
background: #1e2436;
|
|
}
|
|
|
|
.rank-number {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #2a3040;
|
|
border-radius: 50%;
|
|
font-weight: bold;
|
|
color: #4a9eff;
|
|
}
|
|
|
|
.rank-1 .rank-number { background: #ffd700; color: #000; }
|
|
.rank-2 .rank-number { background: #c0c0c0; color: #000; }
|
|
.rank-3 .rank-number { background: #cd7f32; color: #000; }
|
|
|
|
.rank-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.rank-name {
|
|
font-weight: bold;
|
|
color: #fff;
|
|
}
|
|
|
|
.rank-id {
|
|
font-size: 12px;
|
|
color: #888;
|
|
}
|
|
|
|
.rank-wins {
|
|
font-weight: bold;
|
|
color: #ffd700;
|
|
}
|