1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

add note about documentation being out of sync

This commit is contained in:
Arve Seljebu 2019-06-22 15:00:00 +02:00
parent ad45f9e95a
commit ad78d35830
2 changed files with 14 additions and 4 deletions

View File

@ -54,4 +54,8 @@
</ul> </ul>
</div> </div>
</nav> </nav>
<div id="heads-up" class="alert alert-info" role="alert">
Looking for version 1.0 documentation? This site is currently out of sync, please read the
<a href="https://docs.rs/actix-web/1.0.2/actix_web/" class="alert-link">documentation at docs.rs</a>.
</div>
</header> </header>

View File

@ -599,7 +599,7 @@ h5:hover a {
} }
@media (min-width: 480px) and (max-width: 576px) { @media (min-width: 480px) and (max-width: 576px) {
header .nav { header .nav, #heads-up {
width: 100%; width: 100%;
} }
.hd-lg-down { .hd-lg-down {
@ -607,7 +607,7 @@ h5:hover a {
} }
} }
@media (min-width: 576px) and (max-width: 768px) { @media (min-width: 576px) and (max-width: 768px) {
header .nav { header .nav, #heads-up {
width: 88%; width: 88%;
} }
.hd-lg-down { .hd-lg-down {
@ -615,7 +615,7 @@ h5:hover a {
} }
} }
@media (min-width: 768px) and (max-width: 992px) { @media (min-width: 768px) and (max-width: 992px) {
header .nav { header .nav, #heads-up {
width: 90%; width: 90%;
} }
.hd-lg-down { .hd-lg-down {
@ -624,7 +624,7 @@ h5:hover a {
} }
@media (min-width: 992px) { @media (min-width: 992px) {
header .nav { header .nav, #heads-up {
width: 75%; width: 75%;
} }
.hd-lg-down { .hd-lg-down {
@ -667,3 +667,9 @@ h5:hover a {
width: 77%; width: 77%;
} }
} }
#heads-up {
margin-left: auto;
margin-right: auto;
margin-top: 1rem;
}