Skip to content

Instantly share code, notes, and snippets.

@jmarshall
Last active October 28, 2022 08:40
Show Gist options
  • Save jmarshall/a880c93725ee727abb5447358292b314 to your computer and use it in GitHub Desktop.
Save jmarshall/a880c93725ee727abb5447358292b314 to your computer and use it in GitHub Desktop.
User CSS for GitHub: square the circular avatars, hide dashboards' “Member statuses” sidebar
/* Hide GitHub dashboards' "Member statuses" sidebar, while hopefully not
doing too much damage to other web sites. For e.g. Safari, save this
somewhere and select it in Preferences :: Advanced :: Style sheet. */
@media screen and (min-width: 1012px) {
body.page-responsive > div.application-main > div.d-md-flex
div.mt-3.border-bottom
{ width: 100% !important }
body.page-responsive > div.application-main > div.d-md-flex
aside.team-left-column.col-md-3.col-lg-4.mt-5.hide-lg.hide-md.hide-sm.border-bottom
{ display: none !important }
}
/* Restore square GitHub avatar images. */
@media screen {
body.env-production > div.application-main img.avatar-user,
body.env-production > div header img.avatar-user,
body.env-production > div header img.avatar-small,
body.env-production > div div.Header img.avatar-user,
body.env-production > div.Popover > div.Popover-message div img.avatar-user,
body.env-production div.application-main div.AvatarStack a.avatar-user
{ border-radius: 3px !important }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment