Skip to content

Instantly share code, notes, and snippets.

@silverwind
Created August 5, 2013 16:46
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 silverwind/6157429 to your computer and use it in GitHub Desktop.
Save silverwind/6157429 to your computer and use it in GitHub Desktop.
hack fix for line number spacing
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp("^http(s)?://((www|gist|help|status).)?github.*") {
/* Github Dark Theme v1.3.5 (6/18/2013)
* https://github.com/Mottie/Github-Dark
* http://userstyles.org/styles/37035
* License: http://sam.zoy.org/wtfpl/
*/
body,#main,.unread_count,.pagehead,#browser table th,.main,.news .alert .body,.profilecols ul.stats li strong,
table.upgrades tr.current td,.definitions,#files .file .data {
background: #222 !important;
color: #ddd !important;
}
/* === Prevent overflow issues === */
#dashboard,.highlight,svg {
width: 100% !important;
}
/* === logo === */
.header,.header .site,#adv_code_search .search-page-input {
background: #111 !important;
border: 0 !important;
padding-bottom: 1px !important;
}
.header a:hover,.header a:hover .mini-icon,.header a:hover .mega-icon:before,#footer a {
color: #4183C4 !important;
}
#footer .mega-icon:hover:before,#last-edit {
color: #555 !important;
}
/* gist.github.com */
body.windows div.logo a[href="https://gist.github.com"] {
display: block !important;
width: 164px !important;
height: 45px !important;
background: url(http://mottie.github.com/Github-Dark/images/logo_gist.png) no-repeat !important;
}
/* help.github.com */
body#com div#header a.site-logo img, body.windows div.logo a[href="https://gist.github.com"] img {
display: none !important;
}
body#com div#header a.site-logo {
display: block !important;
width: 179px !important;
height: 45px !important;
background: url(http://mottie.github.com/Github-Dark/images/logo.png) no-repeat !important;
}
/* status.github.com */
body.noproblems h2#logo a {
background-image: url(http://mottie.github.com/Github-Dark/images/logo_status_noproblems.png) !important;
}
body.minorproblem h2#logo a {
background-image: url(http://mottie.github.com/Github-Dark/images/logo_status_minorproblems.png) !important;
}
body.majorproblem h2#logo a {
background-image: url(http://mottie.github.com/Github-Dark/images/logo_status_majorproblems.png) !important;
}
/* === needs padding === */
.content,.wikistyle,#header,#gollum-footer .gollum-minibutton a {
padding: 10px !important;
}
ul.actions {
padding: 2px 10px 2px 35px !important;
}
div.blog,#page-settings {
margin-top: 20px !important;
}
/* === show === */
.color-label.selected .color {
display: block !important;
}
/* === no margin === */
.markdown-body pre,#dashboard {
margin: 0 !important;
}
/* === Remove shadow === */
h1,h2,h3,h4,pre,pre *,code,strong,ul,li,p,input,a,th,.news,#footer ul.sosueme li.main,.metabox em.placeholder,.more-repos,
table.notifications,#download_button,.comment-count,em.date,#header,#user-links,.button,.minibutton,.gc .diff-line-code,
input.search,.upper_footer,.switcher > span:after,.upgrades td,.blog-feedback,.description,.blankslate,.commit-ref,
.pagination span,.mini-icon-advanced-search,.count,.select-menu-title,.select-menu-button:after,#repo-message,.times,
/*new layout style*/
.repo-nav-contents,.repo-menu a .counter {
color: #999 !important;
text-shadow: none !important;
box-shadow: none !important;
}
a,button,div,p,ul,li,#gollum-editor-submit,dl.form label,.formbody label,.js-context-button,.footer-text,.minibutton span,
span.name,.diff-line-code,.num,.site a.button {
color: #ddd !important;
text-shadow: none !important;
}
.mini-icon,.mini-icon:before,.list-tip:before {
text-shadow: none !important;
}
/* === transparent background only === */
table tr,.textographic a.repo,#network .repo span,.commit-group-item .browse-button,.stars-browser .filter-bar,
.topsearch span.search-input,p.meta,.js-menu-container,.sidebar .milestone,.commit-desc pre,.profilecols .filter-bar,
.gist .button-group,div.content-header .search-form,#wrapper,.file-code,.gist-advanced-options .select-menu-button:after,
#com .wikistyle, #com .wikistyle p,.css-truncate:hover .css-truncate-target,li.public,.action-bubble .bubble,.gravatar,.gravatar img,
.facebox-popup,
/*new layout style*/
table.files,.branch-infobar,.tmp-reusable-bubble .bubble-inner {
background: transparent !important;
}
/* === Remove background gradient === */
#directory .repo,#dashboard .repo,#categories li,.sosueme li.main,#commit .separator,.big-notice,.clean td,.legend .clean,
.avatar .overlay.size-48,.listing .repo,.listing.closed,.gist .gist-file .gist-data,.gist-syntax,.gist .gist-file .gist-data .line-numbers,
/*new layout style*/
.repo-nav-contents:before,.repo-nav-contents,.repo-nav-contents:after,.repo-menu-separator,.repo-menu-separator:before {
background-color: transparent !important;
background-image: none !important;
}
/* === Just rounded corners === */
#wrapper,#your-repos-filter,.topsearch ul.nav {
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
/* === No huge text === */
pre {
font-size: 14px !important;
}
.topsearch form input.search {
font-size: 12px !important;
}
/* === Darken border === */
pre,code,ul li,table td,h1,h2,h3,img,#browser table,#browser table th,#issues .menu ul li,.counter,.issues td,
ul.main_nav li.selected,.browser_header,.issue-head,.bootcamp-help .image,.clone-url-button,#wiki-wrapper h2,
table.branches td,.list-tip li,.boxed-group-list > li,.section-nav a,.repo_list li a,.graphs .axis,
.switcher > span:after,a.assignee-bit,.menu li,.notifications td,ul.hook-list,ul.hook-list li,.repo .border,
ul.repo-stats li a,.footer_nav h4,.tabnav,.blog-feedback,.chromed-list-browser,.js-activate-link,.footer-divider,
.chromed-list-browser div,.filter-bar,.columns.sidebar,.news .alert,.participation-graph canvas,#contributors .person,
#commit-activity-master,.blog-post,.top-rule,#services,#services .service,.mini-repo-list a,.grid .col,.lbl,.details,
ul.stats,.select-menu-filters,.select-menu-item,.select-menu-tabs,.release-list > li,.url-box,.select-menu-button:after,
.context-body,.range-editor-head,.filter-tab,.cheatsheet,.gist-file,.pagehead,.pagehead.settings-area,
.suggester,.pull-state,.pull-number,.merge-pr,.graphs,.graph,#footer .container,#graph-shots li,.sidebar,
.pagehead.repohead,.explore h2,.box-header,.box-body,.repo-list-item,ul.color-label-list .color,#head {
border-color: #555 !important;
}
.pagination a:first-child,.pagination a:last-child,.pagination span:first-child,.pagination span:last-child,.range-editor span.flag,.range-editor .range,.dashboard-tabs {
border-color: #333 !important;
}
.listings div.listing {
border-left: #333 2px solid !important;
border-right: #333 2px solid !important;
}
.filter-tab.selected {
border: #444 1px solid !important;
border-bottom: #333 1px solid !important;
}
.more-repos {
border-top: #333 1px solid !important;
}
/* branch selector button - uses borders to make select button */
.select-menu-button::before {
border-top-color: #eee !important;
}
/* code */
.linkable-line-number {
border-right: #555 1px solid !important;
}
/* ace (gist editor) */
.ace_cursor {
border-left-color: #ddd !important;
}
/* pulse commit graph */
line {
stroke: #555 !important;
}
/* === tooltip === */
.octotip {
background-color: #003 !important;
border-color: #006 !important;
}
.list-tip:before,.selector-item .mini-icon:before,.browser .mini-icon-arr-right,.selected .select-menu-checkmark,
.issue-list em {
color: #222 !important; /* tip pointer */
}
/* === Inputs === */
input,textarea,.commandbar .choice:hover, .commandbar .loading:hover {
-moz-appearance: none !important;
background: #111 !important;
border-color: #444 !important;
border-style: solid !important;
color: #ddd !important;
}
/* === #111 === */
pre,code,.wikistyle pre,.wikistyle pre code,#facebox pre,.plain pre,.commit-preview .message pre,
#wiki-wrapper pre,pre.prettyprint,pre.headers,pre.headers code,.discusion-topic-infobar,.pagination .disabled:hover,
.discusion-topic-infobar .milestone,.commit-group-heading,.list-browser-item.closed,body.windows #header,#footer .site,
.ace_gutter,.jumbotron,#adv_code_search .search-page-label,.highlight table {
background: #111 none !important;
font-size: 13px !important;
border-color: #555 !important;
}
/* === #181818 === */
/* needed background inbetween #111 and #222 :P */
.counter,.social-count,.gc .diff-line-code,.commitinfo,.list-group-item.navigation-focus {
background-color: #181818 !important;
border-color: #333 !important;
border-width: 1px !important;
}
.social-count:before {
border-right-color: #333 !important;
border-width: 5px !important;
margin-top: -4px !important;
}
.social-count:after,#new_hook .fields {
border-width: 0 !important;
}
.blob-line-nums,.diff-line-num {
background-color: #181818 !important;
color: rgba(128,128,128,0.3) !important;
}
.blob-line-nums a, .blob-line-nums span {
line-height: 18.2px !important;
}
/* === #222 === */
/* Darkest background color (#222), no image, with border & radius */
#browser,.repo-stats,.pagehead ul.tabs li a.selected,.subnav-bar,.repos,.options-content,.gist .meta,
.options-group,.browsered,.browsered .inner,.subnav-bar > ul > li > ul,.comment-form ul.tabs a.selected,
.issue.open.read .summary,.unselected_month,.commits th,#MathJax_Message,#header .userbox,.title-actions-bar .meta,
.user-commits,.user-commits th,.pagehead ul.actions,.metabox,.ranked-repositories > li,.gollum-minibutton,
#issues_search .comment,#header-wrapper,.fieldgroup .fields,ul.feature-tabs li.highlight,.pagination,.gist-meta,
.commit-group-heading,.commit-group,.pagehead-actions,.filterbar .filters li,.starting-comment .body,#readme,
#readme article,.chzn-single,.expandable h3 a:last-child,.commit_oneline,.list-tip,.new-comments .body,
.markdown-body tt,.autocomplete-results,span.gravatar,.subscription-row,svg,.blog-post .meta,
.conversation-list-heading .inner,.pulse-sections .meta,.list-group-item,.filterbox {
background: #222 none !important;
border-color: #444 !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
/* Darkest background (#222), leave image, no border */
.locales,.keyboard-shortcuts,li.contextswitch ul,.file,.add-bubble,#network .repo,.notification-settings,#wrapper,
#files > .description,.commit-group-item:nth-child(2n) .authorship,.recent-gists .meta,.native-download,
.native-download span, .fieldgroup .edit_hook .fields,.select-menu-filters,.mini-repo-list,.line-number {
background-color: #222 !important;
color: #eee !important;
border: 0 !important;
}
/* Darkest background (#222), leave image, with border */
#watchers li,.tree-browser .alt td,.line-data,.browser .listing,.item,.context-pane, .comment-content,div#common-issues ul,
.tip-body,.news .alert .body,.rule,.avatared img,.main h2,.issue.even,.listing.even,#assignee,.sidebar .module,
.sidebar-module > ul,.commit_oneline td,.commits td,.commits code,#footer,#footer .lower_footer,#footer-push,
.notifications th,#notification-center li.read,.markdown-body,.repo_list li,.tree-browser td,.ace_scroller,.capped-box,
#contributions-calendar,.issues-list li.js-navigation-item,a.selected,.box-body {
background-color: #222 !important;
color: #eee !important;
border-color: #555 !important;
}
/* Darkest background (#222), leave image, add border */
.image,.fieldgroup .fields,.commit-group-item:nth-child(2n) {
background-color: #222 !important;
color: #eee !important;
border: #555 1px solid !important;
}
/* === #333 === */
/* Panel background (#333), leave image, no border, with radius */
.pagehead ul.actions a.feed,.explore h2 .feed,#code_search_instructions h2,td.inst,.metabox-loader,.context-loader,
.browser-content,.comment,.wikistyle p,.filterbar ul.filters li,.pagehead ul.tabs li.contextswitch,ul.fieldpills li,
.pagehead ul.tabs li.contextswitch:hover,#new_message,.header,.bigbutton a,.fieldswrap,#gollum-editor,.menu,.pull-flag,
#issues_next ul.sorts li,ul.sorts li.asc,ul.sorts li.desc,.listings-layout .columns.main .content,#gist-form .name,
.filterbar li.selected,.accordion-container,#issues_next ul.filters li,.file-box,table.instruction tr:nth-child(2n),
.blankslate,.boxed-group,.boxed-group-inner,.previewable-comment-form,.bubble,.bubble-contents,.blog-feedback p,
div#common-issues h3,#commit-activity-master-head,#wiki-header > div,#wiki-footer > div,#wiki-rightbar,.capped-box h3,
.auth-form-body,.range-editor-form,.action-indicator,.branch-link,ul.suggestions,.divider .blob-line-code .highlight,
.branch-name,.pull-head,.pull-head .diffstat {
background-color: #333 !important;
border: 0 !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
color: #ddd;
}
/* Panel background (#333), leave image, with border, no radius */
.metabox .rule,.comment-form,#issues .labels,#gollum-editor select,.listings .odd,.feed,#files .description,#files .file,
#message .envelope .header .info .title.unread,li.contextswitch ul li.current,ul.main_nav li.selected a,
.watcher-widget,ul.states li,.add_file,.commit,.tree-browser,.line-comments,.inset,li.label,.filterbar,.divider-vertical,
#footer .upper_footer,.user-commits td,tr.inline-comments,.thread-subscription-status,.starting-comment .infobar,
#issues_next .infobar,.discussion-bubble-inner,.commit-group-item .authorship,.formbody,.commandbar .display,.none p,
.display div.choice,.display tr,div#common-issues ul li a:hover,#contributors h3,#contributors .cmeta,.select-menu-modal,
.select-menu-modal > div,.issues-list>ul>li.selectable:hover,.issues-list>ul>li.navigation-focus,.issues-list-actions,
pre div[style="background-color: rgb(255, 255, 204); "], /* <- space after "; " needed for Chrome */
pre div[style="background-color: rgb(255, 255, 204);"],.plans-pricing-callout {
background-color: #333 !important;
color: #eee !important;
border-color: #555 !important;
}
/* Panel background (#333), no image, no border */
.pagehead ul.tabs li a:hover,.repos .bottom-bar,#languages .popular,.color-label-list a.selected,table.upgrades td,
.commit-preview .message,.tip-box h4,.button-group,.wikistyle,.commit-preview p.error,.pagehead ul.tabs li.contextswitch,
#browser tr th,.status-box h4,.line_numbers.comment-count,.line_numbers,.date_selector,.date_selector table th,
#files span.icon,#issues_list .actions,.list-browser-footer,#repos .public,.inset-callout,#repo-message,
.summary-stats li a:hover {
background: #333 none !important;
color: #eee !important;
border: 0 !important;
}
/* Panel background (#333), no image, with border */
#files .file .meta,#files .file .data .line_numbers,.editbox,.editbox .body,.commentstyle,#issues .display,
#issues .display .admin,#issues .labels .list li,.issue .summary,.plain,#notification-center li:hover,
#ng canvas,.standard_form,#reply_body,#commit div,#commit td,#commit tr,#commit .envelope,.file-minibutton,
.gollum-minibutton a,#wiki-history table td,.tree-browser th,.context-pane .title,.flash,.issue,
.browser .listing:hover,#dashboard .repos,.date_selector .button,.selectable_day,.milestone,.file-box .icon,
.browser .meta,.sidebar-module > ul li,.sidebar-module .spacer,.list-module .list-body,.list-module a,.bootcamp-body,
.module .inner,.browser .listing.closed, .starting-comment,.chzn-drop,#issues_next .labels .label a,
.section-nav a:hover,.filter-bar,.starred-repo.navigation-focus,.box-header,.more-repos {
background: #333 none !important;
color: #eee !important;
border-color: #555 !important;
}
#issues_next > .browser_header ul.actions li.selected {
background: #333 !important;
margin-top: 3px !important;
padding: 5px 5px 2px 5px !important;
border-color: #333 !important;
-webkit-border-radius: 3px 3px 0 0 !important;
border-radius: 3px 3px 0 0 !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
/* Doesn't seem to work in Firefox */
#contributions-calendar rect[style="fill: rgb(238, 238, 238);"],#contributions-calendar rect[style="fill: #eeeeee;"],
.contrib-legend ul.legend li:first-child {
opacity: 0.1 !important;
}
/* === #444 === */
/* Light Panel background (#444), no image, no border, with radius */
ul.sidetabs li a:hover,.editbox h1,#issues .labels .admin,p.breadcrumb,
#issues .display .sortbar,.actor,.cmeta,#facebox,#facebox .content,#facebox .close,#issues_search .wrapper,
.featured-callout,.ranked-repositories .meta a,.range-editor h3,.range-editor .chooser,ul.nav.logged_out,.tip-box a.next,
#inbox .list .unread,#preview_bucket,.main .filterbar,.browser-content .footerbar,ul.smalltabs,.participation,
.snippet,.supportstaffer,.discussion-form,.chooser-box,.chooser-box h3,#forkqueue .instructions,.input,.ac_results,
.addon:hover,a.function-button,.selector-item.clear:hover,#issues_search .comment-body,
.sidebar-module,.sidebar-module > ul h3,ul.js-guides,.list-module h2,.sidebar-module > p,.documentation ul.nav,
.bootcamp-help h1,.browse-button,.context-title,.boxed-group > h3,.accordion,#contributors-master,
#contributors-master svg,.section a.section-head,.hidden-text-expander a,.flash-messages,.inset-callout h2 {
background: #444 none !important;
border: 0 !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
/* Light Panel background (#444), no image, with border, no radius */
.tabs,table th,#browser td,#issues_next li.selected,.selectable_day.selected,.avatarname img,.diffstat,div#common-issues,
#wiki-history .author img,.options-content h3,#issues-dashboard .actions,#readme .name,table.branches tr:hover td,
.list-tip a:hover,.boxed-group-list > li:hover,.display div.choice:nth-child(2n+1),.display tr:nth-child(2n+1),
.write-selected .write-tab,.preview-selected .preview-tab,#notification-center li.navigation-focus,.menu a:hover,
.menu-container,.select-menu-tabs a.selected,.meta,.list-browser-item.navigation-focus,.commit-meta {
background: #444 none !important;
border-color: #555 !important;
color: #eee !important;
}
/* Light Panel background (#444), leave image and border */
ul.bignav li a:hover,ul.smallnav li a:hover,.comments-wrapper,.rackspace,.filter-item:hover,
.subnav-bar > ul > li > ul > li > a:hover,ol.download-list li:nth-child(2n),#wiki-history table tr:nth-child(2n) td,
#files.commentable tr:hover td.line-comments,#files.commentable tr:hover td .gd.line-comments,
#files.commentable tr:hover td .gi.line-comments, #files.commentable tr:hover td .gc.line-comments,
.issue.active,.select-menu-button:after,.range-editor span.flag,.range-editor .range {
background-color: #444 !important;
}
/* === #555 === */
/* Highlight Panel background (#555), leave image, no border, with radius */
.paging,.button-pager,#integration-branch,.add-pill-form,#network .repo:hover,.selectable_day.hover,
.list-module a:hover,.js-guides a:hover,.section-nav .active a,#dashboard .filter-bar li a.filter_selected:after,
.hidden-text-expander a:hover,.switcher > span:after {
background: #555 !important;
border: 0 !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
/* === gradient === */
/* dark grey gradient */
kbd,.minibutton,a.feed,.button:not(img),button.classy,a.button.classy,.pagination a,.pagination .gap,.header,
.comment-header,.pagehead ul.tabs li a,.gobutton,.login_form input[type="submit"],.list-browser-filterbar,
.top-bar,div.news .pagination a,ul#bootcamp li a h4,.minibutton:disabled,.pull-info,.notification-indicator,
.drag-and-drop,#graph_data .tab.selected,#gists .context-menu-container,.zeroclipboard-button,.search-form button,
.recently-touched-branches,body#com #header,.white-nav .selected span,.select-menu-header,.clone-url-button a,
.filter-tab,#header-wrapper,#header-wrapper .nav,.cheatsheet h2,pre div:hover,.diff-table tr:hover pre,.commit-ref,
.blog-feedback-header,.pagination span,.file-diff-line:hover .diff-line-code,.js-selected-navigation-item {
background: #181818 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#333), to(#181818)) !important;
background-image: -webkit-linear-gradient(top, #333, #181818) !important;
background-image: -moz-linear-gradient(top, #333, #181818) !important;
background-image: -o-linear-gradient(top, #333, #181818) !important;
background-image: linear-gradient(to bottom, #333, #181818) !important;
border-color: #333 !important;
}
/* inverted dark grey gradient */
.progress-bar,.pagination .current,div.news .pagination a:hover,.minibutton:hover, button:hover,.gobutton:hover,
.clone-url-button.selected a,.asc .sort-type,.desc .sort-type,.mini-bar-graph,.minibutton.selected,
.issues-list>ul>li.unread,.js-selected-navigation-item:hover {
background: #181818 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#181818), to(#333)) !important;
background-image: -webkit-linear-gradient(top, #181818, #333) !important;
background-image: -moz-linear-gradient(top, #181818, #333) !important;
background-image: -o-linear-gradient(top, #181818, #333) !important;
background-image: linear-gradient(to bottom, #181818, #333) !important;
border-color: #333 !important;
}
/* === Text Color === */
/* White text */
ul.repo-stats li a:hover,.subnav li a:hover,.filters li.selected a,.filters li a:hover,.commandbar .choice .command,
.navigation-focus .mini-icon:before,.selector-item:hover .mini-icon:before,.selector-item.selected .mini-icon:before,
.btn-close-issue a.minibutton,.commit .mini-icon:before,.select-menu-item.selected>.mini-icon,
.css-truncate-target:hover,.code-list em {
color: #fff !important;
}
/* shade darker */
#contributions-calendar .contrib-details div .num {
color: #999 !important;
}
/* News (slightly darker text) */
.news blockquote,.url-box p strong,#languages a.bar,dl.form dt,.avatarexplain p strong,.lineoption p,
.fieldgroup p.explain.planusage,table.notifications th,.explore h2,.usagestats dl dt.numbers,
.featured-callout h2,.commit-preview p.name .date,.feature-overview strong,.download-list h4,
ol.repository-lang-stats-numbers li .lang {
color: #ccc !important;
}
/* content text */
#contributions-calendar .contrib-details div,.mini-icon-remove-close:hover {
color: #777 !important;
}
/* darkest text; Context pane highlight item */
.context-pane .selector-item:hover a,.mega-icon:before,.repo-label span,#notification-center li.unread a,
.mini-icon-public-repo:before,.mini-icon-pull-request,.mini-icon-remove-close,.mini-icon-link,.mega-octicon:before {
color: #444 !important;
}
.disabled,.disabled:hover {
color: #444 !important;
border-color: #444 !important;
}
/* placeholder */
::-webkit-input-placeholder {
color: #444 !important;
}
:-moz-placeholder {
color: #444 !important;
}
::-moz-placeholder {
color: #444 !important;
opacity: 1 !important;
}
:-ms-input-placeholder {
color: #444 !important;
}
/* === gold === */
/* Alerts and activity, remove background gradient */
.news .alert .title span,.metabox .editable-text:hover,#inbox .list .item .title span {
color: #8c8000 !important;
background-color: transparent !important;
border: 0 !important;
}
/* === blue === */
/* Blue text */
.site a,.profilecols ul.stats li a:hover strong,.plans-row .plan,.filters li.selected,#gollum-editor-submit,
.repo_list span.css-truncate-target,.commit .sha,.zeroclipboard-button {
color: #4183C4 !important;
}
a code {
color: #4183C4 !important;
text-decoration: underline;
}
/* blue links need to be white when background is blue */
.navigation-focus a {
color: #ddd !important;
}
/* Light Blue panel */
.minibutton:hover,.file-minibutton:hover,.add_file:hover,.gollum-minibutton:hover,.pagination a:hover,
.gollum-minibutton a:hover,#gollum-editor-submit:hover,.tip-box a.next:hover,.sidebar-module h3:hover a,
a.feed:hover, a.feed:hover span,.listings-layout .nav li a:hover,.search-form button:hover,
.url-box .zeroclipboard-is-hover,.select-menu-item.navigation-focus, .select-menu-item.navigation-focus.selected {
background-color: #4183C4 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)) !important;
background-image: -webkit-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: -moz-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: -o-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: linear-gradient(to bottom, #599bdc, #3072b3) !important;
color: #ddd !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}
.clone-url-button:hover a,table.upgrades tr:hover td,#notification-center li.unread {
background: #4183C4 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)) !important;
background-image: -webkit-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: -moz-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: -o-linear-gradient(top, #599bdc, #3072b3) !important;
background-image: linear-gradient(to bottom, #599bdc, #3072b3) !important;
color: #ddd !important;
}
.context-button:after {
border-color: #4183C4 transparent transparent !important;
}
.context-button:hover:after,.switcher > span:before {
border-color: #fff transparent transparent !important;
}
/* Dark Blue panel */
#posts #rss,.github-jobs-promotion p,.signup-button,.hero h1,.plan.personal,.caption,.centered-graphic,
.login_form h1,.auth-form-header,.merged-pulls,.state-indicator.merged,.state-merged,.merge-status-icon {
background: #003 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#005), to(#003)) !important;
background-image: -webkit-linear-gradient(top, #005, #003) !important;
background-image: -moz-linear-gradient(top, #005, #003) !important;
background-image: -o-linear-gradient(top, #005, #003) !important;
background-image: linear-gradient(to bottom, #005, #003) !important;
border-color: #006 !important;
}
/* === red === */
/* Red panel */
#forkqueue .legend .unclean,.unclean td,.chzn-results .no-results,.majorproblem .pageheader_wrap,
.btn-close-issue,button.classy[name="comment_and_close"],.error_box,.flash-error,#message.major,
.minibutton.danger:hover,.minibutton.danger:hover span,.comment-form-error,.mergeable.dirty,.closed-issues,.state-indicator.closed,
.discussion-topic .branch-status.status-error, .discussion-topic .branch-status.status-failure,.state-closed {
background: #300 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#500), to(#300)) !important;
background-image: -webkit-linear-gradient(top, #500, #300) !important;
background-image: -moz-linear-gradient(top, #500, #300) !important;
background-image: -o-linear-gradient(top, #500, #300) !important;
background-image: linear-gradient(to bottom, #500, #300) !important;
border-color: #333 !important;
color: #ccc !important;
}
.btn-close-issue:hover,button.classy[name="comment_and_close"]:hover {
background: #600 !important;
}
.minibutton.danger,.minibutton.danger span,.closed.mini-icon {
color: #bd2c00 !important;
}
/* === Yellow panel === */
.infotip,.form-actions .tip,.mini-callout,.snippet em,#network .repo span,#message .sent,.notification,.plan.free,
.ejector,#issues_search .results em,.bootcamp-help ul li,.page-notice,.feature-tabs .tab-button,.chzn-results li em,
#missing-readme,.callout,.btn-download,a.button.classy,.warning,.signed-out-comment,#message.minor,.contributing,.discussion-topic .branch-status.status-pending {
background: #440 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#440), to(#220)) !important;
background-image: -webkit-linear-gradient(top, #440, #220) !important;
background-image: -moz-linear-gradient(top, #440, #220) !important;
background-image: -o-linear-gradient(top, #440, #220) !important;
background-image: linear-gradient(to bottom, #440, #220) !important;
border-color: #440 !important;
color: #ddd !important;
}
/* === Green panel === */
#forkqueue .legend .clean,#revisions ul li.current,.excerpt,.selectable_day.today,.big-notice,.plan.business,.popout,
#statusbar,.clean,.clean td,.mergeable.clean,.octofication .message,#download_button,.status-box.good a,
button.classy.primary,.progress-bar .progress,#message.good,.status-success,.mergeable,.new-issues,.new-pulls,.state-open,
.state-indicator.proposed,.state-indicator.open,.state-indicator.reopened,.discussion-topic .branch-status.status-error, .discussion-topic .branch-status.status-failure {
background: #305530 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#373), to(#242)) !important;
background-image: -webkit-linear-gradient(top, #373, #242) !important;
background-image: -moz-linear-gradient(top, #373, #242) !important;
background-image: -o-linear-gradient(top, #373, #242) !important;
background-image: linear-gradient(to bottom, #373, #242) !important;
border-color: #080 !important;
}
a.new-repo {
background: #305530 !important;
border-color: #080 !important;
color: #ddd !important;
}
/* New additions */
.repo-owner-tag .tag,.gist-owner-tag .tag {
background: #070 !important;
color: #ddd !important;
}
/* Green hovered */
#download_button:hover,.noproblems .pageheader_wrap,a.new-repo:hover,button.classy.primary:hover {
background: #373 !important;
}
.open.mini-icon {
color: #6cc644 !important;
}
/* === silver panel/button === */
.kbd,.signup-button:hover,.hero .textographic,.hero .screenographic,.dashboard-notice,.repository-lang-stats,#readme span.name,.markdown-format .alert {
background: #404040 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#333)) !important;
background-image: -webkit-linear-gradient(top, #444, #333) !important;
background-image: -moz-linear-gradient(top, #444, #333) !important;
background-image: -o-linear-gradient(top, #444, #333) !important;
background-image: linear-gradient(to bottom, #444, #333) !important;
border-color: #606060 !important;
}
/* Red */
.dangerzone-module h4 {
color: #c00 !important;
}
/* Blue */
#forkqueue .instructions,.addon h4,#wiki-wrapper h1,#wiki-wrapper h2,
#wiki-wrapper h3,#wiki-wrapper h2 strong,#wiki-wrapper h3 strong,.wikistyle h1,.wikistyle h2 {
color: #5BA1CF !important;
}
/* === orange notification === */
#user-links .unread_count,.minorproblem .pageheader_wrap {
background: rgba(203, 108, 0, 0.8) !important;
}
/* orange border bottom */
.pagehead ul.tabs li a.selected,.pagehead > ul.tabs li a:hover,div.listing.navigation-focus,div.issues.navigation-focus,
.repo-filter:hover,.filter-selected {
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
border-bottom: #f80 2px solid !important;
}
.section-nav .active a,.menu a.selected {
border-left: #f80 2px solid !important;
}
/* ajax loading */
.pjax-loading {
background: rgba(64, 64, 64, 0.8) !important;
}
/* === Repository Network Tree === */
#network .repo img[alt="T"],#network .repo img[alt="I"], #network .repo img[alt="L"] {
width: 26px !important;
height: 0 !important;
padding-top: 22px !important;
}
#network .repo img[alt="T"] {
background: url(http://mottie.github.com/Github-Dark/images/t.png) no-repeat !important;
}
#network .repo img[alt="I"] {
background: url(http://mottie.github.com/Github-Dark/images/i.png) no-repeat !important;
}
#network .repo img[alt="L"] {
background: url(http://mottie.github.com/Github-Dark/images/l.png) no-repeat !important;
}
/* === Images === */
/* broadcast icon */
.octofication { position:relative !important; }
.octofication .message:before {
content: url("https://a248.e.akamai.net/assets.github.com/images/modules/dashboard/octofication.png") !important;
position: absolute !important;
top: 15% !important;
left: 0 !important;
}
.mini-icon-windows:before {
background-position: -18px 0 !important;
}
/* font icons */
#userbox a:hover, #userbox a:hover .mini-icon {
color: #4183C4 !important;
}
/* Repo canvas */
.participation-graph {
z-index: 0 !important;
}
ul.repolist h3,ul.repolist .description,ul.repolist .updated-at,ul.repolist .fork-flag {
position: relative;
z-index: 1 !important;
}
.participation-graph canvas {
background: #222 !important;
opacity: 0.1 !important;
}
/* Footer cat */
#footer #blacktocat {
background: url("http://mottie.github.com/Github-Dark/images/blacktocat.svg") no-repeat scroll 0 0 transparent !important;
}
.closed-banner {
background-image: url(http://mottie.github.com/Github-Dark/images/closed_pattern.gif) !important;
}
.search .minibutton span {
background-position: center -95px !important;
}
/* issue labels manager */
#issues_next .sidebar .labels-editable .label-target .delete a {
background-image: url(http://mottie.github.com/Github-Dark/images/delete.png) !important;
}
/* history expand buttons */
.commit .minibutton.expander-minibutton span {
background-position: 50% -45px !important;
}
.commit.open .minibutton.expander-minibutton span {
background-position: 50% -145px !important;
}
/* pull request avatar bubble */
.avatar-bubble:before,.discussion-bubble-content:before {
border-color: transparent #333 transparent transparent !important;
}
.mini-avatar-bubble {
background-image: url(http://mottie.github.com/Github-Dark/images/bubble-arrow-up.png) !important;
}
/* pull request avatar bubble */
#issues_search .comment {
background: url(http://mottie.github.com/Github-Dark/images/bubble-arrow.png) 2px 21px no-repeat !important;
}
/* Fix chrome line numbering */
#files .file .data pre,#files .file .line-data,#files .file .line-number,.file-box .data pre,.file-box .line-data,
.file-box .line-number {
line-height: 1.4em !important;
}
/* darkest border */
.pagination a,.pagination span.current,.pagination span.gap,.menu a {
border-color: #222 !important;
}
/* no border */
.multiple-avatars,.multiple-avatars:before,
/*new layout style*/
table.files {
border: 0 !important;
}
/* removed custom syntax highlighting
* Red #c00
* Blue #5BA1CF
* Green #5CE638
* Yellow #F6B26B
* light grey (#aaa; darker than default)
* dark grey (.gd) bkgd: #300; border: #600; color: #ccc
* Cyan #cc4
* Red (error) bkgd: #200; color: #A61717
*/
/* github specific - code diff with inline changes (.x) */
/* light grey - breaks in diff (with line numbers) */
.highlight .gc,.highlight .gc pre {
background: #333 !important;
border-color: #333 !important;
color: #888 !important;
}
/* git diff line additions (dark green) */
.highlight .gi,.highlight .gi pre,.gi .diff-line-code, .gi .diff-line-code pre {
background: #040 !important;
border-color: #080 !important;
color: #ddd !important;
}
/* git diff line numbers (med green) */
.gi .diff-line-num {
background: #020 !important;
border-color: #040 !important;
color: #ddd !important;
}
/* git diff inline additions (green) */
.highlight .gi .x {
background: #020 !important;
color: #ddd !important;
}
/* git diff line deletions (dark red) */
.highlight .gd,.highlight .gd pre,.gd .diff-line-code, .gd .diff-line-code pre {
background: #400 !important;
border-color: #600 !important;
color: #ccc !important;
}
/* git diff line deletions (med red) */
.gd .diff-line-num {
background: #300 !important;
border-color: #500 !important;
color: #ccc !important;
}
/* git diff inline deletions (red) */
.highlight .gd .x {
background: #200 !important;
color: #ddd !important;
}
/* Added compressed version (http://www.cleancss.com/) of pygments-native-mod.css for syntax highlighting */
.highlight .hll { background-color:#404040 !important; }
.highlight { background-color:#202020 !important; color:#d0d0d0 !important; }
.highlight .err { color:#a61717 !important; background-color:#200 !important; }
.highlight .o { color:#777 !important; }
.highlight .p { color:#E9B96E !important; }
.highlight .cs { color:#e50808; background-color:#520000 !important; }
.highlight .gi { color:#589819 !important; }
.highlight .gp { color:#aaa !important; }
.highlight .nf { color:#098 !important; }
.highlight .w { color:#666 !important; }
.highlight .c,.highlight .cm,.highlight .c1 { color:#3677a9 !important; }
.highlight .g,.highlight .l,.highlight .x,.highlight .ge,.highlight .gs,.highlight .ld,.highlight .ni,.highlight .nl,
.highlight .nx,.highlight .py { color:#d0d0d0 !important; }
.highlight .k,.highlight .n,.highlight .go { color:#ccc !important; }
.highlight .cp,.highlight .s,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .s2,.highlight .se,.highlight .sh,
.highlight .si,.highlight .s1,.highlight .ss { color:#D2691E !important; }
.highlight .gd,.highlight .gr,.highlight .gt { color:#d22323 !important; }
.highlight .gh,.highlight .gu { color:#fff !important; }
.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kt,.highlight .nt,
.highlight .ow { color:#6ab825 !important; }
.highlight .m,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,.highlight .sr,
.highlight .il { color:#cd2828 !important; }
.highlight .na,.highlight .ne { color:#bbb !important; }
.highlight .nb,.highlight .bp { color:#24909d !important; }
.highlight .nc,.highlight .nn { color:#447fcf !important; }
.highlight .no,.highlight .nv,.highlight .vc,.highlight .vg,.highlight .vi { color:#4ca !important; }
.highlight .nd,.highlight .sx { color:orange !important; }
hr {
background-size: 10px 4px !important;
background-image: -moz-linear-gradient(-45deg, transparent 20%, #111111 50%, transparent 80%) !important;
background-image: -webkit-gradient(linear, left top, right bottom, color-stop(20%,transparent), color-stop(50%,#111111), color-stop(80%,transparent)) !important;
background-image: webkit-linear-gradient(-45deg, transparent 20%,#111111 50%,transparent 80%) !important;
background-image: -o-linear-gradient(-45deg, transparent 20%,#111111 50%,transparent 80%) !important;
background-image: linear-gradient(135deg, transparent 20%,#111111 50%,transparent 80%) !important;
}
/*just needs to be somewhere after mega-octicon:before*/
.octicon-person-team::before {
color: #222 !important;
}
.repo-menu .js-selected-navigation-item.selected span,.repo-menu .js-selected-navigation-item.selected span::before,
#network .explain b {
color: #d26911;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment