aboutsummaryrefslogtreecommitdiff
path: root/public/css/override.css
blob: 7377123e9822e9db62e903c227236e6b3af56fc5 (plain)
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
36
37
38
39
40
41
42
43
44
45
/*
 * Hide specific octicons 
 */
.octicon-code, .octicon-issue-opened, .octicon-git-pull-request,
.octicon-tag, .octicon-book, .octicon-pulse, .octicon-tools,
.octicon-sign-in, .item .octicon-repo, .item .octicon-person, 
.octicon-git-branch, .item .octicon-organization, .mega-octicon, .repo-buttons i { display: none !important; }

/* 
 * Override font stack
 */
*:not(i):not(.octicon):not(.mono):not(pre):not(code):not(span):not(li) { font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,
 Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important; }

/*
 * Override repo header names font weight
 */
.ui.list .list>.item .header, .ui.list>.item .header { font-weight: 400 !important }

/* 
 * Override explore repos header names font weight
 */
.ui.secondary.pointing.menu .active.item { font-weight: 400 !important }

/*
 * Repository page override
 */
.repository .repo-header .fork-flag { display: inline-block; margin-left: 0.5rem; background-color: #e6eff7; border-radius: 0.5rem; padding: 0.5rem 1rem; }
.ui.breadcrumb .divider { margin: 0 } 
.repository .navbar .ui.label { padding: 0.25rem 0.75rem; border-radius: 1rem; }
.repository.file.list #repo-desc, .repo-description { font-size: 1rem !important; margin: 0.75rem 0; }

.repository .item { border-top: 3px solid transparent; }
.repository a.item { padding: 0.5rem 1.5rem !important; }
.ui.tabular.menu .active.item { border-top-width: 2px; font-weight: 400; }

.non-diff-file-content .unstackable, .ui.attached.header { border: none !important; }

.ui.repo-description { display: none !important; }
.ui.repo-description-custom { display: block !important; }
.ui.segment.sub-menu { display: none; }
.ui.table { border: unset; }

.button, .ui.basic.button, .ui.basic.buttons .button, .ui .sha.label { background: linear-gradient(-180deg, #fafbfc, #eff3f6 90%) !important; color: #444 !important; }