Greasy Fork is available in English.

niconico Video Search Result 6 Columns

ニコニコ動画の検索結果を6列化

/* ==UserStyle==
@name             niconico Video Search Result 6 Columns
@name:ja         ニコニコ動画 検索結果 6列表示
@namespace     https://greasyfork.org/users/412974
@version           3.2.0
@description      ニコニコ動画の検索結果を6列化
@description:ja  ニコニコ動画の検索結果を6列化
@author            Resubew
@license            CC BY-SA 4.0
==/UserStyle== */

/* tagCaption */
@-moz-document url-prefix("https://www.nicovideo.jp/tag/") {
  .tagCaption .inner > .contentHeader { float: left !important; }
  .tagCaption .contentHeader h1 { width: auto !important; }
  .tagCaption .contentHeader { margin-right: 10px !important; }
  .tagCaption .contentBody { padding-top: 1px !important; }
  
  .tagCaption .share,
  .tagCaption .inner > .contentBody .itemDescription {
    display: none !important;
  }
}

/* 可変レイアウト */
@-moz-document url-prefix("https://www.nicovideo.jp/search/"),
               url-prefix("https://www.nicovideo.jp/tag/") {
  .inner,
  .column700-300 .main,
  .video {
    width: 100% !important;
    max-width: 1024px !important;
    min-width: auto !important;
  }

  .video .item {
    display: inline-block !important;
    float: none !important;
    vertical-align: top !important;
  }
}

/* 動画検索結果を3/6列表示 */
@-moz-document url-prefix("https://www.nicovideo.jp/search/"),
               url-prefix("https://www.nicovideo.jp/tag/") {
  .billboard_ad, .nicoadVideoItemWrapper { display: none !important; }
  .content.videoBox.teibanVideos, .TagkeyArticleBox { display: none !important; }
  .columnChange li.two { display: block !important; }
  .columnChange { padding-right: 8px !important; }
  .columnChange.open, .columnChange.close { background-image: none !important; }
  .columnChange .open, .columnChange .close { display: none !important; }

  .column700-300 .sub {
    display: none !important;
  }
  
  .column700-300 .main {
    padding-right: 4px !important;
  }
  
  .video .item:nth-child(4n+1) {
    clear: none !important;
  }
  .video .item {
    margin-right: 5px !important;
  }

  .video.videoList02 .item:nth-child(2n+1) {
    clear: none !important;
  }
  .video.videoList02 .item {
    margin-right: -1px !important;
  }
}

/* 新着投稿、新着コメント */
@-moz-document url-prefix("https://www.nicovideo.jp/newarrival"),
               url-prefix("https://www.nicovideo.jp/recent") {
  .NewVideosPage-body {
    width: 100% !important;
    max-width: 1024px !important;
    min-width: auto !important;
  }

  .NewVideosPage-sub {
    display: none !important;
  }

  .NewVideosPage-main {
    flex: 0 0 100% !important;
  }

  .NewVideosPage-videoList {
    width: 100% !important;
  }

  .NewVideosPage-videoList_col4 > :nth-child(4n-3) {
    margin-left: 8px !important;
  }
  .NewVideosPage-videoList_col4 > :nth-child(6n-5) {
    margin-left: 0 !important;
  }
}