File size: 4,176 Bytes
d6b3397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/*
 * For reference: https://pydata-sphinx-theme.readthedocs.io/en/v0.9.0/user_guide/customizing.html
 * For colors: https://clrs.cc/
 */

/* anything related to the light theme */
html[data-theme="light"] {
    --pst-color-primary: #76B900;
    --pst-color-secondary: #5b8e03;
    --pst-color-secondary-highlight: #5b8e03;
    --pst-color-inline-code-links: #76B900;
    --pst-color-info: var(--pst-color-primary);
    --pst-color-info-highlight: var(--pst-color-primary);
    --pst-color-info-bg: #daedb9;
    --pst-color-attention: #ffc107;
    --pst-color-text-base: #323232;
    --pst-color-text-muted: #646464;
    --pst-color-shadow: #d8d8d8;
    --pst-color-border: #c9c9c9;
    --pst-color-inline-code: #76B900;
    --pst-color-target: #fbe54e;
    --pst-color-background: #fff;
    --pst-color-on-background: #fff;
    --pst-color-surface: #f5f5f5;
    --pst-color-on-surface: #e1e1e1;
    --pst-color-link: var(--pst-color-primary);
    --pst-color-link-hover: #789841;
    --pst-color-table-row-hover-bg: #daedb9;
    --pst-color-accent: var(--pst-color-primary);
}

/* anything related to the dark theme */
html[data-theme="dark"] {
    --pst-color-primary: #76B900;
    --pst-color-secondary: #c2f26f;
    --pst-color-secondary-highlight: #c2f26f;
    --pst-color-inline-code-links: #b6e664;
    --pst-color-info: var(--pst-color-primary);
    --pst-color-info-highlight: var(--pst-color-primary);
    --pst-color-info-bg: #3a550b;
    --pst-color-attention: #dca90f;
    --pst-color-text-base: #cecece;
    --pst-color-text-muted: #a6a6a6;
    --pst-color-shadow: #212121;
    --pst-color-border: silver;
    --pst-color-inline-code: #76B900;
    --pst-color-target: #472700;
    --pst-color-background: #121212;
    --pst-color-on-background: #1e1e1e;
    --pst-color-surface: #212121;
    --pst-color-on-surface: #373737;
    --pst-color-link: var(--pst-color-primary);
    --pst-color-link-hover: #aee354;
    --pst-color-table-row-hover-bg: #3a550b;
    --pst-color-accent: var(--pst-color-primary);
}

a {
    text-decoration: none !important;
}

/* for the announcement link */
.bd-header-announcement a,
.bd-header-version-warning a {
    color: #7FDBFF;
}

/* for the search box in the navbar */
.form-control {
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
}

/* reduce padding for logo */
.navbar-brand {
    padding-top: 0.0rem !important;
    padding-bottom: 0.0rem !important;
}

.navbar-icon-links {
    padding-top: 0.0rem !important;
    padding-bottom: 0.0rem !important;
}

/* showcase task tables */

.showcase-table {
    min-width: 75%;
}

.showcase-table td {
    border-color: gray;
    border-style: solid;
    border-width: 1px;
}

.showcase-table p {
    margin: 0;
    padding: 0;
}

.showcase-table .rot90 {
    transform: rotate(-90deg);
    margin: 0;
    padding: 0;
}

.showcase-table .center {
    text-align: center;
    vertical-align: middle;
}

.square-crop-figure img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    width: min(100%, 480px);
}

.nurec-gif-grid,
.nurec-gif-grid td {
    border: none;
}

.nurec-gif-grid td {
    vertical-align: top;
}

.nurec-gif-grid figure {
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
}

figure.nurec-gif-cover img,
figure.nurec-gif-contain img {
    aspect-ratio: 16 / 9;
    display: block;
    object-position: center;
    width: 100%;
}

figure.nurec-gif-cover img {
    object-fit: cover;
}

figure.nurec-gif-contain img {
    object-fit: contain;
}

.nurec-gif-grid figcaption {
    font-family: "NVIDIA Sans", "Inter", "Segoe UI", sans-serif;
    font-size: 0.86rem;
    line-height: 1.35;
}

.nurec-gif-grid figcaption p {
    margin-bottom: 0.15rem;
}

.nurec-gif-grid figcaption .line-block {
    margin-top: 0;
}

.nurec-gif-grid-single figcaption {
    margin-left: 50%;
    max-width: calc(100vw - 2rem);
    transform: translateX(-50%);
    width: max-content;
}

.nurec-gif-grid-single figcaption .line-block .line:nth-child(2) {
    white-space: nowrap;
}

/* Keep sphinx-copybutton visible on code blocks (not only on hover). */
button.copybtn {
    opacity: 1;
}