置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:蔚蓝档案Momotalk/style.css

猛汉♂百科,万男皆可猛的百科全书!转载请标注来源页面的网页链接,并声明引自猛汉百科。内容不可商用。
跳到导航 跳到搜索
.momo-container {
    box-sizing: content-box;
    margin: 10px auto;
    padding: 10px;
}

.momo-container .momo-main {
    background: white;
    border-radius: 5px;
}

.momo-container .momo-header {
    border-radius: 8px 8px 0 0;
    background-image: linear-gradient(#ff899e, #f79bac);
    height: 30px;
    padding: 10px;
}

.momo-container .momo-header .momo-header-img {
    margin-top: 2px;
    float: left;
}

.momo-container .momo-header .momo-header-cross {
    float: right;
    color: white;
    line-height: 0;
    font-size: 60px;
    font-weight: 100;
    margin-top: 12px;
    cursor: pointer;
}

.momo-container .momo-banner {
    background: #DCE5EC;
    border-radius: 8px;
    color: #4C5B70;
    font-size: 0.9em;
    text-align: center;
    width: 95%;
    margin: 10px auto;
    padding: 3px 8px;
}

.momo-container .momo-msg {
    border-radius: 8px;
    color: #FFF;
    margin: 3px;
    padding: 5px 10px;
}

.momo-container .momo-msg-student {
    display: flex;
}

.momo-container .momo-msg-first {
    position: relative;
}

.momo-container .momo-msg-first::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
}

.momo-container .momo-msg-student .momo-avatar {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #CCC;
    margin: 10px;
    overflow: hidden;
}

.momo-container .momo-msg-student .momo-avatar p {
    margin: 0;
}

.momo-container .momo-msg-student .momo-msg-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.momo-container .momo-msg-student .momo-msg-main .momo-name {
    color: #3E444A;
    font-weight: bold;
}

.momo-container .momo-msg-student .momo-msg-main .momo-msg {
    background: #4C5B70;
}

.momo-container .momo-msg-student .momo-msg-main .momo-msg-first::after {
    left: -4px;
    background: #4C5B70;
}

.momo-container .momo-msg-student .momo-msg-main .momo-msg-img {
    background: #fff;
    border-radius: 8px;
    max-width: 310px;
}

.momo-container .momo-msg-student .momo-msg-main .momo-msg-img img {
    margin: 3px;
    border-radius: 8px;
    max-width: 300px;
}

.momo-container .momo-msg-sensei {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-right: 10px;
}

.momo-container .momo-msg-sensei .momo-msg {
    background: #4A8ACA;
}

.momo-container .momo-msg-sensei .momo-msg-first::after {
    right: -4px;
    background: #4A8ACA;
}

.momo-container .momo-box {
    border: #CCC 1px solid;
    border-radius: 8px;
    margin: 8px 0;
    padding: 10px;
}

.momo-container .momo-box .momo-title {
    border-left: 2px solid;
    color: #4C5B70;
    line-height: 1rem;
    padding-left: 5px;
}

.momo-container hr {
    background: #CCC;
    margin: 10px 0;
}

.momo-container .momo-box .momo-choose-item {
    border: #CCC 1px solid;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background ease-in-out .3s;
}

.momo-container .momo-box .momo-choose-item:hover {
    transition: background ease-in-out .3s;
}

.momo-container .momo-box-reply {
    background: #E2EDF1;
}

.momo-container .momo-box-reply .momo-choose-item {
    background: #FEFEFE;
    color: #4C5B70;
    padding: 10px 5px;
}

.momo-container .momo-box-reply .momo-choose-item:hover {
    background: #e2e6ea;
}

.momo-container .momo-box-reply .momo-title {
    border-color: #369CE1;
}

.momo-container .momo-box-love {
    background: #FFEDF1;
}

.momo-container .momo-box-love .momo-title {
    border-color: #FF8EA2;
}

.momo-container .momo-box-love .momo-choose-item {
    background: #FF8EA2;
    color: #FFF;
    padding: 5px;
}

.momo-container .momo-box-love .momo-choose-item:hover {
    background: #e5687d;
}

@media screen and (max-width: 600px) {
    .momo-container .momo-msg-first::after {
        top: 14px;
    }
}

/* [[Category:在模板名字空间下的CSS页面]][[Cat:蔚蓝档案CSS页面]] */