帰ってきた以降で使われているニコニコ動画のプレイヤーを個人的に少し使いやすくしました。
niconico-returnplayer_minor_fix_for_me by toarugema

Details
Authortoarugema
LicenseNo License
Categorynicovideo
Created
Updated
Code size2.3 kB
Code checksum3efc0636
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
不具合報告などは上部にありますHomepageからgithubにてお願いします。
Source code
/* ==UserStyle==
@name niconico-returnplayer_minor_fix_for_me
@namespace github.com/openstyles/stylus
@version 1.0.2
@description ニコ動のプレイヤー周りをいじる
@author toarugema
==/UserStyle== */
@-moz-document url-prefix("https://www.nicovideo.jp/watch/") {
/*
ニコニコ動画の動画再生画面をカクカクにする(2024年9月修正)
from: https://www.naporitansushi.com/niconico-player-non-rounded-corners
元のCSSからフォロー中を角丸のままにした
*/
.bdr_m:not(.gap_base .ai_center) {
border-radius: 0px !important;
}
/*
コメント欄の長さを調整する
ただしコントローラーを常に表示する場合のみ←CSSだけだと無理そうなので一旦無し
*/
.h_var\(--watch-player-height\){
height: calc(
var(--watch-player-height) /*元の高さ*/
+ var(--spacing-base) /*コントローラー再生バー上のマージン*/
+ var(--sizes-x0_5) /*コントローラー再生バー*/
+ var(--spacing-x0_5) /*コントローラー再生バー下のマージン*/
+ var(--sizes-x5) /*コントローラー*/
+ var(--spacing-x0_5) /*コントローラー最下部のマージン*/
) !important;
}
/*
動画プレイヤーとコメント欄をくっつける
*/
.cg_x3 {
column-gap: 0px !important;
}
/*
おすすめ欄を離す
SUPER THANKS! @ruru@misskey.flowers
*/
div.flex-d_column:nth-child(7) > section:nth-child(2),.grid-area_\[sidebar\] > .d_flex.flex-d_column.gap_x2 > .flex-g_1{
padding-left: 20px !important;
}
/*
シリーズやマイリストが右下に表示されている際に歯車を押すと離れていたのが戻ってしまうのを修正
*/
section.bdr_m.ov_hidden.d_flex.flex-d_column.h_\[calc\(_var\(--watch-player-height\)_\+_var\(--watch-actionbar-height\)_-_var\(--watch-collapsible-panel-header-height\)_-_var\(--watch-layout-gap-height\)_\)\]{
padding-left: 20px !important;
}
/*
生放送の表示を離す
*/
div.d_flex.flex-d_column.gap_x2.p_x2.bg-c_layer\.surfaceHighEm.bdr_m{
margin-left: 20px !important;
}
}