-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmain.css
177 lines (166 loc) · 3.04 KB
/
main.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/**
* DEep WiKi INspector (DEWKIN)
* Copyright (C) 2013-2017 Ricordisamoa
*
* https://meta.wikimedia.org/wiki/User:Ricordisamoa
* https://tools.wmflabs.org/ricordisamoa/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
body {
padding: 1em;
}
.github-fork-ribbon:before {
background-color: #f80;
}
/* Acronym */
h1 {
font-weight: bold;
transition: all .5s;
}
.jumbotron h1 span {
display: none;
}
h1 span span {
color: gray;
}
h1 abbr,
.jumbotron h1:hover abbr {
display: none;
}
.jumbotron h1 abbr {
display: inline;
border-bottom: 4px dotted #777;
text-decoration: none;
}
h1:hover span {
display: inline;
}
/* 'feedback' link */
.jumbotron h1 sub {
display: none;
}
h1 sub {
font-size: 50%;
}
#form .form-control {
width: auto;
display: inline;
}
#form label {
font-weight: normal;
display: block;
}
/* Diff-links styles */
.mw-plusminus-pos {
color: #006400;
}
.mw-plusminus-neg {
color: #8b0000;
}
.mw-plusminus-null {
color: #aaa;
}
.container.before-tabs + .nav-tabs {
display: none;
}
footer {
float: left;
position: static;
bottom: 1em;
display: none;
}
/* Generic chart styles */
svg .arc path {
stroke: #fff;
stroke-width: 1px;
}
svg .arc path.selected {
stroke-width: 3px;
}
.legend text {
font-family: sans-serif;
font-size: 12px;
}
.axis path,
.axis line {
fill: none;
stroke: #eee;
}
.axis.noticks path,
.axis.noticks line {
display: none;
}
.axis path,
.axis line,
svg .bar {
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 12px;
fill: #333;
}
.y-axis text {
fill: #555;
}
/* Punchcard styles */
#punchcard-chart circle {
fill: #444;
}
#punchcard-chart circle:hover {
fill: #4183C4;
}
/* GitHub-like tooltips with d3 */
.svg-tip {
padding: 10px;
background: rgba(0,0,0,0.8);
color: #bbb;
font-family: sans-serif;
font-size: 12px;
line-height: normal;
position: absolute;
z-index: 99999;
text-align: center;
border-radius: 3px;
}
.svg-tip.svg-tip-small {
padding-top: 4px;
padding-bottom: 4px;
}
.svg-tip strong {
color: #ddd;
}
.svg-tip:after {
-moz-box-sizing: border-box;
box-sizing: border-box;
position: absolute;
left: 50%;
height: 5px;
width: 5px;
bottom: -10px;
margin: 0 0 0 -5px;
content: " ";
border: 5px solid transparent;
border-top-color: rgba(0, 0, 0, 0.8);
}
/* Style eastward tooltips differently */
.svg-tip.e:after {
left: -10px;
top: 50%;
margin: -5px 0 0 5px;
border-left: none;
border-right-color: rgba(0, 0, 0, 0.8);
border-top-color: transparent;
}