Skip to content

[Old Reddit Night Mode] White comments (background/box) #1

@vimbyte

Description

@vimbyte

White comment's background (boxes) in some subreddits
Fot example:
https://old.reddit.com/r/HunterXHunter/comments/1ta187l/hunter_esports_art_by_me

Userscript version: 1.0

Fix by this:

  1. Replace Comments block by this code:
/* Comments */
.thing.comment,
.comment .entry,
.comment .usertext-body,
.comment .md-container,
.comment .md {
  background: #111 !important;
  color: #bdc1c6 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.comment .child,
.comment .clearleft {
  background: transparent !important;
}

.comment .tagline,
.comment .flat-list,
.comment .expand {
  background: transparent !important;
}
  1. Insert this code in to the bottom of CSS, after line .scrollerItem { box-shadow: none !important; } and before the line with the `;
  /* Force dark background for deep nested comment branches */
  .commentarea .sitetable > .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment,
  .commentarea .sitetable > .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment {
    background: #202124 !important;
    background-color: #202124 !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  .commentarea .child,
  .commentarea .child .child,
  .commentarea .child .child .child,
  .commentarea .child .child .child .child,
  .commentarea .child .child .child .child .child,
  .commentarea .child .child .child .child .child .child,
  .commentarea .child .child .child .child .child .child .child {
    background: #202124 !important;
    background-color: #202124 !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  .commentarea .thing.comment,
  .commentarea .thing.comment .thing.comment,
  .commentarea .thing.comment .thing.comment .thing.comment,
  .commentarea .thing.comment .thing.comment .thing.comment .thing.comment,
  .commentarea .thing.comment .thing.comment .thing.comment .thing.comment .thing.comment {
    border-color: #333 !important;
    outline: none !important;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions