2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

Template:Main Characters Infolist/style.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
.role-list-item {
    display: flex;
    flex-direction: column;
    background-color: #f3f3f3;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    max-width: 768px;
}
.role-list-item > div {
    margin: 1px;
}
.role-list-item > div:not(:first-of-type) {
    margin-top: 0;
}
.role-list-item .role-name {
    font-weight: 700;
    background-color: #aea;
    padding: 0.2rem 1rem;
    text-align: center;
}
.role-list-item .role-details {
    display: flex;
    flex-wrap: wrap;
}
.role-list-item .role-details > div {
    display: flex;
    align-items: center;
}
.role-list-item .role-image {
    background-color: #fff;
    justify-content: center;
}
.role-list-item .role-info {
    flex: 1;
    padding: 0.5rem 1rem;
    min-width: 8rem;
    margin-left: 1px;
}
.role-list-item .role-cv {
    padding: 0.5rem 1rem;
    margin-left: 1px;
}
/* 窄屏设备优化 */
@media (max-width: 768px) {
    .role-list-item {
        min-width: 100%;
    }
    .role-list-item .role-details {
        flex-direction: column;
    }
}
/* [[分类:在模板名字空间下的CSS页面]] */