Lorem Ipsum
fIn in tyrannorum atque neque diffluentes fides quis habent atque est
Line 157: | Line 157: | ||
} | } | ||
− | . | + | /*fixe la barre du haut*/ |
− | + | /*.navi { | |
− | + | width:70%; | |
− | + | opacity: 1; | |
− | + | position:fixed; | |
− | } | + | z-index: 100; |
+ | margin: auto; | ||
+ | }*/ | ||
− | + | /*style des onglets*/ | |
− | + | .navi ul { | |
− | } | + | text-transform: uppercase; |
+ | font-family: 'Calibri'; | ||
+ | font-size: 110%; | ||
+ | margin: 0px; | ||
+ | animation : ani 2s ; | ||
+ | box-shadow: 0px -10px 0px inset #901717; | ||
+ | } | ||
− | + | .navi li { | |
− | + | list-style: none; | |
− | } | + | } |
+ | .navi li a { | ||
+ | color: #CCC0C0; | ||
+ | vertical-align:middle; | ||
+ | padding-top:20px; | ||
+ | |||
+ | margin-bottom:0px;} | ||
+ | .navi { | ||
+ | animation: ani 2s;} | ||
− | + | /*rétablir la hauteur du menu, à cause d'un conflit enfant/parent */ | |
− | + | .navi > ul::after { | |
− | + | content: ""; | |
− | } | + | display:block; /*table*/ |
+ | clear:both; | ||
+ | } | ||
− | + | /*position des onglets*/ | |
− | + | .navi > ul > li { | |
− | + | float: left; | |
− | + | position: relative; | |
− | + | } | |
− | + | ||
− | + | ||
− | } | + | |
− | + | /*style des liens*/ | |
− | + | .navi > ul > li > a { | |
− | + | padding: 5px 40px; /*espacement entre les onglets du menu*/ | |
− | + | color:#CCC0C0; | |
− | + | text-decoration: none; | |
− | } | + | display: inline-block; |
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | /*ne pas afficher les sous-menus */ | ||
+ | .submenu { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .navi li:hover .submenu { | ||
+ | display: inline-block; | ||
+ | top:100%; | ||
+ | left: 0px; | ||
+ | padding:0px; | ||
+ | position: absolute; | ||
+ | z-index: 1000; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | .navi a { | ||
+ | display: inline-block; | ||
+ | text-decoration: none; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | /* .navi > ul > li:hover a | ||
+ | { *//*pour pallier au problème de la bordure qui descend quand on passe la souris*//* | ||
+ | text-decoration: none; | ||
+ | color : #3498db; | ||
+ | padding: 2px 40px 5px 40px; | ||
+ | background-color: #ecf0f1;*/ | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | .submenu li { /*pour décrire le style du sous-menu */ | ||
+ | border-bottom: 1px solid #3498db; | ||
+ | } | ||
+ | |||
+ | .submenu li a { /*pour changer le style des liens*/ | ||
+ | padding: 15px 30px; | ||
+ | color: #3498db; | ||
+ | width: 200px; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | |||
+ | .submenu { | ||
+ | background-color: #3498db; | ||
+ | } | ||
+ | |||
+ | .submenu li:hover { | ||
+ | background-color: #3498db; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes anim { | ||
+ | 0% {opacity:0;} | ||
+ | 100% {opacity:0.8;} | ||
+ | } | ||
+ | @keyframes ani{ | ||
+ | 0% {opacity:0;} | ||
+ | 100% {opacity:1;} | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#accroche { | #accroche { | ||
Line 438: | Line 511: | ||
<body> | <body> | ||
− | < | + | <div class="navi"> |
− | < | + | <nav width="90%"> |
− | <li><a href=" | + | <ul> |
− | + | <li class="coche"> | |
− | + | <a href="https://2018.igem.org/Team:Grenoble-Alpes">HOME</a> | |
− | + | </li> | |
− | + | <li> | |
− | + | <a href="https://2018.igem.org/Team:Grenoble-Alpes/team">TEAM</a> | |
− | + | </li> | |
+ | <li> | ||
+ | <a href="https://2018.igem.org/Team:Grenoble-Alpes/project">PROJECT</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="humanpractices.html">HUMAN PRACTICES</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="entrepreneurship.html">ENTREPRENEURSHIP</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="ressources.html">RESSOURCES</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | |||
</nav> | </nav> | ||
+ | </div> | ||
<section class="sable flex"> <!-- actus --> | <section class="sable flex"> <!-- actus --> |
Template loop detected: Template:Grenoble-Alpes
fIn in tyrannorum atque neque diffluentes fides quis habent atque est
fIn in tyrannorum atque neque diffluentes fides quis habent atque est
fIn in tyrannorum atque neque diffluentes fides quis habent atque est