CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
pytorch

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: pytorch/tutorials
Path: blob/main/_static/css/pytorch_theme.css
Views: 494
1
body {
2
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
3
}
4
5
/* Default header fonts are ugly */
6
h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend, p.caption {
7
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
8
}
9
10
/* Use white for docs background */
11
.wy-side-nav-search {
12
background-color: #fff;
13
}
14
15
.wy-nav-content-wrap, .wy-menu li.current > a {
16
background-color: #fff;
17
}
18
19
@media screen and (min-width: 1400px) {
20
.wy-nav-content-wrap {
21
background-color: rgba(0, 0, 0, 0.0470588);
22
}
23
24
.wy-nav-content {
25
background-color: #fff;
26
}
27
}
28
29
/* Fixes for mobile */
30
.wy-nav-top {
31
background-color: #fff;
32
background-image: url('../img/pytorch-logo-dark.svg');
33
background-repeat: no-repeat;
34
background-position: center;
35
padding: 0;
36
margin: 0.4045em 0.809em;
37
color: #333;
38
}
39
40
.wy-nav-top > a {
41
display: none;
42
}
43
44
@media screen and (max-width: 768px) {
45
.wy-side-nav-search>a img.logo {
46
height: 60px;
47
}
48
}
49
50
/* This is needed to ensure that logo above search scales properly */
51
.wy-side-nav-search a {
52
display: block;
53
}
54
55
/* This ensures that multiple constructors will remain in separate lines. */
56
.rst-content dl:not(.docutils) dt {
57
display: table;
58
}
59
60
/* Use our red for literals (it's very similar to the original color) */
61
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
62
color: #F05732;
63
}
64
65
.rst-content tt.xref, a .rst-content tt, .rst-content tt.xref,
66
.rst-content code.xref, a .rst-content tt, a .rst-content code {
67
color: #404040;
68
}
69
70
/* Change link colors (except for the menu) */
71
72
a {
73
color: #F05732;
74
}
75
76
a:hover {
77
color: #F05732;
78
}
79
80
81
a:visited {
82
color: #D44D2C;
83
}
84
85
.wy-menu a {
86
color: #b3b3b3;
87
}
88
89
.wy-menu a:hover {
90
color: #b3b3b3;
91
}
92
93
a.icon.icon-home {
94
color: #D44D2C;
95
}
96
97
.version{
98
color: #D44D2C !important;
99
}
100
101
/* Default footer text is quite big */
102
footer {
103
font-size: 80%;
104
}
105
106
footer .rst-footer-buttons {
107
font-size: 125%; /* revert footer settings - 1/80% = 125% */
108
}
109
110
footer p {
111
font-size: 100%;
112
}
113
114
/* For hidden headers that appear in TOC tree */
115
/* see https://stackoverflow.com/a/32363545/3343043 */
116
.rst-content .hidden-section {
117
display: none;
118
}
119
120
nav .hidden-section {
121
display: inherit;
122
}
123
124
/* Make code blocks have a background */
125
.codeblock,pre.literal-block,.rst-content .literal-block,.rst-content pre.literal-block,div[class^='highlight'] {
126
background: rgba(0, 0, 0, 0.0470588);
127
}
128
129