Skip to content

Instantly share code, notes, and snippets.

@geedelur
Last active April 16, 2020 20:34
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 geedelur/6dfeb9395fdde21ea10e to your computer and use it in GitHub Desktop.
Save geedelur/6dfeb9395fdde21ea10e to your computer and use it in GitHub Desktop.
/*
* Basic layout
*/
.container {
width: 100% !important;
padding-right: 30px !important;
padding-left: 30px !important;
}
/* Responsive containers on some pages */
.container-lg,
.container-xl {
max-width: 100% !important;
padding-right: 30px !important;
padding-left: 30px !important;
}
/* Match the header to container padding */
.Header {
padding-right: 30px !important;
padding-left: 30px !important;
}
/*
* Profile pages
*/
.pinned-repo-item {
width: calc(50% - 10px) !important;
}
.org-pinned-repos-list .pinned-repo-item {
width: calc(33.3% - 10px) !important;
}
.u-photo,
.user-status-container {
max-width: 250px;
}
.u-photo .avatar {
width: 100% !important;
height: auto !important;
}
/*
* Repo-specific stuff
*/
.repository-content {
width: 100% !important;
}
/* Undo container changes for the Projects tab on repos which have unnecessary nested container-lg's */
.repository-content > .container-lg {
padding-right: 0 !important;
padding-left: 0 !important;
}
/* Undo for profile timeline */
.contribution-activity-listing .discussion-timeline {
width: 100% !important;
}
/* Fix #18 - props: @auscompgeek */
.file-header::after {
clear: left !important;
}
/* Network graph */
#network {
max-width: 730px;
}
/*
* Issues & Dashboard
*/
#dashboard,
.new-issue-form {
position: relative !important;
}
.new-issue-form .discussion-sidebar {
position: absolute !important;
top: 0 !important;
right: 0 !important;
}
button.discussion-sidebar-toggle {
width: 100% !important;
}
.timeline-new-comment {
max-width: none !important;
}
/* Commits: extended message under "..." */
.commit-desc pre {
max-width: none;
}
/* Alert messages */
#js-flash-container .flash-messages {
width: 100% !important;
padding-left: 30px !important;
padding-right: 30px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment