ニコニコ動画 検索結果 6列表示

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

当前为 2019-12-06 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name ニコニコ動画 検索結果 6列表示
  3. @name:ja ニコニコ動画 検索結果 6列表示
  4. @namespace https://greasyfork.org/users/412974
  5. @version 3.0.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, .video .item.nicoadVideoItem { 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. @-moz-document url-prefix("https://www.nicovideo.jp/newarrival"),
  74. url-prefix("https://www.nicovideo.jp/recent"),
  75. url-prefix("https://www.nicovideo.jp/hotlist") {
  76. .content_312 {
  77. display: none !important;
  78. }
  79.  
  80. .content_672 {
  81. width: auto !important;
  82. }
  83.  
  84. .content_672 > div {
  85. width: auto !important;
  86. padding: 0 4px !important;
  87. }
  88.  
  89. .content_672 > div > div {
  90. display: inline !important;
  91. }
  92.  
  93. /* ページャー */
  94. .content_672 > table,
  95. .content_672 > div[style*="0pt 0pt 16px"], /* 新着投稿、新着コメント */
  96. .content_672 > div.mb16p4 { /* ホットリスト */
  97. display: block !important;
  98. width: 100% !important;
  99. clear: both !important;
  100. }
  101.  
  102. .thumb_col_1 {
  103. width: auto !important;
  104. }
  105.  
  106. .thumb_col_2 {
  107. width: 318px !important;
  108. display: inline-block !important;
  109. float: none !important;
  110. vertical-align: top !important;
  111. }
  112.  
  113. .thumb_col_4 {
  114. width: 156px !important;
  115. display: inline-block !important;
  116. float: none !important;
  117. vertical-align: top !important;
  118. padding: 4px 1px !important;
  119. }
  120. }
  121.  
  122. /* コミュニティの検索結果を3列表示 */
  123. @-moz-document url-prefix("https://com.nicovideo.jp/search/") {
  124. #side0727 {
  125. display: none !important;
  126. }
  127.  
  128. #main0727 {
  129. float: none !important;
  130. width: auto !important;
  131. }
  132.  
  133. #main0727 > div[style="margin-left:36px;"],
  134. #main0727 > div[style="margin-left: 36px;"] {
  135. margin-left: -6px !important;
  136. }
  137. }