Merge branch 'bandeau'

This commit is contained in:
Flavien Haas 2019-05-22 16:49:27 +02:00
commit 0ea54d359d
2 changed files with 43 additions and 34 deletions

View File

@ -1,45 +1,55 @@
#menuDiv{
width: 100%;
display: block;
#menuDiv {
width: 100%;
display: block;
}
#menuDiv a{
font-family: Ubuntu,Helvetica,sans-serif;
font-size: 1em;
height:20%;
#menuDiv a {
font-family: Ubuntu, Helvetica, sans-serif;
font-size: 1em;
height: 20%;
}
#menu {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
background-color: rgb(65, 154, 28);
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
background-color: rgb(35, 35, 35);
}
#logo{
height: 70%;
margin-left: 1%;
#logo {
width: 50%;
height: auto;
}
#divFlex{
display: flex;
flex-wrap: nowrap;
width: 10%;
min-width: 5em;
padding: 0;
text-align: center;
align-items: center;
}
.menuItem {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
color: white;
width: 9%;
min-width: 5em;
font-weight: bold;
text-decoration: none;
padding: 0.8em;
border-bottom: 4px solid rgb(65, 154, 28);
border-top: 4px solid rgb(65, 154, 28);
font-size: 1.1em;
text-align: center;
display: flex;
flex-wrap: nowrap;
justify-content: center;
color: white;
width: 10%;
min-width: 5em;
font-weight: bold;
text-decoration: none;
padding: 0.8em;
border-bottom: 4px solid rgb(35, 35, 35);
border-top: 4px solid rgb(35, 35, 35);
font-size: 1.1em;
text-align: center;
align-items: baseline;
}
.menuItem:hover{
cursor: pointer;
border-bottom: 4px solid rgb(23, 23, 23);
.menuItem:hover {
border-bottom: 4px solid rgb(65, 154, 28);
}

View File

@ -6,11 +6,10 @@ if (file_exists("./inscription.php")) {
?>
<div id="menuDiv">
<nav id="menu">
<a href="../tableauBord/tableauBord.php"> <img src="../ressources/logo.png" alt="logo Upssi'Covoit" id="logo"/> </a>
<div id="divFlex"><div id="divlogo"><img src="../ressources/logo.png" alt="logo Upssi'Covoit" id="logo"/></div></div>
<a class="menuItem" href="<?php echo $path ; ?>../tableauBord/tableauBord.php">Tableau de bord</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Trajets publiés</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Trajets réservés</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Messagerie</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Avis reçus</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Avis laissés</a>
<a class="menuItem" href="<?php echo $path ; ?>../profil/profil.php">Profil</a>