Skip to content

Commit

Permalink
Merge pull request #9393 from mikesplain/blm
Browse files Browse the repository at this point in the history
Add notice from k8s.io to docs site
  • Loading branch information
k8s-ci-robot authored Jun 18, 2020
2 parents 296f657 + a14a555 commit f6e7180
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% extends "base.html" %}

{% block announce %}
<style>

/* Preserve link color */
.md-typeset a,
.md-typeset a:focus,
.md-typeset a:hover {
color: white;
text-decoration: underline;
}

.md-typeset .announce h2 {
display: block;
font-size: 1.5em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: 800;
}


/* Don't wrap name of blog article */
.announce strong {
white-space: nowrap;
}
</style>
<div id="announce">
<div><h2>Black lives matter.</h2></div>
We stand in solidarity with the Black community.<br/>
Racism is unacceptable.<br/>
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>
{% endblock %}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ markdown_extensions:
permalink: ''
theme:
name: material
custom_dir: docs/overrides
features:
- tabs
icon:
Expand Down

0 comments on commit f6e7180

Please sign in to comment.