-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathstyle.css
More file actions
132 lines (115 loc) · 3.31 KB
/
Copy pathstyle.css
File metadata and controls
132 lines (115 loc) · 3.31 KB
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
/* NVIDIA brand green */
.nvidia-green {
color: #76B900;
}
/* Style "NeMo" in the site name with green */
.md-header__topic:first-child .md-ellipsis {
visibility: hidden;
position: relative;
}
.md-header__topic:first-child .md-ellipsis::after {
content: "NeMo Anonymizer";
visibility: visible;
position: absolute;
left: 0;
top: 0;
background: linear-gradient(90deg, #76B900 0%, #76B900 4.8ch, currentColor 4.8ch, currentColor 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Prevent selection of prompt and output markers */
.highlight .gp,
.highlight .go {
user-select: none;
}
/* Hide the secondary header topic (page title on scroll) */
.md-header__topic:nth-child(2) {
display: none;
}
/* Reduce space between logo and site name */
.md-header__button.md-logo {
margin-right: -1rem;
}
/* NVIDIA green header logo */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
fill: #76B900;
color: #76B900;
}
/* Remove background from Jupyter notebook outputs */
.jp-RenderedText pre,
.jp-OutputArea-output pre,
.output_stderr,
.output_stdout,
.output_stream,
div.output_area pre,
div.output_subarea pre,
.jupyter-wrapper .output_stream,
.jupyter-wrapper .output_stdout,
.jupyter-wrapper .output_stderr,
.jp-RenderedText[data-mime-type="application/vnd.jupyter.stderr"],
.jp-RenderedText[data-mime-type="application/vnd.jupyter.stderr"] pre,
.jp-OutputArea-output[data-mime-type="application/vnd.jupyter.stderr"],
.jp-OutputArea-output[data-mime-type="application/vnd.jupyter.stderr"] pre {
background-color: transparent !important;
}
/* Override stderr-specific styling */
.highlight .err {
background-color: transparent !important;
border: none !important;
}
/* Make notebook cells grow with window size */
.jp-Cell,
.jupyter-wrapper .cell {
max-width: 100% !important;
}
/* NVIDIA green for card grid header links */
.grid.cards a strong {
color: #76B900;
}
/* Headers in NVIDIA green */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4 {
color: #76B900;
}
/* Code block background in light mode */
[data-md-color-scheme="default"] .highlight {
background-color: #f5f5f5;
border-radius: 0.3rem;
}
/* NVIDIA green accent for links and highlights */
:root {
--md-primary-fg-color: #76b900;
--md-primary-fg-color--light: #8fcf00;
--md-primary-fg-color--dark: #5a8f00;
--md-accent-fg-color: #76b900;
}
[data-md-color-scheme="slate"] {
--md-primary-fg-color: #76b900;
--md-primary-fg-color--light: #8fcf00;
--md-primary-fg-color--dark: #5a8f00;
--md-accent-fg-color: #76b900;
}
/* Allow Mermaid diagrams to render at natural width with horizontal scroll
when the diagram is wider than the content column. Pairs with
`useMaxWidth: false` in the diagram's init directive. */
.md-typeset .mermaid {
overflow-x: auto;
max-width: 100%;
text-align: center;
}
.md-typeset .mermaid svg {
max-width: none !important;
height: auto !important;
}
/* Keep output column identifiers intact in evaluation tables. */
.md-typeset .output-columns-table th:first-child,
.md-typeset .output-columns-table td:first-child,
.md-typeset .output-columns-table td:first-child code {
white-space: nowrap;
overflow-wrap: normal;
word-break: normal;
}