From 178a394a79dacbd00a16949ff6134cb7455d13c4 Mon Sep 17 00:00:00 2001 From: Sergiu Waxmann <47978446+sergiuwaxmann@users.noreply.github.com> Date: Thu, 9 Oct 2025 19:17:00 +0300 Subject: [PATCH] YOLO Vision 2025 Shenzhen Docs banner (#22313) Signed-off-by: Glenn Jocher Co-authored-by: Glenn Jocher --- .github/workflows/ci.yml | 4 +++- docs/overrides/main.html | 1 + docs/overrides/stylesheets/style.css | 26 ++++++++++++++++++++++++-- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fc6c16a..54698955 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -305,7 +305,9 @@ jobs: run: uv cache prune --ci GPU: - if: github.repository == 'ultralytics/ultralytics' && (github.event_name != 'workflow_dispatch' || github.event.inputs.gpu == 'true') + # Disabled temporarily due to GPU availability issues + # if: github.repository == 'ultralytics/ultralytics' && (github.event_name != 'workflow_dispatch' || github.event.inputs.gpu == 'true') + if: false timeout-minutes: 60 runs-on: gpu-latest steps: diff --git a/docs/overrides/main.html b/docs/overrides/main.html index 367a3e94..942150ad 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -15,6 +15,7 @@ height="40" alt="Ultralytics YOLO Vision" /> +

Shenzhen

{% endblock %} diff --git a/docs/overrides/stylesheets/style.css b/docs/overrides/stylesheets/style.css index aef2c6f4..b2290736 100644 --- a/docs/overrides/stylesheets/style.css +++ b/docs/overrides/stylesheets/style.css @@ -48,9 +48,9 @@ div.highlight { /* Banner ----------------------------------------------------------------------------------------------------------- */ .md-banner { - background-image: url(https://cdn.prod.website-files.com/680a070c3b99253410dd3dcf/6895c3942e4cf6aab3572420_yv25-banner.avif); + background-image: url(https://cdn.prod.website-files.com/680a070c3b99253410dd3dcf/68e64c5afee71f0eab03fcd3_Banner%20Horizontal%20V2.avif); background-size: cover; - background-position: 62%; + background-position: 22% 0%; background-repeat: no-repeat; } .md-banner__inner { @@ -82,8 +82,27 @@ div.highlight { .banner-wrapper > .banner-content-wrapper > img { height: 40px; } +.banner-wrapper > .banner-content-wrapper > .shenzhen-text { + font-size: 20px; + font-weight: 600; + + color: transparent; + -webkit-text-fill-color: transparent; + background: linear-gradient( + 90deg, + rgba(221, 214, 215, 0.8), + rgba(255, 213, 226, 0.8), + rgba(255, 241, 203, 0.8) + ); + background-size: cover; + background-position: center; + background-clip: text; + -webkit-background-clip: text; +} @media screen and (min-width: 768px) { .md-banner { + height: 68px; + background-position: center; } .banner-wrapper, @@ -97,6 +116,9 @@ div.highlight { gap: 16px; margin: 0 auto; } + .banner-wrapper > .banner-content-wrapper > .shenzhen-text { + font-size: 28px; + } } /* Banner ----------------------------------------------------------------------------------------------------------- */