Development docs warning for beta-docs.docker.io

Update: Fix alignment issues of the "warning" block.

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

Docker-DCO-1.1-Signed-off-by: O.S.Tezer <ostezer@gmail.com> (github: SvenDowideit)
This commit is contained in:
O.S.Tezer 2014-04-18 00:20:18 +03:00 committed by Sven Dowideit
parent 96588fb85d
commit 9d38fd0eef
2 changed files with 28 additions and 0 deletions

View File

@ -48,6 +48,7 @@
<div class="col-sm-8" role="main">
{% include "breadcrumbs.html" %}
<main id="content" role="main">
{% include "beta_warning.html" %}
{{ content }}
</main>
</div>

27
docs/theme/mkdocs/beta_warning.html vendored Normal file
View File

@ -0,0 +1,27 @@
<style>
.bs-callout {
padding: 20px;
border-left: 3px solid rgb(238, 238, 238);
width: 100% !important;
}
.bs-callout p {
margin-bottom: 0 !important;
}
.bs-callout h4 span {
font-style: italic;
font-weight: bold;
}
.bs-callout-danger {
background-color: rgb(253, 247, 247);
border-color: rgb(217, 83, 79);
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
color: rgb(217, 83, 79);
}
</style>
<div class="bs-callout bs-callout-danger">
<h4>You are looking at the <span>beta</span> docs for the development version of Docker.</h4>
There is a chance of them being different from the prior versions.
</div>