-
Notifications
You must be signed in to change notification settings - Fork 7
/
github-dark-element-borders.user.css
35 lines (31 loc) · 1.28 KB
/
github-dark-element-borders.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* ==UserStyle==
@name GitHub Dark Border Elements
@namespace StylishThemes
@version 2.0.12
@description GitHub Dark opinionated borders removal on various elements
@author StylishThemes and contributors
@homepageURL https://github.com/StylishThemes/Feature-Override-Styles/
@supportURL https://github.com/StylishThemes/Feature-Override-Styles/issues/new/choose
@updateURL https://raw.githubusercontent.com/StylishThemes/Feature-Override-Styles/master/github-dark-element-borders.user.css
@license MIT
@var checkbox enableBorders "Enable borders" 1
@preprocessor stylus
==/UserStyle== */
@-moz-document regexp("^https?://((gist|guides|help|lab|launch-editor|raw|resources|status|developer)\\.)?github\\.com/((?!generated_pages/preview).)*$"),
domain("githubusercontent.com"), domain("graphql-explorer.githubapp.com"),
domain("www.githubstatus.com") {
/* hack to show style in popup when checkbox is disabled */
stylus-fix { content: "true"; }
/* stylelint-disable */
i = !important
/* stylelint-enable */
if ( enableBorders == 0 ) {
html body .markdown-body code,
html body .merge-pr-more-commits,
html body .commit-ref,
html body .commit-link tt,
html body .markdown-body pre {
border: 0 i;
}
}
}