Skip to content

Commit

Permalink
Black Lives Matter
Browse files Browse the repository at this point in the history
Inclusive is better than exclusive: this is a core principal of
Kubernetes.

There is no community when people are dehumanized, marginalized,
threatened, and made to feel unwelcome, and without community,
there is no Kubernetes, there is no KubeBuilder.

---

Verbiage and general design taken from the main Kubernetes website
(kubernetes/website#21505).
  • Loading branch information
DirectXMan12 committed Jun 5, 2020
1 parent 6e0d3d4 commit 5ae5d35
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
27 changes: 27 additions & 0 deletions docs/book/theme/css/custom.css
Original file line number Diff line number Diff line change
@@ -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;
}
7 changes: 7 additions & 0 deletions docs/book/theme/header.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<header id="notice-bar">
<h2>Black lives matter.</h2>
<p>We stand in solidarity with the Black community.</p>
<p>Racism is unacceptable.</p>
<p>It conflicts with <a href="https://git.k8s.io/community/values.md">the core values of the Kubernetes project</a> and our community does not tolerate it.</p>
</p>
</header>
3 changes: 2 additions & 1 deletion docs/book/theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
<div id="page-wrapper" class="page-wrapper">

<div class="page">
{{> header}}
<div id="menu-bar" class="menu-bar">
<div id="menu-bar-sticky-container">
<div class="left-buttons">
Expand Down Expand Up @@ -136,6 +135,8 @@
</div>
</div>

{{> header}}

{{#if search_enabled}}
<div id="search-wrapper" class="hidden">
<form id="searchbar-outer" class="searchbar-outer">
Expand Down

0 comments on commit 5ae5d35

Please sign in to comment.