-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGithub_UI_Revert_June2020.user.css
89 lines (75 loc) · 2.29 KB
/
Github_UI_Revert_June2020.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
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
/* ==UserStyle==
@name Github UI Revert June 2020
@version 1.1.3
@description Revert the June 2020 Github UI mishap
@namespace t-e-r-m
@author t-e-r-m
@homepageURL https://github.com/t-e-r-m/Github-UI-Revert
@supportURL https://github.com/t-e-r-m/Github-UI-Revert/issues
@updateURL https://github.com/t-e-r-m/Github-UI-Revert/raw/master/Github_UI_Revert_June2020.user.css
@license MIT
@var color bordercolor "Border color" #999999
@var range dirblockwidth "Directory block width" [90, 20, 150, 2, "%"]
==/UserStyle== */
@-moz-document domain("github.com"){
:root {
--width: 1200px;
}
/* ************Border************ */
* {
border-radius: 0 !important;
border-color: var(--bordercolor) !important;
}
/* ************Header************ */
body:not(.project-full-screen), .is-stuck {
padding-top: 45px !important;
}
.Header {
padding-left: calc(50% - (var(--width) / 2)) !important;
padding-right: calc(50% - (var(--width) / 2)) !important;
height: 40px;
}
/* ************Width************ */
/* For diff pages and the like */
.container-xl {
max-width: var(--width) !important;
}
/* For the repo name and code/issue.. bar */
.mb-5.hide-full-screen.pt-3.bg-gray-light {
padding-left: calc(50% - (var(--width) / 2));
padding-right: calc(50% - (var(--width) / 2));
margin-bottom: 16px !important;
padding-top: 5px !important;
}
.UnderlineNav-item {
padding: 0px 12px 3px 6px;
border-color: var(--bordercolor) !important;
border-bottom: 0px;
}
/* Status bar above directory block */
.Box-header {
padding-top: 7px;
padding-bottom: 7px;
}
/* Directory block */
.col-md-9 {
/* width: calc(vmax - (var(--width) / 2)); */
width: var(--dirblockwidth);
}
/* README block */
.Box-body {
padding: 15px !important;
}
/* ************Buttons************ */
.btn {
padding: 3px 7px;
}
/* Leftbar / Directory block spacing */
.gutter-lg > [class*="col-"] {
padding-right: 0px !important;
}
.BorderGrid--spacious .BorderGrid-cell {
padding-top: 24px;
padding-bottom: 6px;
}
}