This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
github-vertical-repo-lang-stats-graph.user.css
65 lines (63 loc) · 2.17 KB
/
github-vertical-repo-lang-stats-graph.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
/* ==UserStyle==
@name GitHub vertical repository-language-statistics graph
@version 1.6.0
@description vertical repo-language-stats graph with percentages for GitHub
@namespace github.com/wis
@author Wis <https://wis.am>
@homepageURL https://github.com/wis/GitHub-vertical-repo-language-stats-graph
@supportURL https://github.com/wis/GitHub-vertical-repo-language-stats-graph/issues
@updateURL https://raw.githubusercontent.com/wis/GitHub-vertical-repo-language-stats-graph/master/github-vertical-repo-lang-stats-graph.user.css
@license CC-BY-SA-4.0
==/UserStyle== */
@-moz-document domain("github.com") {
.repository-lang-stats-graph .language-color {
overflow: visible;
text-indent: 9999px;
position: relative;
min-width: 10px;
}
.repository-lang-stats-graph .language-color:before {
content: attr(aria-label);
text-indent: 0;
float: right;
font-size: 9px;
line-height: 10px;
font-weight: bold;
text-shadow: 0.5px 0.5px white;
overflow: visible;
transform: rotate(90deg);
white-space: nowrap;
position: absolute;
top: -90px;
left: 0;
right: 0;
}
.repository-lang-stats-graph {
transform: rotate(270deg) translateX(-100%) translateX(53px);
transform-origin: bottom left;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: unset;
border-bottom-right-radius: unset;
overflow: visible;
border-top: 1px solid #ddd;
margin-left: -13px;
width: 110%;
}
.repository-lang-stats-graph .language-color:last-child {
border-bottom-right-radius: unset;
border-top-right-radius: 2px;
}
.repository-lang-stats-graph .language-color:first-child {
border-bottom-left-radius: unset;
border-top-left-radius: 2px;
}
.overall-summary-bottomless {
border-bottom: 1px solid #dfe2e5;
border-radius: 3px 3px 3px 3px;
margin-bottom: unset;
}
.repository-lang-stats-graph .language-color:nth-child(1):before {
right: -90%;
}
}