YouTube Comment Thread CSS

A new userstyle

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

/* ==UserStyle==
@name           YouTube Comment Thread CSS
@namespace      github.com/openstyles/stylus
@version        0.0.1
@description    A new userstyle
@author         Me
@license MIT
==/UserStyle== */
@-moz-document domain("youtube.com") {
    /* Insert code here... */
    ytd-comments#comments {
        ytd-comment-view-model[class][comment-threading-enabled] #author-thumbnail.ytd-comment-view-model {
            position: absolute;
            margin-left: 0;
            margin-right: 0;
            width: 26px;
            height: 26px;
            display: flex;
        }

        ytd-comment-view-model[class][comment-threading-enabled] #author-thumbnail.ytd-comment-view-model + * {
            margin-left: 36px;
        }

        ytd-comment-view-model[class][comment-threading-enabled] #author-thumbnail.ytd-comment-view-model * {
            max-height: 100%;
            max-width: 100%;
        }

        div.ytSubThreadThreadline[class] {
            position: absolute;
            display: none;
        }

        div.thread-hitbox.ytd-comment-thread-renderer[class] {
            position: absolute;
            width: 18px;
            border-left: 1px solid #3f3f3f;
            border-bottom: 1px solid #3f3f3f;
            border-radius: 0px 0 0 6px;
            margin-left: 12px;
            top: 32px;
            height: auto;
            bottom: 16px;
            box-sizing: border-box;
        }

        yt-sub-thread.ytSubThreadHost[class] {
            padding-left: 24px;
            box-sizing: border-box;
        }
    }
}