Greasy Fork is available in English.

ニコニコ動画 動画説明文をプレーヤーの上へ移動する

動画説明文をプレーヤーの上へ移動する

/* ==UserStyle==
@name ニコニコ動画 動画説明文をプレーヤーの上へ移動する
@description 動画説明文をプレーヤーの上へ移動する
@version 2025-01-27
@license https://opensource.org/licenses/mit-license.php 
@author 豆腐
@namespace https://greasyfork.org/users/60637
==/UserStyle== */
@-moz-document url-prefix("https://www.nicovideo.jp/watch/") {

/* 動画説明文をプレーヤーの上へ */
.grid-template-areas_\[_\"player_sidebar\"_\"meta_sidebar\"_\"bottom_sidebar\"_\"\._sidebar\"_\] {
  grid-template-areas:
    "meta   meta"
    "player sidebar" 
    "bottom sidebar" 
    ".      sidebar" !important;
  .grid-area_\[meta\] {
    /* タグを説明文の下に移動 */
    [class="pos_relative d_flex flex-wrap_wrap gap_base"] {
      order: 1 !important;
    }
    /* ジャンル・シリーズを消す */
    .bd-c_border\.highEm {
      [class="d_flex flex-d_column gap_x3"] {
        display: none !important;
      }
    }
    /*投稿者情報*/
    [class="d_flex ai_flex-start gap_base pb_x2"] {
      padding-bottom: 0 !important;
      /* 一行にする */
      [class="flex-g_1 pt_base pr_x2 d_flex flex-d_column gap_x2"] {
        flex-direction: initial !important;
        /* アイコンとの高さ合わせ */
        padding-top: 4px !important;
      }
      /* 名前の高さを合わせる */
      [class="fs_l text-layer_mediumEm fw_bold w_[fit-content] lc_2 hover:c_textOnLayer.accentAzure"] {
        display: flex !important;
        align-items: center !important;
      }
    }
  }
}

}