aboutsummaryrefslogtreecommitdiff
path: root/www/package-version-details-body.css
blob: 8a4e0a121dac59968c7e8d07030d408e89f24882 (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
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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
#heading
{
  display: table;
  table-layout: fixed;
  width: 100%;
  border: none;
}

/* Since it is a link to itself, it will always be visited. */
#heading a:visited {color: #006fbf;}
#heading a:hover, h1 a:active {color: #0087e7; text-decoration: none;}

h1
{
  font-family: monospace;
  font-weight: normal;
  font-size: 2.074em;
  line-height: 1.4em;
  color: #444;

  margin: .6em 0 .6em 0;

  display: table-cell;
  text-align: left;
}

#heading > a
{
  font-size: 1.32em;
  line-height: 1.4em;

  display: table-cell;
  text-align: right;
  width: 3.2em;
  vertical-align: middle;
}

h1 a:first-child {margin-right: .14em;}
h1 a:last-child {margin-left: .14em;}

h2
{
  font-style: italic;
  font-weight: normal;
  font-size: 1.32em;
  line-height: 1.4em;

  margin: .4em 0 .4em 0;
}

h3
{
  font-family: monospace;
  font-weight: normal;
  font-size: 1.26em;
  line-height: 1.4em;

  margin: 1.8em 0 0 0;
}

h1, h2, h3
{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Re-styling for full page variant. */

.full h2
{
  white-space: normal;
}

/*
 * Description (plain text).
 *
 * This is a <pre> block that fits lines up to 80 characters long and
 * wraps longer ones.
 */
#description.plain pre
{
  font-size: 0.85em;
}

/*
 * Description (Markdown).
 *
 * These are descendants of the <div> block containing the result of
 * Markdown-to-HTML translation.
 *
 * Note that the Markdown code blocks are translated into the
 * <pre><code>...<code/></pre> element construct.
 */
#description.markdown h1,
#description.markdown h2
{
  white-space: normal;
}

/* code-box.css */
#description.markdown :not(pre) > code
{
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.2em;
  padding: .2em .32em .18em .32em;
}

/* pre-box.css */
#description.markdown pre
{
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.2em;
  padding: .8em .4em .8em .4em;
  margin: 2em -.4em 2em -.4em; /* Use paddings of #content. */
}

#description.markdown pre > code
{
  font-size: inherit;
}

#description.markdown .error {color: #ff0000;}

/*
 * Version details table.
 */
#version
{
  margin-top: 1.1em;
  margin-bottom: 1em;

  padding-top: .4em;
  padding-bottom: .4em;

  background-color: rgba(0, 0, 0, 0.07);  /* Emphasize. */

  /*
  background: #eee;
  border-radius: 6px;
  border: 1px outset rgba(230,230,230,.24);
  */
}
#version th {width: 9.5em;}

#version tr.version td .value,
#version tr.priority td .value,
#version tr.repository td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

#version tr.priority td .security {color: #ff0000; font-weight: bold;}
#version tr.priority td .high     {color: #ff0000;}
#version tr.priority td .medium   {color: #fe7c04;}

#version tr.sha256 td .value
{
  /* Increase the chances of 64-char value not to be truncated. */
  font-size: 0.85em;
}

/*
 * Package details table.
 */
#package
{
  margin-top: 1.2em;
  margin-bottom: 1em;
}
#package th {width: 9.5em;}

#package tr.topics td a,
#package tr.project td a
{
  display: inline-block;

  background-color: #f1f8ff;
  border-radius: 0.2em;
  padding: 0 .5em .06em .5em;
  margin: 0 0.35em 0.1em 0;
}

#package tr.topics td a:visited,
#package tr.project td a:visited
{
  color: #3870c0;
}

#package tr.topics td a:hover,
#package tr.project td a:hover
{
  text-decoration: none;
  background-color: #def;
}

#package tr.topics td,
#package tr.project td
{
  padding: 0;
  margin: 0 0 0 -0.5em;
}

/*
 * Dependencies and requirements tables.
 */
#depends {margin-top: .4em; margin-bottom: 1em;}
#depends th {width: 2.8em; text-align: center;}
#depends th:after{content: "";}

/* Striping. For some reason (related to flexbox), this works exactly as
   we want, that is, the background extends all the way to the browser's
   right frame. */
#depends tr:nth-child(even) td {background-color: rgba(0, 0, 0, 0.07);}
#depends td {padding-left: .4em;}
#depends td .comment {padding-right: .4em;}

/*
#depends td .value {padding-left: .4em;}
#depends td .comment {padding-right: .4em;}
*/

#depends tr.depends td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

#requires {margin-top: .4em; margin-bottom: 1em;}
#requires th {width: 2.8em; text-align: center;}
#requires th:after{content: "";}

#requires tr:nth-child(even) td {background-color: rgba(0, 0, 0, 0.07);}
#requires td {padding-left: .4em;}
#requires td .comment {padding-right: .4em;}

#requires tr.requires td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

#tests {margin-top: .4em; margin-bottom: 1em;}

#tests tr:nth-child(even) td {background-color: rgba(0, 0, 0, 0.07);}
#tests td {margin-left: 2.8em; padding-left: .4em;}

#tests tr.tests td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

#examples {margin-top: .4em; margin-bottom: 1em;}

#examples tr:nth-child(even) td {background-color: rgba(0, 0, 0, 0.07);}
#examples td {margin-left: 2.8em; padding-left: .4em;}

#examples tr.examples td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

#benchmarks {margin-top: .4em; margin-bottom: 1em;}

#benchmarks tr:nth-child(even) td {background-color: rgba(0, 0, 0, 0.07);}
#benchmarks td {margin-left: 2.8em; padding-left: .4em;}

#benchmarks tr.benchmarks td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

/*
 * Builds.
 */
#builds {margin-bottom: 1em;}

.build
{
  margin-top: .4em;
  margin-bottom: .4em;

  padding-top: .4em;
  padding-bottom: .4em;
}
.build:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);}

.build th
{
  width: 7.0em;
}

.build tr.toolchain td .value,
.build tr.config td .value,
.build tr.timestamp td .value,
.build tr.login td .value,
.build tr.result td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

.build .pending  {color: #d1943c;}
.build .building {color: #d1943c;}
.build .success  {color: #00bb00;}
.build .warning  {color: #fe7c04;}
.build .error    {color: #ff0000;}
.build .abort    {color: #ff0000;}
.build .abnormal {color: #ff0000;}

/*
 * Changes.
 *
 * This is a <pre> block that fits lines up to 80 characters long and
 * wraps longer ones.
 */
#changes
{
  font-size: 0.85em;
  margin: .5em 0 .5em 0;
}