twitcasting的CSS

twitcasting的CSS美化

/* ==UserStyle==
@name           twitcasting的CSS
@namespace      https://greasyfork.org/zh-TW/users/4839
@version        1.0
@description    twitcasting的CSS美化
@author         琳
@license MIT
@preprocessor   stylus
==/UserStyle== */

header {
    display: flex;
    justify-content: center;
    background-color: var(--color-header-background);
}

.tw-global-header {
    max-width: 98vw;
}

.tw-global-alert {
    display: none;
}

.tw-basic-page,
.tw-raw-page {
    max-width: 85vw;
}

.tw-movie-show-filter {
    font-size: 1rem;
    right: 0;
}

.tw-header-toggle-button,
.tw-global-header-secondary {
    padding: 0;
}

.tw-user-header {
    display: flex;
    justify-content: center;
}

.tw-user-banner {
    display: none;
}

.tw-user-nav {
    padding: 1px 0 !important;
    max-width: 98vw !important;
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    align-items: center;
}

.tw-user-nav-info {
    float: right;
    flex: 0 1 auto;
    align-self: unset;
}

.tw-user-nav-icon>img {
    height: 40px;
    width: 40px;
}

.tw-user-nav-list {
    margin: 1px 0 0;
    display: flex;
    flex: 2 1 auto;
}

.tw-user-nav-list-count {
    margin: 4px 0 0;
    padding: 0.125rem 0.5rem;
}

.tw-user-nav-list-item>a,
.tw-user-nav-list-item>span {
    padding: 0 0.125rem;
    flex-direction: column;
}

.tw-user-nav-user-inner {
    align-items: center;
}

.tw-player-page-grid-title {
    display: none;
}

.tw-comment-list-view {
    height: calc(100vh - 10px);
}

.tw-comment-list-view__scroller {
    overflow-x: hidden;
    width: calc(100% + 17px);
}

.tw-comment-list-view.tw-player-page__comment__list {
    height: 100%;
}

#comment-list-app {
    height: 86vh;
}

@media only screen and (min-width: 767px) {
    .tw-player-page-grid {
        grid-template-columns: minmax(375px, 1280px) min(295px);
    }
}

@media only screen and (max-width: 767px) {

    .tw-user-nav .tw-support-button,
    .tw-user-nav .tw-membership-button {
        display: none;
    }

    .tw-user-nav-name {
        -webkit-line-clamp: 1;
    }

    .tw-user-nav-stat>li:not(:last-child),
    .tw-user-nav-operations,
    .tw-user-nav .tw-support-widget-follow {
        margin: 0;
        padding: 0;
    }
}