aboutsummaryrefslogtreecommitdiff
path: root/public/css/override.css
blob: 995d67261ef1235634f52bb1a8eebd33184b2eb5 (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
/*
 * 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; }


/*
 * 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: #e8e9eb !important;
  border-radius: 0.5rem !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: #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; }

.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; }

.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;
}

.user.profile .ui.stackable.grid .eleven { width: 100% !important; }
.user.profile .ui.stackable.grid .five { display: none; }
#repo-clone-https, #clone-panel #clipboard-btn { border-right-width: 0 !important; }

.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; }
#repo-files-table .message a:hover, #repo-files-table .name a:hover,
.repository #commits-table td.author a:hover { text-decoration: underline; color: #0366d6; }


/*
 * 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.repositories a.item { text-decoration: underline; }

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


/*
 * User Profile
 */
.user.profile .ui.secondary.stackable.pointing.menu { justify-content: center; }
.user.profile .ui.secondary.stackable.pointing.menu a { text-decoration: underline; }
.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; }