niconico Video Search Result 6 Columns

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

  1. /* ==UserStyle==
  2. @name niconico Video Search Result 6 Columns
  3. @name:ja ニコニコ動画 検索結果 6列表示
  4. @namespace https://greatest.deepsurf.us/users/412974
  5. @version 3.2.0
  6. @description ニコニコ動画の検索結果を6列化
  7. @description:ja ニコニコ動画の検索結果を6列化
  8. @author Resubew
  9. @license CC BY-SA 4.0
  10. ==/UserStyle== */
  11.  
  12. /* tagCaption */
  13. @-moz-document url-prefix("https://www.nicovideo.jp/tag/") {
  14. .tagCaption .inner > .contentHeader { float: left !important; }
  15. .tagCaption .contentHeader h1 { width: auto !important; }
  16. .tagCaption .contentHeader { margin-right: 10px !important; }
  17. .tagCaption .contentBody { padding-top: 1px !important; }
  18. .tagCaption .share,
  19. .tagCaption .inner > .contentBody .itemDescription {
  20. display: none !important;
  21. }
  22. }
  23.  
  24. /* 可変レイアウト */
  25. @-moz-document url-prefix("https://www.nicovideo.jp/search/"),
  26. url-prefix("https://www.nicovideo.jp/tag/") {
  27. .inner,
  28. .column700-300 .main,
  29. .video {
  30. width: 100% !important;
  31. max-width: 1024px !important;
  32. min-width: auto !important;
  33. }
  34.  
  35. .video .item {
  36. display: inline-block !important;
  37. float: none !important;
  38. vertical-align: top !important;
  39. }
  40. }
  41.  
  42. /* 動画検索結果を3/6列表示 */
  43. @-moz-document url-prefix("https://www.nicovideo.jp/search/"),
  44. url-prefix("https://www.nicovideo.jp/tag/") {
  45. .billboard_ad, .nicoadVideoItemWrapper { display: none !important; }
  46. .content.videoBox.teibanVideos, .TagkeyArticleBox { display: none !important; }
  47. .columnChange li.two { display: block !important; }
  48. .columnChange { padding-right: 8px !important; }
  49. .columnChange.open, .columnChange.close { background-image: none !important; }
  50. .columnChange .open, .columnChange .close { display: none !important; }
  51.  
  52. .column700-300 .sub {
  53. display: none !important;
  54. }
  55. .column700-300 .main {
  56. padding-right: 4px !important;
  57. }
  58. .video .item:nth-child(4n+1) {
  59. clear: none !important;
  60. }
  61. .video .item {
  62. margin-right: 5px !important;
  63. }
  64.  
  65. .video.videoList02 .item:nth-child(2n+1) {
  66. clear: none !important;
  67. }
  68. .video.videoList02 .item {
  69. margin-right: -1px !important;
  70. }
  71. }
  72.  
  73. /* 新着投稿、新着コメント */
  74. @-moz-document url-prefix("https://www.nicovideo.jp/newarrival"),
  75. url-prefix("https://www.nicovideo.jp/recent") {
  76. .NewVideosPage-body {
  77. width: 100% !important;
  78. max-width: 1024px !important;
  79. min-width: auto !important;
  80. }
  81.  
  82. .NewVideosPage-sub {
  83. display: none !important;
  84. }
  85.  
  86. .NewVideosPage-main {
  87. flex: 0 0 100% !important;
  88. }
  89.  
  90. .NewVideosPage-videoList {
  91. width: 100% !important;
  92. }
  93.  
  94. .NewVideosPage-videoList_col4 > :nth-child(4n-3) {
  95. margin-left: 8px !important;
  96. }
  97. .NewVideosPage-videoList_col4 > :nth-child(6n-5) {
  98. margin-left: 0 !important;
  99. }
  100. }