1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +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>
</div>
</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>

View File

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