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

Merge pull request #92 from arve0/doc-outdated-heads-up

add note about documentation being out of sync
This commit is contained in:
Cameron Dershem 2019-06-28 15:24:50 -04:00 committed by GitHub
commit 577db6383b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View File

@ -54,4 +54,12 @@
</ul>
</div>
</nav>
<div id="heads-up" class="alert alert-info" role="alert">
Looking for actix-web 1.0 docs? This book is currently
<a href="https://github.com/actix/actix-website/pull/90" class="alert-link">out of date</a>.
In the meantime checkout the
<a href="https://docs.rs/actix-web/" class="alert-link">API docs</a>
and the
<a href="https://github.com/actix/examples" class="alert-link">examples repo</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;
}