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

Template:讨论版页顶/flex.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
#talkPageTop {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

#talkPageTop_left {
    flex: none;
    order: 1;
    margin: -1px 1em 1em -1px;
}

#talkPageTop_right {
    flex: none;
    order: 3;
    margin: -1px -1px 1em 1em;
    max-width: 100%;
}

#talkPageTop_middle {
    flex: auto;
    order: 2;
    max-width: 100%;
}

#talkPageTop_middle_top {
    font-size: 19px;
    font-weight: bold;
    text-align: center;
}

#talkPageTop_middle_middle {
    display: flex;
    justify-content: space-around;
    text-align: left;
    max-width: 100%;
}

#talkPageTop_middle_bottom {
    text-align: center;
}

#talkPageTop_saves {
    padding-left: .5em;
    font-size: 14px;
    background-color: #E0EDFA;
    border: 1px solid #DFDFDF;
}

#talkPageTop_list {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

#talkPageTop_list_left,
#talkPageTop_list_right {
    width: 50%;
    padding: 0 7px;
}

#talkPageTop_list_right {
    border-left: 1px solid #a2a9b1;
}

@media screen and (max-width: 720px) {
    #talkPageTop {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    #talkPageTop_left {
        margin: 0;
    }

    #talkPageTop_right {
        order: 2;
        margin: 0;
    }

    #talkPageTop_middle {
        order: 3;
    }

    #talkPageTop_list,
    #talkPageTop_middle_middle {
        margin: auto;
        display: block;
    }

    #talkPageTop_list_left,
    #talkPageTop_list_right {
        width: auto;
    }

    #talkPageTop_list_right {
        border-left-width: 0;
    }
}

@media screen and (min-width: 721px) {

    #talkPageTop_middle_middle,
    #talkPageTop_list {
        width: auto !important;
    }
}

@media screen and (min-width: 721px) and (max-width:1280px) {
    #talkPageTop {
        flex-wrap: wrap;
    }

    #talkPageTop_left {
        margin: 0;
        width: 50%;
    }

    #talkPageTop_left>* {
        margin-right: auto;
    }

    #talkPageTop_right {
        width: 50%;
        order: 2;
        margin: 0;
    }

    #talkPageTop_right>* {
        margin-left: auto;
    }

    #talkPageTop_middle {
        order: 3;
    }
}

/* [[Category:在模板名字空间下的CSS页面]] */