From c8e4549b7fbfb631841b527ad96bb291e2b81788 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Sun, 8 Mar 2026 14:08:31 +0300 Subject: [PATCH] [dotnet] Apply selenium theme for docs --- dotnet/docs/docfx.json | 3 ++- dotnet/docs/index.md | 4 ++-- dotnet/docs/templates/selenium/public/main.css | 8 ++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 dotnet/docs/templates/selenium/public/main.css diff --git a/dotnet/docs/docfx.json b/dotnet/docs/docfx.json index 1ae440cb281a2..ab9897e1ab965 100644 --- a/dotnet/docs/docfx.json +++ b/dotnet/docs/docfx.json @@ -48,7 +48,8 @@ "output": "../../build/docs/api/dotnet", "template": [ "default", - "modern" + "modern", + "templates/selenium" ], "globalMetadata": { "_appName": "Selenium .NET API", diff --git a/dotnet/docs/index.md b/dotnet/docs/index.md index 36682c63021de..3a78bc472ce55 100644 --- a/dotnet/docs/index.md +++ b/dotnet/docs/index.md @@ -5,5 +5,5 @@ layout: landingPage # Welcome to the Selenium .NET API Docs ## Modules -- [Selenium.WebDriver](webdriver/OpenQA.Selenium.html) -- [Selenium.Support](support/OpenQA.Selenium.Support.html) \ No newline at end of file +- [Selenium.WebDriver](webdriver/OpenQA.Selenium.yml) +- [Selenium.Support](support/OpenQA.Selenium.Support.yml) diff --git a/dotnet/docs/templates/selenium/public/main.css b/dotnet/docs/templates/selenium/public/main.css new file mode 100644 index 0000000000000..6daec3186d6b5 --- /dev/null +++ b/dotnet/docs/templates/selenium/public/main.css @@ -0,0 +1,8 @@ +:root { + --bs-primary: #43b02a; + --bs-primary-rgb: 67, 176, 42; + --bs-link-color: #43b02a; + --bs-link-color-rgb: 67, 176, 42; + --bs-link-hover-color: #369022; + --bs-link-hover-color-rgb: 54, 144, 34; +}