mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
parent
96588fb85d
commit
9d38fd0eef
2 changed files with 28 additions and 0 deletions
1
docs/theme/mkdocs/base.html
vendored
1
docs/theme/mkdocs/base.html
vendored
|
@ -48,6 +48,7 @@
|
||||||
<div class="col-sm-8" role="main">
|
<div class="col-sm-8" role="main">
|
||||||
{% include "breadcrumbs.html" %}
|
{% include "breadcrumbs.html" %}
|
||||||
<main id="content" role="main">
|
<main id="content" role="main">
|
||||||
|
{% include "beta_warning.html" %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
27
docs/theme/mkdocs/beta_warning.html
vendored
Normal file
27
docs/theme/mkdocs/beta_warning.html
vendored
Normal 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>
|
Loading…
Add table
Reference in a new issue