Merge pull request #1025 from aanand/add-deprecation-notice-to-website

Add deprecation banner to fig.sh
This commit is contained in:
Ben Firshman 2015-02-25 19:22:01 +00:00
commit fa815962cf
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;
}