298 lines
6.2 KiB
CSS
298 lines
6.2 KiB
CSS
/* 个人总结板块样式 */
|
|
|
|
/* 总结卡片 */
|
|
.summary-card {
|
|
position: relative;
|
|
background: linear-gradient(135deg,
|
|
rgba(255, 255, 255, 0.08) 0%,
|
|
rgba(255, 255, 255, 0.03) 100%);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 30px;
|
|
padding: 60px 50px;
|
|
box-shadow:
|
|
0 20px 60px rgba(0, 0, 0, 0.3),
|
|
0 0 100px rgba(0, 180, 216, 0.1),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
overflow: hidden;
|
|
animation: summaryFadeIn 1s ease;
|
|
}
|
|
|
|
@keyframes summaryFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* 引号装饰 */
|
|
.summary-quote-mark {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 30px;
|
|
font-size: 6rem;
|
|
color: rgba(0, 180, 216, 0.2);
|
|
font-family: Georgia, serif;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
}
|
|
|
|
.summary-quote-end {
|
|
top: auto;
|
|
bottom: 40px;
|
|
right: 30px;
|
|
left: auto;
|
|
}
|
|
|
|
/* 内容区域 */
|
|
.summary-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding: 0 30px;
|
|
}
|
|
|
|
/* 段落文字 */
|
|
.summary-text {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 1.15rem;
|
|
line-height: 1.9;
|
|
margin-bottom: 25px;
|
|
text-align: justify;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.summary-text:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* 高亮文字 */
|
|
.highlight-text {
|
|
color: #00b4d8;
|
|
font-weight: 600;
|
|
background: linear-gradient(135deg, #00b4d8, #90e0ef);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
position: relative;
|
|
}
|
|
|
|
/* 技能标签 */
|
|
.skill-tag {
|
|
display: inline-block;
|
|
padding: 2px 12px;
|
|
background: linear-gradient(135deg,
|
|
rgba(82, 183, 136, 0.2),
|
|
rgba(82, 183, 136, 0.1));
|
|
border: 1px solid rgba(82, 183, 136, 0.3);
|
|
border-radius: 15px;
|
|
color: #52b788;
|
|
font-weight: 500;
|
|
margin: 0 4px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.skill-tag:hover {
|
|
background: linear-gradient(135deg,
|
|
rgba(82, 183, 136, 0.3),
|
|
rgba(82, 183, 136, 0.15));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px rgba(82, 183, 136, 0.2);
|
|
}
|
|
|
|
/* 底部标签 */
|
|
.summary-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
margin-top: 40px;
|
|
padding-top: 30px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.tag-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 20px;
|
|
background: linear-gradient(135deg,
|
|
rgba(255, 255, 255, 0.05) 0%,
|
|
rgba(255, 255, 255, 0.02) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 25px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 0.95rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tag-item i {
|
|
color: #00b4d8;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.tag-item:hover {
|
|
background: linear-gradient(135deg,
|
|
rgba(0, 180, 216, 0.15) 0%,
|
|
rgba(0, 180, 216, 0.05) 100%);
|
|
border-color: rgba(0, 180, 216, 0.3);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(0, 180, 216, 0.2);
|
|
}
|
|
|
|
/* 装饰元素 */
|
|
.summary-decoration {
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -20%;
|
|
width: 600px;
|
|
height: 600px;
|
|
background: radial-gradient(circle,
|
|
rgba(0, 180, 216, 0.1) 0%,
|
|
transparent 70%);
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
animation: decorationFloat 20s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes decorationFloat {
|
|
0%, 100% {
|
|
transform: translate(0, 0) rotate(0deg);
|
|
}
|
|
25% {
|
|
transform: translate(-30px, 20px) rotate(90deg);
|
|
}
|
|
50% {
|
|
transform: translate(20px, -30px) rotate(180deg);
|
|
}
|
|
75% {
|
|
transform: translate(-20px, -20px) rotate(270deg);
|
|
}
|
|
}
|
|
|
|
/* 光效动画 */
|
|
.summary-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent 0%,
|
|
rgba(255, 255, 255, 0.05) 50%,
|
|
transparent 100%
|
|
);
|
|
transition: left 0.8s ease;
|
|
}
|
|
|
|
.summary-card:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
/* 渐变边框效果 */
|
|
.summary-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -2px;
|
|
left: -2px;
|
|
right: -2px;
|
|
bottom: -2px;
|
|
background: linear-gradient(135deg,
|
|
#00b4d8 0%,
|
|
transparent 30%,
|
|
transparent 70%,
|
|
#52b788 100%);
|
|
border-radius: 30px;
|
|
z-index: -1;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.summary-card:hover::after {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 768px) {
|
|
.summary-card {
|
|
padding: 40px 30px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.summary-quote-mark {
|
|
font-size: 4rem;
|
|
top: 15px;
|
|
left: 20px;
|
|
}
|
|
|
|
.summary-quote-end {
|
|
bottom: 30px;
|
|
right: 20px;
|
|
}
|
|
|
|
.summary-content {
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.summary-text {
|
|
font-size: 1rem;
|
|
line-height: 1.8;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.summary-tags {
|
|
gap: 10px;
|
|
margin-top: 30px;
|
|
padding-top: 25px;
|
|
}
|
|
|
|
.tag-item {
|
|
padding: 8px 15px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.summary-decoration {
|
|
width: 400px;
|
|
height: 400px;
|
|
right: -30%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.summary-card {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.summary-quote-mark {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.summary-text {
|
|
font-size: 0.95rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.tag-item {
|
|
padding: 6px 12px;
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
/* 文字呼吸动画 */
|
|
@keyframes textGlow {
|
|
0%, 100% {
|
|
text-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
|
|
}
|
|
50% {
|
|
text-shadow: 0 0 30px rgba(0, 180, 216, 0.5);
|
|
}
|
|
}
|
|
|
|
.highlight-text {
|
|
animation: textGlow 3s ease-in-out infinite;
|
|
} |