diff --git a/_resource/.icons/edit_page.png b/_resource/.icons/edit_page.png
deleted file mode 100644
index 96244be3db9..00000000000
Binary files a/_resource/.icons/edit_page.png and /dev/null differ
diff --git a/_resource/.icons/file-document-edit-outline.svg b/_resource/.icons/file-document-edit-outline.svg
deleted file mode 100644
index e4003610d7b..00000000000
--- a/_resource/.icons/file-document-edit-outline.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/_resource/.icons/file-eye-outline.svg b/_resource/.icons/file-eye-outline.svg
deleted file mode 100644
index b36dbf8d12e..00000000000
--- a/_resource/.icons/file-eye-outline.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/css/extra.css b/docs/css/extra.css
index 82fd839c8b4..ddadfc032dd 100644
--- a/docs/css/extra.css
+++ b/docs/css/extra.css
@@ -9,4 +9,42 @@
.md-sidebar__inner {
font-size: 0.65rem; /* Font size */
line-height: 1.6;
-}
\ No newline at end of file
+}
+
+.md-content__button.md-icon {
+ color: #127ae8 !important; /* Example: deep orange */
+}
+
+/* Optional: hover effect */
+.md-content__button.md-icon:hover {
+ color: #439eff !important;
+}
+
+.md-content__button.md-icon svg {
+ width: 34px;
+ height: 34px;
+}
+
+.md-content__button.md-icon[href*="/edit/"] {
+ display: inline-flex; /* make the button a flex container */
+ flex-direction: column; /* stack children vertically */
+ align-items: center; /* center them horizontally */
+ margin-top: -4px;
+}
+
+.md-content__button.md-icon[href*="/edit/"] svg {
+ width: 34px;
+ height: 34px;
+}
+
+.md-content__button.md-icon[href*="/edit/"]::after {
+ content: "Improve this page";
+ margin-top: 2px;
+ font-size: 0.7rem;
+ color: #2C323E;
+ text-align: center;
+ display: block;
+ width: 100%;
+ font-weight: bold;
+}
+
diff --git a/mkdocs-base.yml b/mkdocs-base.yml
index a52cc40be90..dec4e0491e6 100644
--- a/mkdocs-base.yml
+++ b/mkdocs-base.yml
@@ -17,9 +17,6 @@ theme:
font:
text: Roboto
code: Roboto Mono
- icon:
- edit: material/file-edit-outline
- view: material/file-eye-outline
palette:
- media: "(prefers-color-scheme)"
@@ -55,7 +52,7 @@ theme:
- content.tooltips
- content.tabs.link
- content.action.edit
- - content.action.view
+# - content.action.view
- content.code.copy
- content.code.annotate
- toc.follow
diff --git a/mkdocs.yml b/mkdocs.yml
index 03562f09652..deabb34002f 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -26,5 +26,5 @@ extra:
name: This page could be improved
data: 0
note: >-
- Thanks for your feedback! Help us improve by following this feedback form.
+ Thanks for your feedback! Want to improve this page? Click the Improve this page button above to submit a pull request!