-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathtorchx.css
52 lines (48 loc) · 1.2 KB
/
torchx.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
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
/* fixes the python3 type annotation rendering */
article.pytorch-article .py dt a[title] {
position: initial;
}
article.pytorch-article .py dt span.pre {
padding: 0;
}
#torchx-google-colab-link, #torchx-download-notebook-link,
#torchx-github-view-link {
padding-bottom: 10px;
border-bottom: 1px solid #f3f4f7;
padding-right: 40px;
display: flex;
align-items: center;
}
#torchx-google-colab-link:hover, #torchx-download-notebook-link:hover,
#torchx-github-view-link:hover {
border-bottom-color: #e44c2c;
color: #e44c2c;
}
.output_area.stderr.docutils.container::before {
content: "stderr";
font-weight: bold;
opacity: 0.8;
margin: 0 5px;
}
.output_area.stderr.docutils.container {
background-color: #fed !important;
}
.note .admonition-title > p, .warning .admonition-title > p {
margin: 0 !important;
font: inherit;
color: inherit;
}
#redirect-banner {
border-bottom: 1px solid #e2e2e2;
}
#redirect-banner > p {
margin: 0.8rem;
text-align: center;
}