Template:星空列车与白的旅行人物介绍/style.css
跳转到导航
跳转到搜索
.HosiSiro-chara {
flex: 1 0 350px;
overflow: hidden;
max-width: 500px;
min-height: 200px;
border-radius: 10px;
position: relative;
color: #3a3343;
z-index: 1;
}
.HosiSiro-chara .bg, .HosiSiro-chara .link {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.HosiSiro-chara .bg.nomobile {
background: rgba(255,255,255,0.67);
z-index: -1;
}
.HosiSiro-chara .bg.mobileonly {
background: rgba(241,241,241,0.67);
z-index: -1;
}
.HosiSiro-chara .text {
margin-left: calc(30% + 30px);
padding: 1.5rem 1.5rem 1.5rem 0;
}
.HosiSiro-chara .role {
height: 1rem;
font-size: .7rem;
font-weight: 700;
color: #9962a0;
}
.HosiSiro-chara .name, .HosiSiro-chara .cv {
height: 2.7rem;
font: 400 1.5rem/2.7rem 'FZFW ZhuZi A Old Mincho','Source Han Serif',Times,serif;
}
.HosiSiro-chara .cv {
position: absolute;
top: 2.5rem;
right: 1.5rem
}
.HosiSiro-chara .cv::before {
content: ' '
}
.HosiSiro-chara .cv>span {
font-size: .8rem
}
.HosiSiro-chara .name>span {
font-size: 1rem;
margin-left: .7rem;
}
.HosiSiro-chara .intro {
text-align: justify;
font-size: .75rem;
line-height: 1.65;
letter-spacing: .1rem;
}
.HosiSiro-chara .pic {
position: absolute;
top: 0;
left: calc(20% - 100px);
bottom: 0;
transition: transform 0.3s ease-in-out;
}
.HosiSiro-chara:hover .pic {
transform: translateY(-8px);
}
/* [[Category:在模板名字空间下的CSS页面]] */