Skip to content

Instantly share code, notes, and snippets.

@unascribed
Last active April 19, 2018 04:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unascribed/c15c8b31fc31cbe5e83606cb877b889f to your computer and use it in GitHub Desktop.
Save unascribed/c15c8b31fc31cbe5e83606cb877b889f to your computer and use it in GitHub Desktop.
Square avatars, a textarea bugfix, less padding, and a better font for Discord.
var font = "Roboto", monofont = "Roboto Mono",
d=document,s=d.createElement('style');s.textContent="body,input,textarea{font-family:'"+font+"' !important}pre{font-family:'"+monofont+"' !important}.avatar-large,.avatar-profile,.avatar-small,.avatar-xlarge,.avatar-xsmall,.avatar-xxlarge{border-radius:10%}.guild-inner,.guilds-add{border-radius:10% !important;transition:filter 0.2s}.guild-inner:hover{filter: brightness(150%)}.message-group{padding:10px 0}textarea[placeholder^=Message][style='height:auto;']{height:20px !important}.emoji.jumboable{width:48px;height:48px}";d.head.appendChild(s);
@-moz-document domain("discordapp.com") {
body, input, textarea {
font-family: 'Roboto' !important;
}
pre {
font-family: 'Roboto Mono' !important;
}
.avatar-large, .avatar-profile, .avatar-small, .avatar-xlarge, .avatar-xsmall, .avatar-xxlarge {
border-radius: 10%;
}
.guild-inner, .guilds-add {
border-radius: 10% !important;
transition: filter 0.2s;
}
.guild-inner:hover {
filter: brightness(150%);
}
.message-group {
padding: 10px 0;
}
textarea[placeholder^=Message][style='height: auto;'] {
height: 20px !important;
}
.emoji.jumboable {
width: 48px;
height: 48px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment