aboutsummaryrefslogtreecommitdiff
path: root/public/css/override.css
blob: d0e75ed1b8ccb8b7801dca420a75c04fe0a74f7d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*
 * Reset
 */
body { overflow-y: scroll; }
a, .ui.breadcrumb a { color: #0366d6; }
#repo-files-table .message a, .repository.file.list #repo-files-table .jumpable-path { color: #4e555e; }

@media only screen and (min-width: 1200px) { .ui.container { width: 1024px; } }

/*
 * 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
 */
.repo-topic, .repository .repo-header .fork-flag {
  display: inline-block;
  margin-left: 0.5rem;
  background-color: #e6eff7 !important;
  border-radius: 2rem !important;
  padding: 0.5rem 1rem;
}
.repo-name { font-weight: 700; }
.repository .header-wrapper { background-color: #fafbfc; }

.repository .navbar .ui.label { padding: 0.25rem 0.75rem; border-radius: 1rem; background-color: #dedede; color: #444; font-weight: 700; }
.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; }
.repository .ui.tabs.divider { margin-top: -1px; }

.ui.label { color: #145180; font-weight: 400; font-size: 0.9rem !important; }
.ui.breadcrumb .divider { font-weight: 700; color: #000; }
.ui.table td { padding: 0.57145rem; }
.ui.tabular.menu .item { color: #444; }
.ui.tabular.menu .active.item { border-top-width: 2px; font-weight: 400; }
.ui.attached.header { background: #f9fafb; }

.repo-title .divider { margin: 0; }
.repo-topics, .ui.repo-description { display: none !important; }
.repo-topics-custom, .ui.repo-description-custom { display: block !important; }

.ui.segment.sub-menu { display: none; }
.ui.secondary.pointing.menu { border-bottom: none; }

.button, .ui.basic.button, .ui.basic.buttons .button, .ui .sha.label,
.ui.basic.blue.button, .ui.basic.blue.buttons {
  background: linear-gradient(-180deg, #fafbfc, #eff3f6 90%) !important;
  color: #444 !important;
  box-shadow: unset !important;
  border: 1px solid #ccc !important;
}

.ui.card { display: none; }
.user.profile .ui.stackable.grid .eleven { width: 100% !important; }
#repo-clone-https, #clone-panel #clipboard-btn { border-right-width: 0 !important; }
.ui.tabs.container { overflow-x: auto; overflow-y: hidden; }

/*
 * Explore Page
 */
.ui.menu.new-menu, .admin .new-menu, .explore .navbar { padding: 0.75rem 0 !important; }
.ui.secondary.pointing.menu .item { border: none !important; }
.ui.menu.new-menu { background-color: transparent !important; }

/*
 * Pagination
 */
.pagination { border: none !important; }