twitcasting的CSS

twitcasting的CSS美化

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

/* ==UserStyle==
@name           twitcasting的CSS
@namespace      https://greatest.deepsurf.us/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;
    }
}