Last active
July 2, 2020 20:47
-
-
Save Kaleidosium/5e7c3fb8f9ab969b050a665f28877116 to your computer and use it in GitHub Desktop.
Fix New GitHub Design Issues
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
/* ==UserStyle== | |
@name Fix New GitHub Design Issues | |
@namespace iamrifki | |
@version 1.0.1 | |
@description Fixes several things I dislike about the new GitHub redesign | |
@author Dania Rifki <[email protected]> | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://github.com/"), url-prefix("https://gist.github.com/") { | |
/* Add separators back to the file list. */ | |
div[role="grid"] > div[role="row"]:not(:last-child) { | |
border-bottom: 1px solid #e1e4e8; | |
} | |
/* Add separators back to the line numbers. */ | |
.blob-num:not(.pinned-gist-blob-num) { | |
border-right: 1px solid #e1e4e8; | |
} | |
.CodeMirror-gutters > .CodeMirror-linenumbers { | |
border-right: 1px solid #e1e4e8; | |
} | |
/* Zebra table */ | |
.repository-content > table.highlight tr:nth-child(odd) { | |
background-color: #f6f8fa; | |
} | |
/* Remove margins between the file header and the edit box */ | |
.file-header.mb-2 { | |
margin-bottom: 0 !important; | |
} | |
/* Gray README header */ | |
#readme > .Box-header.d-flex.flex-items-center.flex-justify-between.bg-white { | |
background-color: #f6f8fa !important; | |
border-bottom: 1px solid #e1e4e8 !important; | |
} | |
/* Fix text contrast */ | |
.text-gray, | |
.muted-link, | |
.text-gray-light, | |
.link-gray, | |
.table-list-header-toggle .btn-link, | |
.subnav-search-input, | |
.subnav-search-context .btn, | |
.commit .commit-title, | |
.commit .commit-title a, | |
.commit-group-title, | |
.drag-and-drop, | |
.file .data.empty, | |
.link-gray-dark, | |
.full-commit .sha-block, | |
.full-commit .sha-block > .sha, | |
.blob-num, | |
.gh-header-meta, | |
.timeline-comment-header, | |
.discussion-sidebar-heading, | |
.discussion-sidebar-item { | |
color: #222222 !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment