Add deprecation banner to fig.sh

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-02-25 16:40:18 +00:00
commit d98ba29b62
2 changed files with 14 additions and 1 deletions

View file

@ -11,6 +11,10 @@
</head>
<body>
<div class="container">
<nav class="deprecation">
<p>Fig has been replaced by Docker Compose, and is now deprecated. The new documentation is on the <a href="http://docs.docker.com/compose{% if page.url =="/index.html" %}/{% else %}{{ page.url | remove:'.html' }}{% endif %}">Docker website</a>.</p>
</nav>
<div class="logo mobile-logo">
<a href="index.html">
<img src="img/logo.png">

View file

@ -56,6 +56,15 @@ img {
margin-left: 0;
}
.deprecation {
background: #EDCAAC;
padding: 1px 30px;
}
.deprecation, .deprecation a {
color: #a41211;
}
.logo {
font-family: 'Lilita One', sans-serif;
font-size: 64px;
@ -126,7 +135,7 @@ img {
border-right: 1px solid #ccc;
}
.content {
.deprecation, .content {
margin-left: 320px;
max-width: 650px;
}