Skip to content

Instantly share code, notes, and snippets.

@foca
Created January 5, 2017 06:45
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 foca/24940c74d24d078ec7fd51cc1215bbd9 to your computer and use it in GitHub Desktop.
Save foca/24940c74d24d078ec7fd51cc1215bbd9 to your computer and use it in GitHub Desktop.
Make CodeTree less terrible on the eyes.
/**
* CodeTree default styles are pretty terrible, and the task board
* is pretty cluttered with lots of useless things.
*
* This is a user stylesheet that makes the board pretty clean by
* removing the sidebar and top navigation.
*
* You should apply it to URLs matching `/projects/\w+/board`
*
*
* If you want to get the nav back, just edit the URL so it's
* `/projects/:id/issues` instead of `/projects/:id/board`
*/
.navbar {
height: 0;
}
.navbar-go,
.navbar-identity {
display: none;
}
.navbar-search {
margin: 0;
padding: 10px 0;
float: right;
}
.sidebar {
display: none;
}
.issue-filter-container,
.board-container,
.page-footer {
left: 0;
padding-left: 30px;
padding-right: 30px;
}
.issue-filter-container {
top: 0;
height: 60px;
line-height: 60px;
}
.issue-filter-container .octicon.bottom {
vertical-align: middle;
}
.board-container {
top: 60px;
right: 0;
border: none;
}
#drift-widget-container { display: none; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment