.bd-main .bd-content .bd-article-container { max-width: 78em; /* default is 60em */ } .bd-page-width { max-width: 96rem; /* default is 88rem */ } /* Light mode (default) */ .bd-header-announcement { background-color: #DAEBF1 !important; /* Your chosen background */ color: #002B5C !important; /* A strong contrasting text colour */ border-left: 5px solid #007CBA !important; /* A refined accent colour */ } .bd-header-announcement__content { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; padding: 0.75rem 1rem; font-size: 1.05rem; font-weight: 650; line-height: 1.25; } .bd-header-announcement__content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; } .bd-header-announcement__content a.moabb-announcement-cta { background-color: #007CBA; color: #ffffff !important; text-decoration: none; padding: 0.35rem 0.85rem; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 22px rgba(0, 124, 186, 0.25); transition: background-color 200ms ease, transform 200ms ease; } .bd-header-announcement__content a.moabb-announcement-cta:hover { background-color: #005a8c; transform: translateY(-1px); } .moabb-announcement-secondary { font-weight: 550; } /* Dark mode (theme toggle) */ html[data-theme="dark"] .bd-header-announcement { background-color: #002B5C !important; color: #DAEBF1 !important; border-left: 5px solid #007CBA !important; } /* Dark mode (OS preference fallback) */ @media (prefers-color-scheme: dark) { .bd-header-announcement { background-color: #002B5C !important; color: #DAEBF1 !important; border-left: 5px solid #007CBA !important; } } @media (max-width: 768px) { .bd-header-announcement__content { font-size: 0.98rem; padding: 0.6rem 0.75rem; } } /* ******************************************************* MOABB Hero Section */ .moabb-hero { padding: 0; background: linear-gradient( 180deg, var(--pst-color-surface) 0%, var(--pst-color-background) 65% ); border-bottom: 1px solid var(--pst-color-border); } .moabb-hero-logo { width: clamp(96px, 20vw, 300px); height: auto; } .moabb-hero-title { font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 600; letter-spacing: 0.02em; line-height: 1.0; } .moabb-hero-subtitle { font-size: 1.15rem; font-weight: 600; color: var(--pst-color-text-muted); line-height: 1.0; } .moabb-tagline { color: var(--pst-color-text-muted); font-weight: 350; max-width: 62ch; line-height: 1.6; font-size: 1.15rem; } .moabb-hero-highlights { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 0.5rem; max-width: 62ch; } .moabb-hero-highlights li { display: flex; gap: 0.55rem; align-items: flex-start; line-height: 1.35; color: var(--pst-color-text-base); } .moabb-hero-highlights li::before { content: "✓"; color: var(--pst-color-primary); font-weight: 900; margin-top: 0.05rem; } /* Quick Action Buttons */ .moabb-quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; } .btn-moabb-primary { background-color: #007CBA; color: white !important; border: none; padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 650; text-decoration: none !important; transition: background-color 200ms ease, transform 200ms ease; } .btn-moabb-primary:hover { background-color: #005a8c; transform: translateY(-1px); } .btn-moabb-secondary { background-color: transparent; color: var(--pst-color-text-base) !important; border: 1px solid var(--pst-color-border); padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600; text-decoration: none !important; transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease; } .btn-moabb-secondary:hover { background-color: var(--pst-color-surface); border-color: var(--pst-color-primary); transform: translateY(-1px); } /* Badges Section */ .moabb-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; } .moabb-badges a { text-decoration: none; } .moabb-badges img { height: 22px; } .moabb-gallery-container { margin-bottom: 2rem; } .moabb-hero-visual { border-radius: 16px; overflow: hidden; border: 1px solid var(--pst-color-border); background: var(--pst-color-surface); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10); } html[data-theme="dark"] .moabb-hero-visual { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); } .moabb-hero-visual img { display: block; width: 100%; height: auto; } .moabb-divider { margin: 2rem auto; max-width: 80%; border-top: 1px solid var(--pst-color-border); } /* ****************************************************** Contributors */ .moabb-contributors { margin: 1.25rem 0 0.5rem; } .moabb-contributors img { max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--pst-color-border); background: var(--pst-color-surface); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); } html[data-theme="dark"] .moabb-contributors img { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); } /* ******************************************************* Colab launcher */ .moabb-colab-card { border: 1px solid var(--pst-color-border); } .moabb-colab-card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; padding: 0.95rem 0.9rem; } .moabb-colab-card .sd-btn { width: 100%; max-width: 240px; display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 0.85rem; } .moabb-colab-badge { height: 22px; vertical-align: middle; } /* ******************************************************* homepage carousel */ div.frontpage-gallery { overflow: hidden; height: 250px; justify-content: center; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: box-shadow 300ms ease-out, transform 300ms ease-out; } div.frontpage-gallery:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); transform: translateY(-2px); } div.frontpage-gallery a { text-decoration: none; color: var(--pst-color-text-base); } div.frontpage-gallery img.card-img { transform: scale(1.05); opacity: 0.95; transition: transform 300ms ease-out, opacity 300ms ease-out; } div.frontpage-gallery:hover img.card-img { transform: scale(1.10); opacity: 1.0; } div.frontpage-gallery .fadeout { opacity: 1.0; transition: 200ms linear; } div.frontpage-gallery:hover .fadeout { opacity: 1.0; } .gallery-title { font-size: 1.45rem; font-weight: 800; color: #ffffff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); } .gallery-text { font-size: 1.0rem; color: rgba(255, 255, 255, 0.92); line-height: 1.45; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); } /* affects the homepage gallery tiles */ div.frontpage-gallery.card { border: 1px solid var(--pst-color-border); background-color: var(--pst-color-background); } .card-header { border-bottom-color: var(--pst-color-border); background-color: rgba(0, 0, 0, 0.05); } html[data-theme="dark"] .card-header { background-color: rgba(255, 255, 255, 0.2); } html[data-theme="dark"] div.frontpage-gallery { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } html[data-theme="dark"] div.frontpage-gallery:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); } /* MOABB specific card image styling */ div.frontpage-gallery img.moabb-card { object-fit: cover; width: 100%; height: 100%; } div.frontpage-gallery .card-img-overlay { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient( 180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.70) 100% ); } /* Responsive adjustments */ @media (max-width: 768px) { .moabb-hero-logo { width: 112px; } .moabb-tagline { font-size: 1.05rem; } .btn-moabb-primary, .btn-moabb-secondary { padding: 0.65rem 1.05rem; font-size: 0.95rem; } div.frontpage-gallery { height: 220px; } .gallery-title { font-size: 1.25rem; } .gallery-text { font-size: 0.9rem; } } @media (min-width: 992px) { .moabb-quick-links, .moabb-badges { justify-content: flex-start; } }