Files
platform-pipi/apps/admin/src/components/WordCard/index.css
T
2026-01-23 17:42:48 +08:00

69 lines
1.0 KiB
CSS

.word-card {
height: 100%;
cursor: pointer;
transition: all 0.3s;
}
.word-card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.word-card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12px;
}
.word-card-content {
font-size: 48px;
font-weight: bold;
line-height: 1;
color: #141414;
}
.word-card-meta {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.word-card-pinyin {
font-size: 14px;
color: #666;
text-align: right;
}
.word-card-svg-indicator {
font-size: 18px;
}
.word-card-image {
width: 100%;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
overflow: hidden;
}
.word-card-image img {
width: 100%;
height: 100%;
object-fit: contain;
}
.word-card-image-placeholder {
width: 100%;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
color: #999;
font-size: 14px;
}