-
Notifications
You must be signed in to change notification settings - Fork 121
/
main.css
229 lines (228 loc) · 4.09 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
/* General */
body {
font-family: Roboto, 'Helvetica Neue', 'Helvetica', sans-serif;
margin: 0;
padding: 0;
text-align: center;
}
h1 {
font-size: 2.5em;
font-weight: 300;
margin: 0 0 1.5em 0;
}
h2 {
font-size: 2em;
font-weight: 300;
margin: 0 0 1.5em 0;
}
a {
color: rgb(29, 176, 238);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
pre {
background-color: #fafafa;
border-radius: 7px;
border: solid 1px #d3d3d3;
font-family: Menlo, Consolas, monospace;
line-height: 1.5em;
max-width: 50em;
overflow: auto;
padding: 1em;
text-align: left;
}
pre.code .operator, pre.code .keyword {
color: #017c9d;
}
pre.code .string {
color: #15b8ae;
}
/* Header */
.header {
background-color: rgb(27, 64, 118);
color: #fff;
margin: 0 0 5em 0;
padding: 1em;
text-align: left;
}
.header h1 {
display: inline-block;
font-size: 2em;
line-height: 2em;
margin: 0;
}
.header-buttons {
float: right;
}
/* Buttons */
.button {
color: #fff;
display: inline-block;
padding: 1em;
text-decoration: none;
transition: background-color .1s ease;
}
.button:hover {
background-color: rgb(29, 176, 238);
text-decoration: none;
}
.button-icon {
display: inline-block;
fill: #fff;
height: 2em;
vertical-align: middle;
width: 2em;
}
.button-label {
margin-left: .5em;
vertical-align: middle;
width: 10em;
}
/* Install Instructions */
#gradle-option {
border-color: rgb(132, 183, 43);
}
#maven-option {
border-color: rgb(253, 105, 34);
}
#jar-option {
border-color: rgb(90, 131, 158);
}
#install-container {
background-color: #fafafa;
border: solid 1px #d3d3d3;
border-radius: 7px;
font-size: 1.2em;
margin: 2em auto 4em auto;
overflow: auto;
padding: 1em;
position: relative;
transition: height .2s ease .2s, max-width .2s ease .2s;
}
#install-container pre {
border: none;
border-radius: 0;
margin: 0;
padding: 0;
}
.install-option {
border-bottom: solid 3px;
cursor: pointer;
display: inline-block;
font-size: 1.5em;
font-weight: 300;
margin: 0 2px 0 2px;
padding: 0 1em .2em 1em;
transition: opacity .1s ease;
vertical-align: middle;
width: 3.5em;
}
.one-line {
height: 1.5em;
max-width: 25em;
}
.multiline {
height: 7.5em;
max-width: 30em;
}
.multiline-long {
height: 7.5em;
max-width: 45em;
}
.install-instructions {
position: absolute;
transition: opacity .2s ease .4s;
}
/* Sections */
.section {
border-color: #ddd;
border-style: solid;
border-width: 1px 0 0 0;
padding: 2em 0 0 0;
}
.section p {
font-size: 1.2em;
font-weight: 300;
margin: 0 auto 2em auto;
max-width: 40em;
}
.section div {
margin: 0 auto 2em auto;
max-width: 50em;
}
.section pre {
margin: 0 auto 2.4em auto;
}
.doc-link {
color: rgb(27, 64, 118);
display: inline-block;
fill: rgb(27, 64, 118);
margin: 1em;
text-decoration: none;
transition: fill .1s, color .1s ease;
width: 7em;
}
.doc-link:hover {
color: rgb(29, 176, 238);
fill: rgb(29, 176, 238);
text-decoration: none;
}
.doc-link .icon {
display: block;
height: 4em;
margin: 1em auto 1em auto;
width: 4em;
}
/* Animation */
.inactive {
opacity: .4;
}
.inactive:hover {
opacity: .6;
}
.hidden {
opacity: 0;
transition: opacity .2s ease;
}
.removed {
display: none;
}
@media (max-width: 650px) {
.button-label {
display: none;
}
.icon {
height: 2.5em;
margin: .5em auto .5em auto;
width: 2.5em;
}
.doc {
margin: .5em;
}
}
@media (max-width: 420px) {
pre {
border-radius: 0;
border: none;
}
.header {
margin: 0 0 2em 0;
}
#install-container {
border-radius: 0;
border: none;
font-size: 1em;
}
#download-button {
display: none;
}
#install-container {
margin: 2em auto 2em auto;
}
.install-option {
font-size: 1.2em;
width: 3em;
}
}