Skip to content

Commit

Permalink
Merge pull request #1670 from BenTheElder/blm
Browse files Browse the repository at this point in the history
add notice from kubernetes.io to site
  • Loading branch information
BenTheElder authored Jun 17, 2020
2 parents 87c6ad4 + e9677bf commit 76a04a3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
29 changes: 29 additions & 0 deletions site/assets/css/inline.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,35 @@ body {
vertical-align: middle;
}

#noticebar{
padding: 2em;
}
#noticebar>* {
max-width: 50em;
margin-left: auto;
margin-right: auto;
margin-block-end: 0;
margin-block-start: 0;
}

#noticebar.black {
color: white;
background: black;
}
#noticebar.black a {
color: white;
}
#navbar.black {
color: white;
background: black;
}
#navbar.black>#sidebar-toggle {
color: white;
}
#navbar.black>#github {
filter: invert(1);
}

#sidebar {
height: 100%;
position: fixed;
Expand Down
9 changes: 8 additions & 1 deletion site/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<div id="navbar">
<div id="navbar" class="black">
<span id="sidebar-toggle" onclick="toggleSidebar()">&#9776;</span><span id="navbar-title"><a href="{{.Site.BaseURL}}">kind</a></span><span id="github"><a href="https://github.com/kubernetes-sigs/kind/"><img alt="github" title="github" src="{{ "third_party/GitHub-Mark-120px-plus.png" | relURL }}"></a></span>
</div>
<div id="noticebar" class="black">
<div><h2>Black lives matter.</h2></div>
<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>
</div>

0 comments on commit 76a04a3

Please sign in to comment.