1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
| .logo {
float: left;
width: 20%;
margin-top : -20px;
margin-left : 10px;
position:absolute;
}
#menutop nav .navbar-nav a {
display: block;
color: #fff;
text-shadow: 0 0 2px #666;
font-weight: 200;
padding: 10px 10px 10px 0;
font-size: 1.4em;
font-family: 'Roboto', Arial, sans-serif;
}
#menutop nav .navbar-nav a:hover {
color: #000;
text-shadow: 0 0 2px #ccc;
}
/* ------------ */
/* navbar-toggler */
#menutop .navbar-toggler {
background: rgba(150,150,150,0.5); /* GRIS */
}
#menutop .navbar-toggler:hover {
background: #66ccff; /* BLEU clair */
}
/* ------------ */
/* Transitions and class for reduced height */
#menutop,
#menutop h1,
#menutop nav .navbar-nav,
#menutop nav .navbar-nav a,
#menutop.menu-shrink {
-webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s;
}
/* ------------ */
/* menu-shrink */
#menutop.menu-shrink {
height: 70px;
background-color: rgba(255,255,255,0.5);}
#menutop.menu-shrink:hover {
background-color: rgba(255,255,255,0.5); /* BLANC */
}
#menutop.menu-shrink h1 {
letter-spacing: -6px;
font-size: 3em;
line-height: 0.5em;
}
/* ------------ */
/* Media Queries */
@media screen and (max-width: 991px) {
#menutop h1 {
line-height: 30px;
text-align: left;
}
#menutop nav a {
line-height: 80px;
text-align: left;
}
#menutop nav a {
margin-bottom: 0;
margin-top: 0;
}
#menutop.menu-shrink nav a {
line-height: 0;
}
#menutop.menu-shrink nav a {
font-size: 1em;
}
}
/* ------------ */
@media screen and (max-width: 575px) {
#menutop nav a {
font-size: 1em;
line-height: 20px;}
#menutop.menu-shrink nav a {
line-height: 20px;}
#menutop h1 {
line-height:120px;
text-align: left;
font-size: 30vw;
}
} |
Partager