Skip to content

NicoNico Clean by ohohoyoyo1

Imported from https://raw.githubusercontent.com/sj2tpgk/niconico-clean/master/niconico-clean.user.css

Mirrored from https://codeberg.org/sj2tpgk/niconico-clean/raw/branch/master/niconico-clean.user.css

Screenshot of NicoNico Clean

Details

Authorohohoyoyo1

LicenseCC-BY-SA-4.0

Categorynicovideo.jp

Created

Updated

Size12 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Niconico clean usercss theme

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         NicoNico Clean
@namespace    sj2tpgk.usercss
@version      1.0.6
@description  Niconico clean usercss theme
@author       sj2tpgk
@homepageURL  https://codeberg.org/sj2tpgk/niconico-clean
@license      CC-BY-SA-4.0
==/UserStyle== */



@-moz-document regexp(".*nicovideo\.jp.*") { .pageLogo .hidariue { display: none; } }

@-moz-document regexp(".*www\.nicovideo\.jp/video_top.*"), regexp(".*www\.nicovideo\.jp/\?.*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  .HeaderContainer-ads, .RecommendAreaContainer-banner.RecommendAreaContainer-webPcPrime, .RankingVideosContainer-columnRight, .NewArrivalVideosContainer-columnRight, .NewCommentVideosContainer-columnRight, .BaseLayout-footer { display: none; } }

@-moz-document regexp(".*www\.nicovideo\.jp/watch.*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  .TagItem { background: transparent; border: none; }
  .MainContainer-marquee { display: none; }
  .MainContainer { box-shadow: none; }
  .MainContainer-player { margin: auto auto; box-shadow: 0px 0px 2px 1px #888; }
  .WatchAppContainer-main { display: flex; flex-direction: column-reverse; }
  .HeaderContainer { display: grid; }
  .HeaderContainer > .HeaderContainer-topArea { grid-column: 1/2; grid-row: 1; }
  .HeaderContainer > .VideoDescriptionContainer { grid-column: 1/2; grid-row: 3; }
  .HeaderContainer > .TagContainer { grid-column: 1/2; grid-row: 2; }
  .HeaderContainer > .HeaderContainer-row { grid-column: 3; grid-row: 1/5; display: flex; flex-direction: column; margin-left: 60px; }
  .HeaderContainer > .OwnerNicoliveBannerContainer { grid-column: 1/2; grid-row: 5; }
  .HeaderContainer > .HeaderContainer-row .VideoMetaContainer { display: flex; flex-direction: column; height: unset; }
  .HeaderContainer > .HeaderContainer-row .VideoMetaContainer > div { margin-top: .6em; }
  .MainContainer { margin: 2em 0 2em; }
  .VideoOptionGuideContainer { display: none; }
  .AnywhereSeekablePremiumLinkContainer, .SeekBarStoryboardPremiumLink, .PreVideoStartPremiumLinkContainer { display: none; }
  .PreVideoStartPremiumLinkOnEconomyTimeContainer { display: none; }
  .CommentShutter { display: none; }
  .EasyCommentContainer { display: none; }
  .MainContainer-playerPanel { display: none; }
  .BottomContainer { display: none; }
  .SwitchToFlashLead { background: transparent; }
  .SwitchToFlashLead-button { color: #888; }
  .FooterContainer-pageTop { display: none; }
  .HeaderContainer-creatorSupportAccepting { display: none; }
  .VideoErrorContainer { display: none; } }

@-moz-document regexp(".*www\.nicovideo\.jp/watch.*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  .html5_message { background: transparent; border: none; height: auto; margin-top: 40px; margin-bottom: -55px; }
  .html5_message .centeringBox { text-align: right; }
  .html5_message .centeringBox #switchToHtml5 { width: auto; line-height: unset; }
  .html5_message .centeringBox #switchToHtml5 #switchToHtml5 { width: auto; color: #999; }
  ul.socialLinks { display: none; }
  .lineButton, .twitterButton, .facebookButton { display: none; }
  #wallImageContainer, #textMarquee, #chipWallList, #playerTabWrapper { display: none; }
  #playerNicoplayer { margin: auto; }
  #playerContainer { margin-top: 1em; margin-bottom: 20em; }
  #enquete-placeholder, #playlist, #videoExplorerExpand, #outline { display: none; } }

@-moz-document regexp(".*www\.nicovideo\.jp/(search|tag).*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  #premiumHeader, .notice.banner, .billboard_ad, .column.sub .ads, .banner.leadBanner.ads, .nicoadVideoItem, .video [data-nicoad-grade="gold"] .itemThumbWrap::before, .video [data-nicoad-grade="silver"] .itemThumbWrap::before { display: none; }
  ul.share { display: none; }
  .column.sub { display: none !important; }
  .column.main { padding-left: calc((1024px - 700px) / 2); }
  .FooterContainer-pageTop { display: none; }
  .tagCaption .tagFollowArea { display: none; } }

@-moz-document regexp(".*www\.nicovideo\.jp/search.*") {}@-moz-document regexp(".*www\.nicovideo\.jp/tag.*") {}@-moz-document regexp(".*www\.nicovideo\.jp/mylist/.*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  #premiumHeader, #head_ads, #web_pc_prime, #web_pc_360 { display: none; }
  #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderRoot a[href*="www.nicovideo.jp/my"] ~ div, #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/register/simple"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(3) > div + div { display: none; }
  .content_312 { display: none; }
  .content_672 { margin-left: calc((100% - 672px)/2); } }

@-moz-document regexp(".*www\.nicovideo\.jp/(user|my|series)[?/].*") { #CommonHeader { background: #222; /* sometimes does not work if selectors are combined??? */ }
  #CommonHeader #siteHeaderInner { background: #222; }
  #CommonHeader span { color: #ddd; }
  #CommonHeader a[href*=premium] { color: unset; }
  #CommonHeader a[href*=premium] > svg { display: none; }
  #CommonHeader .nico-CommonHeaderRoot a[href*="app.nicovideo.jp"] + div > div:nth-child(2), #CommonHeader .nico-CommonHeaderRoot a[href*="account.nicovideo.jp/premium/register"] + div, #CommonHeader .nico-CommonHeaderRoot > div > div > div:nth-child(2) > div:nth-child(2) > div + div, #CommonHeader .nico-CommonHeaderR...

Reviews

No reviews yet.