Sticky menu

This commit is contained in:
Fred 2019-02-07 14:59:05 +01:00 committed by GitHub
parent 104089eb05
commit 8bdb61a914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 7 deletions

View File

@ -326,15 +326,10 @@ header .container {
body > nav {
margin: 0 -10px;
}
/* Items du menu */
/* Barre de navigation fixe quand le menu est en-dehors du site */
#navfixed {
position: fixed;
top:0;
width:100%;
z-index:100;
}
nav a > img {
margin: -4px 0;
vertical-align: middle;
@ -411,6 +406,23 @@ nav a:hover {
}
}
/* Barre de navigation fixe quand le menu est en-dehors du site */
nav #navStickyLogout {
position: fixed !important;
top:0px;
position: -webkit-sticky; /* Safari */
position: sticky;
}
nav #navStickyConnected {
position: fixed !important;
top:45px !important;
position: -webkit-sticky; /* Safari */
position: sticky;
}
/* Corps */
section {
padding: 20px;