Skip to content

Instantly share code, notes, and snippets.

@Cykelero
Created November 9, 2022 22:03
Show Gist options
  • Save Cykelero/af038b92c5d4f2ec4ea15a58b5fce621 to your computer and use it in GitHub Desktop.
Save Cykelero/af038b92c5d4f2ec4ea15a58b5fce621 to your computer and use it in GitHub Desktop.
CSS styles to remove a lot of the distractions on StackExchange sites.
body.unified-theme {
padding-top: 10px !important;
}
.unified-theme header {
display: none !important;
}
.unified-theme #left-sidebar {
display: none;
}
.unified-theme #content {
width: 100% !important;
border-left-width: 0 !important;
padding-left: 40px !important;
padding-right: 40px !important;
max-width: 850px !important;
}
.unified-theme #sidebar {
display: none;
}
.unified-theme #mainbar {
width: 100% !important;
}
.unified-theme div[aria-label="ask new question"] {
display: none !important;
}
.unified-theme .subheader {
border-bottom: none !important;
}
.unified-theme .subheader #tabs {
display: none !important;
}
.unified-theme .answers-subheader {
margin: 28px 0 10px !important;
}
.unified-theme .answers-subheader > h2 {
font-size: 30px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment