Skip to content

Instantly share code, notes, and snippets.

@MilkyDeveloper
Created December 17, 2020 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MilkyDeveloper/31ebee2c1d0db64dda0db722b357647d to your computer and use it in GitHub Desktop.
Save MilkyDeveloper/31ebee2c1d0db64dda0db722b357647d to your computer and use it in GitHub Desktop.
A list of reddit css customziations that i'm hopefully going to cobble up into a Stylish css sheet / chrome / firefox extension / userscript.
# Set background color to be pleasing on the eyes
document.body.style.background="#2b3238"
# Better than white
document.getElementById("siteTable").style.background="ghostwhite"
# TESTING for loop
for (let i = 0; i < document.getElementById("siteTable").childElementCount; i++) {
document.getElementById("siteTable").style.background="red";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment