diff --git a/docs/book/theme/css/custom.css b/docs/book/theme/css/custom.css index 16e3b210e95..46db6fe2d18 100644 --- a/docs/book/theme/css/custom.css +++ b/docs/book/theme/css/custom.css @@ -1,3 +1,30 @@ .menu-title img { vertical-align: bottom; } + +#notice-bar { + background: var(--bg); + padding: 1em; + margin-left: calc(-1 * var(--page-padding)); + margin-right: calc(-1 * var(--page-padding)); + margin-bottom: 1em; + + border-bottom: 1px solid var(--table-border-color); + box-shadow: 0 1px 5px 0 var(--table-border-color); +} + +#notice-bar * { + color: var(--fg); +} + +#notice-bar a { + text-decoration: none; +} + +#notice-bar a:not(.header) { + color: var(--links); +} + +#notice-bar h2 { + margin-top: 0; +} \ No newline at end of file diff --git a/docs/book/theme/header.hbs b/docs/book/theme/header.hbs new file mode 100644 index 00000000000..0a6890c5573 --- /dev/null +++ b/docs/book/theme/header.hbs @@ -0,0 +1,3 @@ +
+

Viewing legacy documentation for Kubebuilder, check out the latest documentation instead.

+
\ No newline at end of file