Skip to content

Instantly share code, notes, and snippets.

@mrmrs
Created May 26, 2015 07:02
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 mrmrs/0505532d1c492f9e0955 to your computer and use it in GitHub Desktop.
Save mrmrs/0505532d1c492f9e0955 to your computer and use it in GitHub Desktop.
Single purpose rulesets that set an element to display: none for instagram.com
/* INSTAGRAM */
.spring-refresh.page-home #reactModalMountPoint {
display: none;
}
.page-accounts .password-reset p:not(.form-text):not(.form-actions) {
display: none;
}
.hide {
display: none !important;
}
html.android .dropdown,
html.no-csstransitions .dropdown,
html.msie .dropdown,
html.opera .dropdown {
display: none;
}
.sidebar-content h2 .separator {
display: none;
}
.jobs-short li:before {
display: none;
}
.page-accounts .waiting {
display: none;
}
[hidden] {
display: none;
}
.account-state .link-profile > a strong {
display: none;
}
.sidebar .sidebar-nav .sidebar-content h2 .subtitle,
.sidebar .sidebar-nav .sidebar-content h2 .separator {
display: none !important;
}
.resumator-buttons {
display: none;
}
.page-home .top-bar hgroup {
display: none;
}
form ul.errorlist {
display: none;
}
.sidebar .sidebar-nav .sidebar-content ul {
display: none;
}
.resumator-buttons li a {
display: none;
}
audio:not([controls]) {
display: none;
}
.sidebar .sidebar-nav .sidebar-content ul li.active i.disclosure {
display: none;
}
.page-accounts .password-reset iframe {
display: none;
}
.m-hide {
display: none;
}
.hidden {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment