Created
July 31, 2020 13:36
-
-
Save jpramosi/fe44f6ce23359183b201018ee4140d77 to your computer and use it in GitHub Desktop.
old compact github style css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is a modified version of https://github.com/MCHSL/sane-github/ | |
*/ | |
/* Header */ | |
.Header.py-md-0 { | |
margin: auto; | |
width: 69%; | |
} | |
/* Repository Header */ | |
#js-repo-pjax-container > .bg-gray-light { | |
margin: auto; | |
width: 69%; | |
} | |
/* Repository Body */ | |
#js-repo-pjax-container > .container-xl { | |
margin: auto; | |
width: 69%; | |
} | |
/* Startpage Body */ | |
.d-flex.flex-wrap.bg-gray { | |
margin: auto; | |
width: 69%; | |
} | |
/* Settings Body */ | |
.page-content.container { | |
margin: auto; | |
width: 69%; | |
} | |
.IssueLabel, .IssueLabel--big.lh-condensed { | |
border-radius: 0.25em; | |
padding: 0 3px; | |
font-weight: 600; | |
} | |
.pagehead { | |
margin-left: 20%; | |
margin-right: 20%; | |
margin-bottom: 16px !important; | |
} | |
.new-discussion-timeline { | |
margin-left: 20%; | |
margin-right: 20%; | |
padding: 0 !important; | |
} | |
.repository-content > div > div:first-child:not(.flex-md-items-center):not(.Box-header--blue).width-full:not(.flex-auto) { | |
width: 100% !important; | |
} | |
/* Issue #4 */ | |
.full-width .repository-content { | |
width: 77% !important; | |
} | |
.avatar-user { | |
border-radius: 0.1em !important; | |
} | |
.State { | |
border-radius: 0.25em; | |
padding: 3px 5px; | |
} | |
:not(get-repo-controller) > details > summary, | |
button.btn { | |
border-top-right-radius: 0 !important; | |
border-bottom-right-radius: 0 !important; | |
border-top-left-radius: 0.25em !important; | |
border-bottom-left-radius: 0.25em !important; | |
} | |
a.social-count { | |
border-top-right-radius: 0.25em !important; | |
border-bottom-right-radius: 0.25em !important; | |
border-top-left-radius: 0 !important; | |
border-bottom-left-radius: 0 !important; | |
box-shadow: none; | |
} | |
.d-md-block { | |
border-radius: 0.25em; | |
} | |
.TableObject-item { | |
vertical-align: unset; | |
} | |
.tabnav-tab { | |
padding: 5px 8px !important; | |
} | |
.tabnav-tab.selected { | |
border-top-left-radius: 0.25em; | |
border-top-right-radius: 0.25em; | |
} | |
.Box-row { | |
border-bottom: 1px solid #333333; | |
} | |
.Box-header { | |
border-radius: 0.25em; | |
border-bottom: 1px solid #444444 !important; | |
} | |
:not(#discussion_bucket):not(#wiki-content):not(.container-xl) > .gutter-condensed:not(.js-pinned-items-reorder-list).gutter-lg { | |
flex-direction: column-reverse !important; | |
} | |
:not(#discussion_bucket):not(#wiki-content):not(.container-xl) > .gutter-condensed:not(.js-pinned-items-reorder-list).gutter-lg:not(.flex-column) { | |
flex-direction: row; | |
width: 100%; | |
} | |
:not(#discussion_bucket):not(#wiki-content):not(.container-xl) > .gutter-condensed:not(.js-pinned-items-reorder-list).gutter-lg:not(.flex-column) > .flex-shrink-0:last-child { | |
width: 70% !important; | |
} | |
.BorderGrid--spacious > * { | |
display: none; | |
} | |
.BorderGrid.BorderGrid--spacious { | |
margin-bottom: 1px; | |
} | |
.BorderGrid-row:first-child { | |
display: table-row !important; | |
} | |
.BorderGrid-row:last-child { | |
display: table-row !important; | |
} | |
.BorderGrid-cell > .mt-3:nth-child(6), | |
.BorderGrid-cell > .mt-3:nth-child(7) { | |
display: inline !important; | |
} | |
.BorderGrid-cell > .mt-3:nth-child(8), | |
.BorderGrid-cell > .mt-3:nth-child(9) { | |
display: inline-block !important; | |
margin-left: 8px; | |
} | |
.gutter-condensed > div:not(.mb-md-0) { | |
width: 100% !important; | |
} | |
.BorderGrid-cell > ul { | |
width: 100%; | |
display: flex; | |
align-items: stretch; | |
justify-content: center; | |
flex-direction: row; | |
} | |
.BorderGrid-cell > ul > li { | |
flex: auto; | |
} | |
.d-md-flex { | |
border-radius: 0.25em; | |
} | |
summary.ml-2 { | |
border-radius: 0.25em; | |
} | |
summary.btn.css-truncate { | |
border-radius: 0.25em !important; | |
} | |
.Box-header--blue { | |
padding: 12px 16px; | |
} | |
.btn { | |
box-shadow: none; | |
} | |
#readme { | |
border-radius: 0.2em !important; | |
} | |
#js-issues-toolbar { | |
border-top-right-radius: 0.25em; | |
border-top-left-radius: 0.25em; | |
padding: 8px 16px; | |
} | |
#js-issues-search { | |
box-shadow: none; | |
} | |
.subnav-item:first-child { | |
border-top-left-radius: 0.25em; | |
border-bottom-left-radius: 0.25em; | |
} | |
.subnav-item:last-child { | |
border-top-right-radius: 0.25em; | |
border-bottom-right-radius: 0.25em; | |
} | |
.btn.btn-primary { | |
border-radius: 0.15em; | |
} | |
.btn.disabled { | |
border-top-left-radius: 0.25em; | |
border-bottom-left-radius: 0.25em; | |
} | |
input[aria-label="Select all issues"] { | |
vertical-align: middle; | |
} | |
#files { | |
margin-left: -15%; | |
width: 90%; | |
} | |
.thread-subscription-status, | |
#all_commit_comments, | |
.commit.full-commit { | |
width: 60%; | |
} | |
.Label.Label--gray { | |
border-color: #777; | |
border-radius: 0.25em; | |
} | |
.Box-row--gray, | |
.Box-row.border-top.border-black-fade { | |
padding: 6px 8px !important; | |
border-radius: 0.25em; | |
} | |
.Box-body.flex-items-center { | |
padding: 6px 8px; | |
border-radius: 0.25em; | |
width: 100% | |
} | |
#partial-discussion-sidebar { | |
width: 22.5%; | |
} | |
#discussion_bucket.pull-request-tab-content { | |
width: 79.45%; | |
} | |
.UnderlineNav-item { | |
visibility: visible !important; | |
} | |
.position-absolute.js-responsive-underlinenav-overflow { | |
display: none; | |
} | |
nav.js-sidenav-container-pjax.js-responsive-underlinenav { | |
display: flex; | |
align-items: stretch; | |
} | |
ul.UnderlineNav-body.list-style-none { | |
flex: auto; | |
} | |
ul.UnderlineNav-body.list-style-none > li { | |
flex: auto; | |
} | |
.repository-content > .d-flex.width-full > .flex-column { | |
width: 61.5% !important; | |
} | |
.repository-content > .d-flex:not(.gutter-condensed) > .d-flex > .d-flex > .d-flex.overflow-x-scroll { | |
overflow-x: hidden !important; | |
} | |
.gutter-condensed > .flex-shrink-0:not(.col-md-3):not(.col-md-9) { | |
width: 100%; | |
} | |
.repository-content > .gutter-condensed > .flex-shrink-0.col-12.col-md-9.mb-4.mb-md-0 { | |
width: 100% !important; | |
} | |
div.d-table.col-12 > .d-table-cell.v-align-top { | |
display: table-cell !important; | |
min-width: max-content; | |
width: 85%; | |
} | |
div.d-table.col-12 > .d-none.v-align-middle { | |
width: min-content !important; | |
float: right; | |
} | |
div.d-table.col-12 > .d-table-cell.v-align-middle { | |
min-width: max-content; | |
max-width: max-content; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment