/*
 * SPDX-FileCopyrightText: Copyright (c) 2023-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: Apache-2.0
 */
@import url("theme.css");
@import url("../pygments.css");

iframe {
	aspect-ratio: 16 / 9;
	height: 100%;
	width: 100%;
}

html { font-size: 100%; }


.sidebar-brand-text {
    text-align: center;
    margin: 0 0;
}


/* Use our green for literals (it's very similar to the original color) */
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
    color: #76b900 !important;
    border-style: none;
}

/* Change link colors (except for the menu) */

a {
    color: #76b900;
}

a:hover {
    color: #76b900;
}


a:visited {
    color: #76b900;
}


code.literal {
    color: #76b900;
    font-family: monospace;
    font-size: var(--font-size-normal);
}

/* External resource icons (GitHub, arXiv) rendered under the sidebar brand */
.sidebar-external-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0.25rem 0 1rem 0;
    padding: 0;
}

.sidebar-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    color: var(--color-sidebar-link-text);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.sidebar-external-link:hover,
.sidebar-external-link:focus {
    color: var(--color-brand-primary);
    background: var(--color-sidebar-item-background--hover);
    text-decoration: none;
}

.sidebar-external-link-icon {
    width: 1.25rem;
    height: 1.25rem;
}

