aboutsummaryrefslogtreecommitdiff
path: root/public/css/override.css
blob: ee9a6f24e3983388de824a78927c124efaae358e (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*
 * 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) { .dashboard-navbar, .ui.container { width: 1088px !important; margin-left: auto; margin-right: auto; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) { .dashboard-navbar, .ui.container{ width: 933px !important; margin-left: auto; margin-right: auto; } }
@media only screen and (max-width: 991px) and (min-width: 768px) { .dashboard-navbar, .ui.container { width: 95% !important; margin-left: auto; margin-right: auto; } }


/*
 * Hide specific octicons
 */
.octicon-tools,
.octicon-sign-in, .item .octicon-repo, .item .octicon-person,
.item .octicon-organization, .mega-octicon, .ui.basic.small.compact.button .octicon-git-branch { display: none !important; }


/*
 * Button overrides
 */
.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;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
}
.ui.labeled.button, .ui.basic.buttons { border: 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; background-color: #f2f2f2 !important; }
#user-heatmap { display: block; }


/*
 * Repository page override
 */
.repo-topic, .repository .repo-header .fork-flag {
  display: inline-block;
  margin-left: 0.5rem;
  background-color: #e8e9eb !important;
  border-radius: 0.5rem !important;
  padding: 0 0.5rem;
}
.repo-title a:nth-child(4) { font-weight: 700; }
.repo-header .repo-title, .repo-header .repo-buttons { margin-top: 0.5rem !important; }

.repository .header-wrapper { background-color: #fafbfc; }
.repository .navbar .ui.label { padding: 0.25rem 0.75rem; border-radius: 1rem; background-color: #e8e9eb; color: #555; 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; }
.repository.commits .five.wide.column { display: flex; align-self: center; }
.repository.commits .eleven.wide.right.aligned.column form { display: flex; align-items: center; justify-content: flex-end; }

.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 { font-weight: 400; }
.ui.attached.header { background: #f9fafb; }
.ui.attached.header .right { margin-top: 0; }
.ui.compact.button, .ui.compact.buttons .button { padding: 0.5rem 1rem; font-weight: 700; }
.ui.table > tbody > tr > td, .ui.table > tr > td { padding: 8px; }

.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; }
.ui.tabs.container { overflow-x: auto; overflow-y: hidden; }
.ui.tabular.menu .item:hover { color: #0366d6; }

.user.profile .ui.stackable.grid .eleven { width: 100% !important; }
.user.profile .ui.stackable.grid .five { display: none; }

.repository.file.list #repo-files-table a:hover { text-decoration: underline; }
.repository.file.list #repo-files-table tr:hover, .ui.basic.table tbody tr:hover,
.repository #commits-table.ui.basic.striped.table tbody tr:hover:nth-child(2n) { background-color: #ffffe3 !important; }
.repository #commits-table td.author a:hover { text-decoration: underline; color: #0366d6; }
#repo-files-table .message a:hover, #repo-files-table .name a:hover,
#repo-clone-https, #clone-panel #clipboard-btn { border-right-width: 0 !important; }


/*
 * 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; }
.explore .navbar { background-color: transparent !important; margin-bottom: 0 !important; }


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


/*
 * User Profile
 */
.user.profile .ui.secondary.stackable.pointing.menu { justify-content: center; }
.user.profile .ui.secondary.stackable.pointing.menu i { display: none; }


/*
 * Navigation Bar
 */
#navbar > .item:first-child { margin-left: -1.5rem !important; }
#navbar .right > .item:last-child { margin-right: -1.125rem !important; }