This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new bcdf9d175f fix-docs-watermark-visibility (#1379)
bcdf9d175f is described below
commit bcdf9d175f287a966eda900d6c46b1e1de276738
Author: Navjot Maan <[email protected]>
AuthorDate: Sat Jan 10 22:14:15 2026 +0530
fix-docs-watermark-visibility (#1379)
---
.github/scripts/add_watermark.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/scripts/add_watermark.py b/.github/scripts/add_watermark.py
index a841a408b2..6169ec0b48 100755
--- a/.github/scripts/add_watermark.py
+++ b/.github/scripts/add_watermark.py
@@ -32,11 +32,12 @@ from rich.console import Console
console = Console(width=200, color_system="standard")
CSS_TO_ADD = """
- .td-main {
+ .td-main, .roadmap {
position: relative; /* Ensures the pseudo-element is positioned relative
to the main content */
}
- .td-main::before {
+ .td-main::before,
+ .roadmap::before {
content: "";
position: absolute;
top: 0;
@@ -51,9 +52,13 @@ CSS_TO_ADD = """
/* Dark mode support - increases watermark visibility */
[data-theme="dark"] .td-main::before,
+ [data-theme="dark"] .roadmap::before,
[data-bs-theme="dark"] .td-main::before,
+ [data-bs-theme="dark"] .roadmap::before,
.dark .td-main::before,
+ .dark .roadmap::before,
.dark-mode .td-main::before {
+ .dark-mode .roadmap::before {
opacity: 0.2; /* Higher opacity for dark mode visibility */
filter: invert(1) brightness(2); /* Inverts colors for dark background */
z-index: 1;