Skip to content

ニコニコ動画のタグを上に配置するやつ by arutomio

Screenshot of ニコニコ動画のタグを上に配置するやつ

Details

Authorarutomio

LicenseCC-BY 4.0

Categorynicovideo

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

帰ってきたニコニコ動画のタグと投稿者名を上に表示します。

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           ニコニコ動画のタグを上に配置するやつ
@namespace      https://userstyles.world/user/arutomio
@version        1.0.0
@description    ニコニコ動画視聴ページ上のタグと投稿者名を動画プレーヤーの上に配置します。
@author         AGI
==/UserStyle== */

@-moz-document url-prefix("https://www.nicovideo.jp/watch") {
    .grid-template-areas_\[_\"player_sidebar\"_\"meta_sidebar\"_\"bottom_sidebar\"_\"\._sidebar\"_\]{
        grid-template-areas:
        "tag creater"
        "player sidebar"
        "title sidebar"
        "info sidebar"    
        "bottom sidebar"
        ". sidebar";
    }
    .grid-area_\[meta\]{
        display:contents;
    }
    .grid-area_\[meta\] > :nth-child(1){
        display:contents;
    }
    .grid-area_\[meta\] > :nth-child(1) > :nth-child(1){
        grid-area:title;
    }
    .grid-area_\[meta\] > :nth-child(1) > :nth-child(2){
        grid-area:creater;
        width:auto;
    }
    .grid-area_\[meta\] > :nth-child(2){
        grid-area:tag;
        align-items:center;
    }
    .grid-area_\[meta\] > :nth-child(3){
        grid-area:info;
    }
}

Reviews

No reviews yet.